cloudapp_api 0.3.3 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml ADDED
@@ -0,0 +1,6 @@
1
+ language: ruby
2
+
3
+ rvm:
4
+ - 2.0.0
5
+ - 1.9.3
6
+ - 1.8.7
data/Gemfile CHANGED
@@ -1,17 +1,17 @@
1
1
  source "http://rubygems.org"
2
2
  # Add dependencies required to use your gem here.
3
- gem "httparty", ">= 0.6.0"
3
+ gem "httparty"
4
4
  gem "mime-types"
5
5
 
6
6
  # Add dependencies to develop your gem here.
7
7
  # Include everything needed to run rake, tests, features, etc.
8
8
  group :development do
9
- gem "rspec", "~> 2.1.0"
9
+ gem "rspec"
10
+ gem 'coveralls', :require => false
10
11
  gem "fakeweb"
11
- gem "yard", "~> 0.6.0"
12
+ gem "yard"
12
13
  gem "bluecloth"
13
- gem "cucumber", ">= 0"
14
- gem "bundler", "~> 1.0.0"
15
- gem "jeweler", "~> 1.5.1"
16
- gem "rcov", ">= 0"
14
+ gem "cucumber"
15
+ gem "bundler"
16
+ gem "jeweler"
17
17
  end
data/Gemfile.lock CHANGED
@@ -1,53 +1,68 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- bluecloth (2.0.9)
5
- builder (3.0.0)
6
- crack (0.1.8)
7
- cucumber (0.10.0)
4
+ bluecloth (2.2.0)
5
+ builder (3.2.2)
6
+ colorize (0.5.8)
7
+ coveralls (0.6.7)
8
+ colorize
9
+ multi_json (~> 1.3)
10
+ rest-client
11
+ simplecov (>= 0.7)
12
+ thor
13
+ cucumber (1.3.2)
8
14
  builder (>= 2.1.2)
9
- diff-lcs (~> 1.1.2)
10
- gherkin (~> 2.3.2)
11
- json (~> 1.4.6)
12
- term-ansicolor (~> 1.0.5)
13
- diff-lcs (1.1.2)
15
+ diff-lcs (>= 1.1.3)
16
+ gherkin (~> 2.12.0)
17
+ multi_json (~> 1.3)
18
+ diff-lcs (1.2.4)
14
19
  fakeweb (1.3.0)
15
- gherkin (2.3.2)
16
- json (~> 1.4.6)
17
- term-ansicolor (~> 1.0.5)
20
+ gherkin (2.12.0)
21
+ multi_json (~> 1.3)
18
22
  git (1.2.5)
19
- httparty (0.6.1)
20
- crack (= 0.1.8)
21
- jeweler (1.5.1)
22
- bundler (~> 1.0.0)
23
+ httparty (0.11.0)
24
+ multi_json (~> 1.0)
25
+ multi_xml (>= 0.5.2)
26
+ jeweler (1.8.4)
27
+ bundler (~> 1.0)
23
28
  git (>= 1.2.5)
24
29
  rake
25
- json (1.4.6)
26
- mime-types (1.16)
27
- rake (0.8.7)
28
- rcov (0.9.9)
29
- rspec (2.1.0)
30
- rspec-core (~> 2.1.0)
31
- rspec-expectations (~> 2.1.0)
32
- rspec-mocks (~> 2.1.0)
33
- rspec-core (2.1.0)
34
- rspec-expectations (2.1.0)
35
- diff-lcs (~> 1.1.2)
36
- rspec-mocks (2.1.0)
37
- term-ansicolor (1.0.5)
38
- yard (0.6.3)
30
+ rdoc
31
+ json (1.8.0)
32
+ mime-types (1.23)
33
+ multi_json (1.7.7)
34
+ multi_xml (0.5.4)
35
+ rake (10.0.4)
36
+ rdoc (4.0.1)
37
+ json (~> 1.4)
38
+ rest-client (1.6.7)
39
+ mime-types (>= 1.16)
40
+ rspec (2.13.0)
41
+ rspec-core (~> 2.13.0)
42
+ rspec-expectations (~> 2.13.0)
43
+ rspec-mocks (~> 2.13.0)
44
+ rspec-core (2.13.1)
45
+ rspec-expectations (2.13.0)
46
+ diff-lcs (>= 1.1.3, < 2.0)
47
+ rspec-mocks (2.13.1)
48
+ simplecov (0.7.1)
49
+ multi_json (~> 1.0)
50
+ simplecov-html (~> 0.7.1)
51
+ simplecov-html (0.7.1)
52
+ thor (0.18.1)
53
+ yard (0.8.6.1)
39
54
 
40
55
  PLATFORMS
41
56
  ruby
42
57
 
43
58
  DEPENDENCIES
44
59
  bluecloth
45
- bundler (~> 1.0.0)
60
+ bundler
61
+ coveralls
46
62
  cucumber
47
63
  fakeweb
48
- httparty (>= 0.6.0)
49
- jeweler (~> 1.5.1)
64
+ httparty
65
+ jeweler
50
66
  mime-types
51
- rcov
52
- rspec (~> 2.1.0)
53
- yard (~> 0.6.0)
67
+ rspec
68
+ yard
data/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CloudApp API
2
2
 
3
+ [![Build Status](https://travis-ci.org/aaronrussell/cloudapp_api.png)](https://travis-ci.org/aaronrussell/cloudapp_api)
4
+ [![Code Climate](https://codeclimate.com/github/aaronrussell/cloudapp_api.png)](https://codeclimate.com/github/aaronrussell/cloudapp_api)
5
+ [![Coverage Status](https://coveralls.io/repos/aaronrussell/cloudapp_api/badge.png?branch=master)](https://coveralls.io/r/aaronrussell/cloudapp_api)
6
+
3
7
  A simple Ruby wrapper for the [CloudApp API](http://support.getcloudapp.com/faqs/developers/api). Uses [HTTParty](http://github.com/jnunemaker/httparty) with a simple ActiveResource-like interface.
4
8
 
5
9
  Two interfaces are provided for interacting with the CloudApp API. The first is a ActiveResource-like interface, directly calling methods on the Drop and Account classes. The second option is to interact through a Client interface.
data/Rakefile CHANGED
@@ -20,9 +20,9 @@ Jeweler::Tasks.new do |gem|
20
20
  gem.authors = ["Aaron Russell"]
21
21
  # Include your dependencies below. Runtime dependencies are required when using your gem,
22
22
  # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
23
- gem.add_runtime_dependency "httparty", ">= 0.6.0"
24
- gem.add_development_dependency "rspec", "~> 2.1.0"
25
- gem.add_development_dependency "yard", "~> 0.6.0"
23
+ gem.add_runtime_dependency "httparty"
24
+ gem.add_development_dependency "rspec"
25
+ gem.add_development_dependency "yard"
26
26
  end
27
27
  Jeweler::RubygemsDotOrgTasks.new
28
28
 
@@ -33,11 +33,6 @@ RSpec::Core::RakeTask.new(:spec) do |spec|
33
33
  spec.verbose
34
34
  end
35
35
 
36
- RSpec::Core::RakeTask.new(:rcov) do |spec|
37
- spec.pattern = 'spec/**/*_spec.rb'
38
- spec.rcov = true
39
- end
40
-
41
36
  require 'cucumber/rake/task'
42
37
  Cucumber::Rake::Task.new(:features)
43
38
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.3
1
+ 0.4.0
data/cloudapp_api.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "cloudapp_api"
8
- s.version = "0.3.3"
8
+ s.version = "0.4.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Aaron Russell"]
12
- s.date = "2011-11-09"
12
+ s.date = "2013-06-17"
13
13
  s.description = "A simple Ruby wrapper for the CloudApp API. Uses HTTParty with a simple ActiveResource-like interface."
14
14
  s.email = "aaron@gc4.co.uk"
15
15
  s.extra_rdoc_files = [
@@ -18,6 +18,7 @@ Gem::Specification.new do |s|
18
18
  ]
19
19
  s.files = [
20
20
  ".document",
21
+ ".travis.yml",
21
22
  "Gemfile",
22
23
  "Gemfile.lock",
23
24
  "LICENSE",
@@ -67,66 +68,55 @@ Gem::Specification.new do |s|
67
68
  ]
68
69
  s.homepage = "http://github.com/aaronrussell/cloudapp_api"
69
70
  s.require_paths = ["lib"]
70
- s.rubygems_version = "1.8.10"
71
+ s.rubygems_version = "1.8.25"
71
72
  s.summary = "A simple Ruby wrapper for the CloudApp API. Uses HTTParty with a simple ActiveResource-like interface."
72
- s.test_files = [
73
- "spec/cloudapp_account_spec.rb",
74
- "spec/cloudapp_api_spec.rb",
75
- "spec/cloudapp_client_spec.rb",
76
- "spec/cloudapp_drop_spec.rb",
77
- "spec/cloudapp_gift_card_spec.rb",
78
- "spec/cloudapp_item_spec.rb",
79
- "spec/cloudapp_response_error_spec.rb",
80
- "spec/fakeweb_helper.rb",
81
- "spec/spec_helper.rb"
82
- ]
83
73
 
84
74
  if s.respond_to? :specification_version then
85
75
  s.specification_version = 3
86
76
 
87
77
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
88
- s.add_runtime_dependency(%q<httparty>, [">= 0.6.0"])
78
+ s.add_runtime_dependency(%q<httparty>, [">= 0"])
89
79
  s.add_runtime_dependency(%q<mime-types>, [">= 0"])
90
- s.add_development_dependency(%q<rspec>, ["~> 2.1.0"])
80
+ s.add_development_dependency(%q<rspec>, [">= 0"])
81
+ s.add_development_dependency(%q<coveralls>, [">= 0"])
91
82
  s.add_development_dependency(%q<fakeweb>, [">= 0"])
92
- s.add_development_dependency(%q<yard>, ["~> 0.6.0"])
83
+ s.add_development_dependency(%q<yard>, [">= 0"])
93
84
  s.add_development_dependency(%q<bluecloth>, [">= 0"])
94
85
  s.add_development_dependency(%q<cucumber>, [">= 0"])
95
- s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
96
- s.add_development_dependency(%q<jeweler>, ["~> 1.5.1"])
97
- s.add_development_dependency(%q<rcov>, [">= 0"])
98
- s.add_runtime_dependency(%q<httparty>, [">= 0.6.0"])
99
- s.add_development_dependency(%q<rspec>, ["~> 2.1.0"])
100
- s.add_development_dependency(%q<yard>, ["~> 0.6.0"])
86
+ s.add_development_dependency(%q<bundler>, [">= 0"])
87
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
88
+ s.add_runtime_dependency(%q<httparty>, [">= 0"])
89
+ s.add_development_dependency(%q<rspec>, [">= 0"])
90
+ s.add_development_dependency(%q<yard>, [">= 0"])
101
91
  else
102
- s.add_dependency(%q<httparty>, [">= 0.6.0"])
92
+ s.add_dependency(%q<httparty>, [">= 0"])
103
93
  s.add_dependency(%q<mime-types>, [">= 0"])
104
- s.add_dependency(%q<rspec>, ["~> 2.1.0"])
94
+ s.add_dependency(%q<rspec>, [">= 0"])
95
+ s.add_dependency(%q<coveralls>, [">= 0"])
105
96
  s.add_dependency(%q<fakeweb>, [">= 0"])
106
- s.add_dependency(%q<yard>, ["~> 0.6.0"])
97
+ s.add_dependency(%q<yard>, [">= 0"])
107
98
  s.add_dependency(%q<bluecloth>, [">= 0"])
108
99
  s.add_dependency(%q<cucumber>, [">= 0"])
109
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
110
- s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
111
- s.add_dependency(%q<rcov>, [">= 0"])
112
- s.add_dependency(%q<httparty>, [">= 0.6.0"])
113
- s.add_dependency(%q<rspec>, ["~> 2.1.0"])
114
- s.add_dependency(%q<yard>, ["~> 0.6.0"])
100
+ s.add_dependency(%q<bundler>, [">= 0"])
101
+ s.add_dependency(%q<jeweler>, [">= 0"])
102
+ s.add_dependency(%q<httparty>, [">= 0"])
103
+ s.add_dependency(%q<rspec>, [">= 0"])
104
+ s.add_dependency(%q<yard>, [">= 0"])
115
105
  end
116
106
  else
117
- s.add_dependency(%q<httparty>, [">= 0.6.0"])
107
+ s.add_dependency(%q<httparty>, [">= 0"])
118
108
  s.add_dependency(%q<mime-types>, [">= 0"])
119
- s.add_dependency(%q<rspec>, ["~> 2.1.0"])
109
+ s.add_dependency(%q<rspec>, [">= 0"])
110
+ s.add_dependency(%q<coveralls>, [">= 0"])
120
111
  s.add_dependency(%q<fakeweb>, [">= 0"])
121
- s.add_dependency(%q<yard>, ["~> 0.6.0"])
112
+ s.add_dependency(%q<yard>, [">= 0"])
122
113
  s.add_dependency(%q<bluecloth>, [">= 0"])
123
114
  s.add_dependency(%q<cucumber>, [">= 0"])
124
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
125
- s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
126
- s.add_dependency(%q<rcov>, [">= 0"])
127
- s.add_dependency(%q<httparty>, [">= 0.6.0"])
128
- s.add_dependency(%q<rspec>, ["~> 2.1.0"])
129
- s.add_dependency(%q<yard>, ["~> 0.6.0"])
115
+ s.add_dependency(%q<bundler>, [">= 0"])
116
+ s.add_dependency(%q<jeweler>, [">= 0"])
117
+ s.add_dependency(%q<httparty>, [">= 0"])
118
+ s.add_dependency(%q<rspec>, [">= 0"])
119
+ s.add_dependency(%q<yard>, [">= 0"])
130
120
  end
131
121
  end
132
122
 
data/lib/cloudapp/base.rb CHANGED
@@ -59,10 +59,22 @@ module CloudApp
59
59
  # @param [Hash] attributes
60
60
  def load(attributes = {})
61
61
  attributes.each do |key, val|
62
- self.instance_variable_set("@#{key}", val)
62
+ if key =~ /^.*_at$/ and val
63
+ # if this is a date/time key and it's not nil, try to parse it first
64
+ # as DateTime, then as Date only
65
+ begin
66
+ dt = DateTime.strptime(val, "%Y-%m-%dT%H:%M:%SZ")
67
+ newval = Time.utc(dt.year, dt.month, dt.day, dt.hour, dt.min, dt.sec)
68
+ rescue ArgumentError => ex
69
+ newval = DateTime.strptime(val, "%Y-%m-%d")
70
+ end
71
+ self.instance_variable_set("@#{key}", newval)
72
+ else
73
+ self.instance_variable_set("@#{key}", val)
74
+ end
63
75
  end
64
76
  end
65
77
 
66
78
  end
67
79
 
68
- end
80
+ end
@@ -14,7 +14,11 @@ module CloudApp
14
14
  def initialize(res)
15
15
  @response = res.response
16
16
  @code = res.code
17
- @errors = parse_errors(res.parsed_response)
17
+ begin
18
+ @errors = parse_errors(res.parsed_response)
19
+ rescue MultiJson::LoadError => ex
20
+ @errors = [res.response.body]
21
+ end
18
22
  end
19
23
 
20
24
  # Returns error code and message
data/lib/cloudapp_api.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  require "httparty"
2
2
  require "yaml" unless defined?(YAML)
3
- YAML::ENGINE.yamler = "syck" if defined?(YAML::ENGINE)
3
+ YAML::ENGINE.yamler = "syck" if defined?(YAML::ENGINE) && RUBY_VERSION < "2.0.0"
4
4
 
5
5
  ["base", "drop", "account", "gift_card", "client", "multipart", "httparty", "core_ext", "response_error"].each do |inc|
6
6
  require File.join(File.dirname(__FILE__), "cloudapp", inc)
@@ -14,7 +14,7 @@ describe CloudApp::ResponseError, "when not logged in" do
14
14
  it "should return a code and error messages" do
15
15
  @error.should raise_error{|e|
16
16
  e.code.should == 401
17
- e.errors[0].should == "HTTP Digest: Access denied."
17
+ e.errors[0].should == "HTTP Digest: \"Access denied.\""
18
18
  }
19
19
  end
20
20
 
@@ -50,17 +50,13 @@ describe CloudApp::ResponseError, "when updating someone elses item" do
50
50
  end
51
51
 
52
52
  it "should raise a 404" do
53
- pending "CloudApp shouldn't return a HTML response (or a 404 for that matter)" do
54
- @error.should raise_error(CloudApp::ResponseError, "404 Not Found")
55
- end
53
+ @error.should raise_error(CloudApp::ResponseError, "404 Not Found")
56
54
  end
57
55
 
58
56
  it "should return a code and error messages" do
59
- pending "CloudApp shouldn't return a HTML response (or a 404 for that matter)" do
60
- @error.should raise_error{|e|
61
- e.code.should == 404
62
- }
63
- end
57
+ @error.should raise_error{|e|
58
+ e.code.should == 404
59
+ }
64
60
  end
65
61
 
66
62
  end
@@ -74,17 +70,13 @@ describe "when recovering an unrecoverable item" do
74
70
  end
75
71
 
76
72
  it "should raise a 404" do
77
- pending "CloudApp shouldn't return a HTML response" do
78
- @error.should raise_error(CloudApp::ResponseError, "404 Not Found")
79
- end
73
+ @error.should raise_error(CloudApp::ResponseError, "404 Not Found")
80
74
  end
81
75
 
82
76
  it "should return a code and error messages" do
83
- pending "CloudApp shouldn't return a HTML response" do
84
- @error.should raise_error{|e|
85
- e.code.should == 404
86
- }
87
- end
77
+ @error.should raise_error{|e|
78
+ e.code.should == 404
79
+ }
88
80
  end
89
81
 
90
82
  end
data/spec/spec_helper.rb CHANGED
@@ -3,6 +3,8 @@ $LOAD_PATH.unshift(File.dirname(__FILE__))
3
3
  require 'rspec'
4
4
  require 'fakeweb_helper.rb'
5
5
  require 'cloudapp_api'
6
+ require 'coveralls'
7
+ Coveralls.wear!
6
8
 
7
9
  # Requires supporting files with custom matchers and macros, etc,
8
10
  # in ./support/ and its subdirectories.
data/spec/stubs/error/401 CHANGED
@@ -1,5 +1,5 @@
1
1
  HTTP/1.1 401 Unauthorized
2
2
  Status: 401
3
- Content-Type: application/json; charset=utf-8
3
+ Content-Type: text/plain; charset=utf-8
4
4
 
5
- { HTTP Digest: "Access denied." }
5
+ HTTP Digest: "Access denied."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudapp_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.4.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,22 +9,27 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-11-09 00:00:00.000000000Z
12
+ date: 2013-06-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty
16
- requirement: &2246831460 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.6.0
21
+ version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2246831460
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: mime-types
27
- requirement: &2246830880 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ! '>='
@@ -32,21 +37,47 @@ dependencies:
32
37
  version: '0'
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *2246830880
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: rspec
38
- requirement: &2246830340 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
- - - ~>
51
+ - - ! '>='
42
52
  - !ruby/object:Gem::Version
43
- version: 2.1.0
53
+ version: '0'
44
54
  type: :development
45
55
  prerelease: false
46
- version_requirements: *2246830340
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: coveralls
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
47
78
  - !ruby/object:Gem::Dependency
48
79
  name: fakeweb
49
- requirement: &2246829800 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
50
81
  none: false
51
82
  requirements:
52
83
  - - ! '>='
@@ -54,21 +85,31 @@ dependencies:
54
85
  version: '0'
55
86
  type: :development
56
87
  prerelease: false
57
- version_requirements: *2246829800
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
58
94
  - !ruby/object:Gem::Dependency
59
95
  name: yard
60
- requirement: &2246829100 !ruby/object:Gem::Requirement
96
+ requirement: !ruby/object:Gem::Requirement
61
97
  none: false
62
98
  requirements:
63
- - - ~>
99
+ - - ! '>='
64
100
  - !ruby/object:Gem::Version
65
- version: 0.6.0
101
+ version: '0'
66
102
  type: :development
67
103
  prerelease: false
68
- version_requirements: *2246829100
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
69
110
  - !ruby/object:Gem::Dependency
70
111
  name: bluecloth
71
- requirement: &2246828520 !ruby/object:Gem::Requirement
112
+ requirement: !ruby/object:Gem::Requirement
72
113
  none: false
73
114
  requirements:
74
115
  - - ! '>='
@@ -76,10 +117,15 @@ dependencies:
76
117
  version: '0'
77
118
  type: :development
78
119
  prerelease: false
79
- version_requirements: *2246828520
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
80
126
  - !ruby/object:Gem::Dependency
81
127
  name: cucumber
82
- requirement: &2246827840 !ruby/object:Gem::Requirement
128
+ requirement: !ruby/object:Gem::Requirement
83
129
  none: false
84
130
  requirements:
85
131
  - - ! '>='
@@ -87,73 +133,92 @@ dependencies:
87
133
  version: '0'
88
134
  type: :development
89
135
  prerelease: false
90
- version_requirements: *2246827840
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
91
142
  - !ruby/object:Gem::Dependency
92
143
  name: bundler
93
- requirement: &2246827080 !ruby/object:Gem::Requirement
144
+ requirement: !ruby/object:Gem::Requirement
94
145
  none: false
95
146
  requirements:
96
- - - ~>
147
+ - - ! '>='
97
148
  - !ruby/object:Gem::Version
98
- version: 1.0.0
149
+ version: '0'
99
150
  type: :development
100
151
  prerelease: false
101
- version_requirements: *2246827080
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - ! '>='
156
+ - !ruby/object:Gem::Version
157
+ version: '0'
102
158
  - !ruby/object:Gem::Dependency
103
159
  name: jeweler
104
- requirement: &2246826440 !ruby/object:Gem::Requirement
160
+ requirement: !ruby/object:Gem::Requirement
105
161
  none: false
106
162
  requirements:
107
- - - ~>
163
+ - - ! '>='
108
164
  - !ruby/object:Gem::Version
109
- version: 1.5.1
165
+ version: '0'
110
166
  type: :development
111
167
  prerelease: false
112
- version_requirements: *2246826440
113
- - !ruby/object:Gem::Dependency
114
- name: rcov
115
- requirement: &2246825840 !ruby/object:Gem::Requirement
168
+ version_requirements: !ruby/object:Gem::Requirement
116
169
  none: false
117
170
  requirements:
118
171
  - - ! '>='
119
172
  - !ruby/object:Gem::Version
120
173
  version: '0'
121
- type: :development
122
- prerelease: false
123
- version_requirements: *2246825840
124
174
  - !ruby/object:Gem::Dependency
125
175
  name: httparty
126
- requirement: &2246825240 !ruby/object:Gem::Requirement
176
+ requirement: !ruby/object:Gem::Requirement
127
177
  none: false
128
178
  requirements:
129
179
  - - ! '>='
130
180
  - !ruby/object:Gem::Version
131
- version: 0.6.0
181
+ version: '0'
132
182
  type: :runtime
133
183
  prerelease: false
134
- version_requirements: *2246825240
184
+ version_requirements: !ruby/object:Gem::Requirement
185
+ none: false
186
+ requirements:
187
+ - - ! '>='
188
+ - !ruby/object:Gem::Version
189
+ version: '0'
135
190
  - !ruby/object:Gem::Dependency
136
191
  name: rspec
137
- requirement: &2246824620 !ruby/object:Gem::Requirement
192
+ requirement: !ruby/object:Gem::Requirement
138
193
  none: false
139
194
  requirements:
140
- - - ~>
195
+ - - ! '>='
141
196
  - !ruby/object:Gem::Version
142
- version: 2.1.0
197
+ version: '0'
143
198
  type: :development
144
199
  prerelease: false
145
- version_requirements: *2246824620
200
+ version_requirements: !ruby/object:Gem::Requirement
201
+ none: false
202
+ requirements:
203
+ - - ! '>='
204
+ - !ruby/object:Gem::Version
205
+ version: '0'
146
206
  - !ruby/object:Gem::Dependency
147
207
  name: yard
148
- requirement: &2246823840 !ruby/object:Gem::Requirement
208
+ requirement: !ruby/object:Gem::Requirement
149
209
  none: false
150
210
  requirements:
151
- - - ~>
211
+ - - ! '>='
152
212
  - !ruby/object:Gem::Version
153
- version: 0.6.0
213
+ version: '0'
154
214
  type: :development
155
215
  prerelease: false
156
- version_requirements: *2246823840
216
+ version_requirements: !ruby/object:Gem::Requirement
217
+ none: false
218
+ requirements:
219
+ - - ! '>='
220
+ - !ruby/object:Gem::Version
221
+ version: '0'
157
222
  description: A simple Ruby wrapper for the CloudApp API. Uses HTTParty with a simple
158
223
  ActiveResource-like interface.
159
224
  email: aaron@gc4.co.uk
@@ -164,6 +229,7 @@ extra_rdoc_files:
164
229
  - README.md
165
230
  files:
166
231
  - .document
232
+ - .travis.yml
167
233
  - Gemfile
168
234
  - Gemfile.lock
169
235
  - LICENSE
@@ -224,7 +290,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
224
290
  version: '0'
225
291
  segments:
226
292
  - 0
227
- hash: -4572567371114008398
293
+ hash: -1984904809724600224
228
294
  required_rubygems_version: !ruby/object:Gem::Requirement
229
295
  none: false
230
296
  requirements:
@@ -233,18 +299,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
233
299
  version: '0'
234
300
  requirements: []
235
301
  rubyforge_project:
236
- rubygems_version: 1.8.10
302
+ rubygems_version: 1.8.25
237
303
  signing_key:
238
304
  specification_version: 3
239
305
  summary: A simple Ruby wrapper for the CloudApp API. Uses HTTParty with a simple ActiveResource-like
240
306
  interface.
241
- test_files:
242
- - spec/cloudapp_account_spec.rb
243
- - spec/cloudapp_api_spec.rb
244
- - spec/cloudapp_client_spec.rb
245
- - spec/cloudapp_drop_spec.rb
246
- - spec/cloudapp_gift_card_spec.rb
247
- - spec/cloudapp_item_spec.rb
248
- - spec/cloudapp_response_error_spec.rb
249
- - spec/fakeweb_helper.rb
250
- - spec/spec_helper.rb
307
+ test_files: []