rest_model 0.2.3 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.2
4
3
  - 1.9.3
5
- script: rspec
4
+ - 2.0.0-p195
5
+ script: bundle exec rspec spec
@@ -1,3 +1,3 @@
1
1
  class RestModel
2
- VERSION = "0.2.3"
2
+ VERSION = "0.3.0"
3
3
  end
data/rest_model.gemspec CHANGED
@@ -17,8 +17,8 @@ Gem::Specification.new do |s|
17
17
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
18
18
  s.require_paths = ["lib"]
19
19
 
20
- s.add_dependency "activesupport", "~> 3.2"
20
+ s.add_dependency "activesupport", "~> 4.0.0"
21
21
  s.add_dependency "i18n", ">= 0.6"
22
- s.add_development_dependency "rspec", "~> 2.6"
22
+ s.add_development_dependency "rspec", "~> 2.14.1"
23
23
  s.add_development_dependency "rake"
24
24
  end
@@ -4,10 +4,10 @@ describe RestModel::Property::Retriever do
4
4
  subject {RestModel::Property.new(:login)}
5
5
 
6
6
  let(:item) {{login: "jackiechan2010"}}
7
- let(:serializer_mock) {mock :serializer}
7
+ let(:serializer_mock) {double :serializer}
8
8
 
9
9
  before do
10
- subject.stub!(:serializer) {serializer_mock}
10
+ allow(subject).to receive(:serializer) {serializer_mock}
11
11
  end
12
12
 
13
13
  it "tries to serialize value" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rest_model
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-05-02 00:00:00.000000000 Z
14
+ date: 2013-10-02 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: activesupport
@@ -20,7 +20,7 @@ dependencies:
20
20
  requirements:
21
21
  - - ~>
22
22
  - !ruby/object:Gem::Version
23
- version: '3.2'
23
+ version: 4.0.0
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  requirements:
29
29
  - - ~>
30
30
  - !ruby/object:Gem::Version
31
- version: '3.2'
31
+ version: 4.0.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: i18n
34
34
  requirement: !ruby/object:Gem::Requirement
@@ -52,7 +52,7 @@ dependencies:
52
52
  requirements:
53
53
  - - ~>
54
54
  - !ruby/object:Gem::Version
55
- version: '2.6'
55
+ version: 2.14.1
56
56
  type: :development
57
57
  prerelease: false
58
58
  version_requirements: !ruby/object:Gem::Requirement
@@ -60,7 +60,7 @@ dependencies:
60
60
  requirements:
61
61
  - - ~>
62
62
  - !ruby/object:Gem::Version
63
- version: '2.6'
63
+ version: 2.14.1
64
64
  - !ruby/object:Gem::Dependency
65
65
  name: rake
66
66
  requirement: !ruby/object:Gem::Requirement
@@ -235,12 +235,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
235
235
  - - ! '>='
236
236
  - !ruby/object:Gem::Version
237
237
  version: '0'
238
+ segments:
239
+ - 0
240
+ hash: -2617658786856800409
238
241
  required_rubygems_version: !ruby/object:Gem::Requirement
239
242
  none: false
240
243
  requirements:
241
244
  - - ! '>='
242
245
  - !ruby/object:Gem::Version
243
246
  version: '0'
247
+ segments:
248
+ - 0
249
+ hash: -2617658786856800409
244
250
  requirements: []
245
251
  rubyforge_project:
246
252
  rubygems_version: 1.8.23