pogoplug 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,3 +1,16 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gemspec
3
+ group :development, :test do
4
+ gem "bundler", "~> 1.3"
5
+ gem "jeweler", "~> 1.8.4"
6
+ gem "rake"
7
+ gem "rdoc"
8
+ gem "shoulda"
9
+ gem "simplecov"
10
+ gem "guard"
11
+ gem "guard-bundler"
12
+ gem "guard-test"
13
+ gem "ruby_gntp"
14
+ end
15
+
16
+ gem "httparty", "~> 0.11.0"
@@ -1,9 +1,3 @@
1
- PATH
2
- remote: .
3
- specs:
4
- pogoplug (0.2.0)
5
- pogoplug
6
-
7
1
  GEM
8
2
  remote: http://rubygems.org/
9
3
  specs:
@@ -43,6 +37,9 @@ GEM
43
37
  test-unit (~> 2.2)
44
38
  hashie (2.0.5)
45
39
  highline (1.6.19)
40
+ httparty (0.11.0)
41
+ multi_json (~> 1.0)
42
+ multi_xml (>= 0.5.2)
46
43
  httpauth (0.2.0)
47
44
  i18n (0.6.4)
48
45
  jeweler (1.8.6)
@@ -114,10 +111,10 @@ DEPENDENCIES
114
111
  guard
115
112
  guard-bundler
116
113
  guard-test
114
+ httparty (~> 0.11.0)
117
115
  jeweler (~> 1.8.4)
118
- pogoplug!
119
116
  rake
120
- rdoc (~> 3.12)
117
+ rdoc
121
118
  ruby_gntp
122
119
  shoulda
123
120
  simplecov
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.3.0
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "pogoplug"
8
- s.version = "0.2.0"
8
+ s.version = "0.3.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Travis Truman"]
@@ -58,11 +58,11 @@ Gem::Specification.new do |s|
58
58
  s.specification_version = 3
59
59
 
60
60
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
61
- s.add_runtime_dependency(%q<pogoplug>, [">= 0"])
61
+ s.add_runtime_dependency(%q<httparty>, ["~> 0.11.0"])
62
62
  s.add_development_dependency(%q<bundler>, ["~> 1.3"])
63
63
  s.add_development_dependency(%q<jeweler>, ["~> 1.8.4"])
64
64
  s.add_development_dependency(%q<rake>, [">= 0"])
65
- s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
65
+ s.add_development_dependency(%q<rdoc>, [">= 0"])
66
66
  s.add_development_dependency(%q<shoulda>, [">= 0"])
67
67
  s.add_development_dependency(%q<simplecov>, [">= 0"])
68
68
  s.add_development_dependency(%q<guard>, [">= 0"])
@@ -70,11 +70,11 @@ Gem::Specification.new do |s|
70
70
  s.add_development_dependency(%q<guard-test>, [">= 0"])
71
71
  s.add_development_dependency(%q<ruby_gntp>, [">= 0"])
72
72
  else
73
- s.add_dependency(%q<pogoplug>, [">= 0"])
73
+ s.add_dependency(%q<httparty>, ["~> 0.11.0"])
74
74
  s.add_dependency(%q<bundler>, ["~> 1.3"])
75
75
  s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
76
76
  s.add_dependency(%q<rake>, [">= 0"])
77
- s.add_dependency(%q<rdoc>, ["~> 3.12"])
77
+ s.add_dependency(%q<rdoc>, [">= 0"])
78
78
  s.add_dependency(%q<shoulda>, [">= 0"])
79
79
  s.add_dependency(%q<simplecov>, [">= 0"])
80
80
  s.add_dependency(%q<guard>, [">= 0"])
@@ -83,11 +83,11 @@ Gem::Specification.new do |s|
83
83
  s.add_dependency(%q<ruby_gntp>, [">= 0"])
84
84
  end
85
85
  else
86
- s.add_dependency(%q<pogoplug>, [">= 0"])
86
+ s.add_dependency(%q<httparty>, ["~> 0.11.0"])
87
87
  s.add_dependency(%q<bundler>, ["~> 1.3"])
88
88
  s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
89
89
  s.add_dependency(%q<rake>, [">= 0"])
90
- s.add_dependency(%q<rdoc>, ["~> 3.12"])
90
+ s.add_dependency(%q<rdoc>, [">= 0"])
91
91
  s.add_dependency(%q<shoulda>, [">= 0"])
92
92
  s.add_dependency(%q<simplecov>, [">= 0"])
93
93
  s.add_dependency(%q<guard>, [">= 0"])
@@ -188,7 +188,6 @@ module PogoPlug
188
188
  file_to_download = @fileListing.files.select { |f| f.file? }.first
189
189
  if file_to_download
190
190
  io = @client.download(@device.id, @service, file_to_download)
191
- file = ::File.write(file_to_download.name, io, nil, mode: 'wb')
192
191
  assert_equal(file_to_download.size, io.size, "File should be the same size as the descriptor said it would be")
193
192
  end
194
193
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pogoplug
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -12,21 +12,21 @@ cert_chain: []
12
12
  date: 2013-08-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: pogoplug
15
+ name: httparty
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - ! '>='
19
+ - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: '0'
21
+ version: 0.11.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
- - - ! '>='
27
+ - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: '0'
29
+ version: 0.11.0
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: bundler
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -80,17 +80,17 @@ dependencies:
80
80
  requirement: !ruby/object:Gem::Requirement
81
81
  none: false
82
82
  requirements:
83
- - - ~>
83
+ - - ! '>='
84
84
  - !ruby/object:Gem::Version
85
- version: '3.12'
85
+ version: '0'
86
86
  type: :development
87
87
  prerelease: false
88
88
  version_requirements: !ruby/object:Gem::Requirement
89
89
  none: false
90
90
  requirements:
91
- - - ~>
91
+ - - ! '>='
92
92
  - !ruby/object:Gem::Version
93
- version: '3.12'
93
+ version: '0'
94
94
  - !ruby/object:Gem::Dependency
95
95
  name: shoulda
96
96
  requirement: !ruby/object:Gem::Requirement
@@ -240,7 +240,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
240
240
  version: '0'
241
241
  segments:
242
242
  - 0
243
- hash: -4524288643432962824
243
+ hash: 1778620602148382220
244
244
  required_rubygems_version: !ruby/object:Gem::Requirement
245
245
  none: false
246
246
  requirements: