Skip to content

Commit

Permalink
added peersGettingFromUs and peersSendingToUs to default list keys.
Browse files Browse the repository at this point in the history
  • Loading branch information
m4rkw committed Aug 24, 2015
1 parent 635e5f8 commit adf5910
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Version history
1.0.0 - Initial release, compatible with RPC version 15 (latest as of 18/08/2015)
1.0.1 - Minor bugfix (regex anchor)
1.0.2 - Added a few default list attributes and fixed the name value
1.0.3 - Added peersGettingFromUs and peersSendingToUs to default list keys


Description
Expand Down
3 changes: 2 additions & 1 deletion lib/transmission.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ def initialize(config)
@config = config

@list_attributes = ['id','name','hashString','isFinished','isStalled','leftUntilDone','eta','percentDone','rateDownload',
'status','totalSize','rateDownload','peersConnected','peersFrom','rateUpload','downloadedEver']
'status','totalSize','rateDownload','peersConnected','peersFrom','rateUpload','downloadedEver','peersSendingToUs',
'peersGettingFromUs']
@all_attributes = ['activityDate','addedDate','bandwidthPriority','comment','corruptEver','creator','dateCreated',
'desiredAvailable','doneDate','downloadDir','downloadedEver','downloadLimit','downloadLimited','error',
'errorString','eta','etaIdle','files','fileStats','hashString','haveUnchecked','haveValid','honorsSessionLimits',
Expand Down
4 changes: 2 additions & 2 deletions transmission-ng.gemspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Gem::Specification.new do |s|
s.name = 'transmission-ng'
s.version = '1.0.2'
s.date = '2015-08-19'
s.version = '1.0.3'
s.date = '2015-08-24'
s.summary = "Transmission API gem"
s.description = "A better API interface for the Transmission torrent client"
s.authors = ["m4rkw"]
Expand Down

0 comments on commit adf5910

Please sign in to comment.