amiando 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -78,7 +78,7 @@ module Amiando
78
78
  end
79
79
 
80
80
  def returned_obj_type
81
- attributes[:returned_obj_type]
81
+ attributes[:returned_object_type]
82
82
  end
83
83
  end
84
84
  end
@@ -1,3 +1,3 @@
1
1
  module Amiando
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
@@ -25,11 +25,18 @@ describe Amiando::Sync do
25
25
 
26
26
  describe Amiando::Sync::Event do
27
27
  it 'simply converts the given attributes' do
28
- sync_event = Amiando::Sync::Event.new(:id => 1, :object_id => 12, :object_type => 'Event', :path => '/some/thing')
28
+ sync_event = Amiando::Sync::Event.new(
29
+ :id => 1,
30
+ :object_id => 12,
31
+ :object_type => 'Event',
32
+ :returned_object_type => 'Event',
33
+ :path => '/some/thing'
34
+ )
29
35
 
30
36
  sync_event.id.must_equal 1
31
37
  sync_event.obj_id.must_equal 12
32
38
  sync_event.obj_type.must_equal 'Event'
39
+ sync_event.returned_obj_type.must_equal 'Event'
33
40
  sync_event.path.must_equal '/some/thing'
34
41
  end
35
42
  end
metadata CHANGED
@@ -1,121 +1,122 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: amiando
3
- version: !ruby/object:Gem::Version
4
- version: 0.5.0
3
+ version: !ruby/object:Gem::Version
4
+ hash: 9
5
5
  prerelease:
6
+ segments:
7
+ - 0
8
+ - 5
9
+ - 1
10
+ version: 0.5.1
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Jorge Dias
9
14
  - Albert Llop
10
15
  autorequire:
11
16
  bindir: bin
12
17
  cert_chain: []
13
- date: 2012-10-25 00:00:00.000000000 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: typhoeus
17
- requirement: !ruby/object:Gem::Requirement
18
+
19
+ date: 2012-10-25 00:00:00 Z
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ requirement: &id001 !ruby/object:Gem::Requirement
18
23
  none: false
19
- requirements:
20
- - - ! '>='
21
- - !ruby/object:Gem::Version
22
- version: '0'
23
- type: :runtime
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ hash: 3
28
+ segments:
29
+ - 0
30
+ version: "0"
31
+ version_requirements: *id001
24
32
  prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
33
+ type: :runtime
34
+ name: typhoeus
35
+ - !ruby/object:Gem::Dependency
36
+ requirement: &id002 !ruby/object:Gem::Requirement
26
37
  none: false
27
- requirements:
28
- - - ! '>='
29
- - !ruby/object:Gem::Version
30
- version: '0'
31
- - !ruby/object:Gem::Dependency
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ hash: 3
42
+ segments:
43
+ - 0
44
+ version: "0"
45
+ version_requirements: *id002
46
+ prerelease: false
47
+ type: :runtime
32
48
  name: multi_json
33
- requirement: !ruby/object:Gem::Requirement
49
+ - !ruby/object:Gem::Dependency
50
+ requirement: &id003 !ruby/object:Gem::Requirement
34
51
  none: false
35
- requirements:
36
- - - ! '>='
37
- - !ruby/object:Gem::Version
38
- version: '0'
39
- type: :runtime
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ hash: 3
56
+ segments:
57
+ - 0
58
+ version: "0"
59
+ version_requirements: *id003
40
60
  prerelease: false
41
- version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
- requirements:
44
- - - ! '>='
45
- - !ruby/object:Gem::Version
46
- version: '0'
47
- - !ruby/object:Gem::Dependency
48
- name: hydra_cache
49
- requirement: !ruby/object:Gem::Requirement
50
- none: false
51
- requirements:
52
- - - ! '>='
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
61
  type: :development
56
- prerelease: false
57
- version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
- requirements:
60
- - - ! '>='
61
- - !ruby/object:Gem::Version
62
- version: '0'
63
- - !ruby/object:Gem::Dependency
64
- name: minitest
65
- requirement: !ruby/object:Gem::Requirement
62
+ name: hydra_cache
63
+ - !ruby/object:Gem::Dependency
64
+ requirement: &id004 !ruby/object:Gem::Requirement
66
65
  none: false
67
- requirements:
68
- - - '='
69
- - !ruby/object:Gem::Version
66
+ requirements:
67
+ - - "="
68
+ - !ruby/object:Gem::Version
69
+ hash: 43
70
+ segments:
71
+ - 2
72
+ - 9
73
+ - 0
70
74
  version: 2.9.0
71
- type: :development
75
+ version_requirements: *id004
72
76
  prerelease: false
73
- version_requirements: !ruby/object:Gem::Requirement
74
- none: false
75
- requirements:
76
- - - '='
77
- - !ruby/object:Gem::Version
78
- version: 2.9.0
79
- - !ruby/object:Gem::Dependency
80
- name: webmock
81
- requirement: !ruby/object:Gem::Requirement
82
- none: false
83
- requirements:
84
- - - ~>
85
- - !ruby/object:Gem::Version
86
- version: 1.7.9
87
77
  type: :development
88
- prerelease: false
89
- version_requirements: !ruby/object:Gem::Requirement
78
+ name: minitest
79
+ - !ruby/object:Gem::Dependency
80
+ requirement: &id005 !ruby/object:Gem::Requirement
90
81
  none: false
91
- requirements:
82
+ requirements:
92
83
  - - ~>
93
- - !ruby/object:Gem::Version
84
+ - !ruby/object:Gem::Version
85
+ hash: 25
86
+ segments:
87
+ - 1
88
+ - 7
89
+ - 9
94
90
  version: 1.7.9
95
- - !ruby/object:Gem::Dependency
96
- name: rake
97
- requirement: !ruby/object:Gem::Requirement
98
- none: false
99
- requirements:
100
- - - ! '>='
101
- - !ruby/object:Gem::Version
102
- version: '0'
103
- type: :development
91
+ version_requirements: *id005
104
92
  prerelease: false
105
- version_requirements: !ruby/object:Gem::Requirement
93
+ type: :development
94
+ name: webmock
95
+ - !ruby/object:Gem::Dependency
96
+ requirement: &id006 !ruby/object:Gem::Requirement
106
97
  none: false
107
- requirements:
108
- - - ! '>='
109
- - !ruby/object:Gem::Version
110
- version: '0'
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ hash: 3
102
+ segments:
103
+ - 0
104
+ version: "0"
105
+ version_requirements: *id006
106
+ prerelease: false
107
+ type: :development
108
+ name: rake
111
109
  description: A ruby client for the amiando REST API with parallel requests in mind
112
- email:
110
+ email:
113
111
  - jorge@mrdias.com
114
112
  - mrsimo@gmail.com
115
113
  executables: []
114
+
116
115
  extensions: []
116
+
117
117
  extra_rdoc_files: []
118
- files:
118
+
119
+ files:
119
120
  - .gitignore
120
121
  - .travis.yml
121
122
  - ChangeLog
@@ -250,37 +251,40 @@ files:
250
251
  - test/support/factory.rb
251
252
  - test/support/hydra_monkey_patch.rb
252
253
  - test/test_helper.rb
253
- homepage: ''
254
+ homepage: ""
254
255
  licenses: []
256
+
255
257
  post_install_message:
256
258
  rdoc_options: []
257
- require_paths:
259
+
260
+ require_paths:
258
261
  - lib
259
- required_ruby_version: !ruby/object:Gem::Requirement
262
+ required_ruby_version: !ruby/object:Gem::Requirement
260
263
  none: false
261
- requirements:
262
- - - ! '>='
263
- - !ruby/object:Gem::Version
264
- version: '0'
265
- segments:
264
+ requirements:
265
+ - - ">="
266
+ - !ruby/object:Gem::Version
267
+ hash: 3
268
+ segments:
266
269
  - 0
267
- hash: -3858998560713218769
268
- required_rubygems_version: !ruby/object:Gem::Requirement
270
+ version: "0"
271
+ required_rubygems_version: !ruby/object:Gem::Requirement
269
272
  none: false
270
- requirements:
271
- - - ! '>='
272
- - !ruby/object:Gem::Version
273
- version: '0'
274
- segments:
273
+ requirements:
274
+ - - ">="
275
+ - !ruby/object:Gem::Version
276
+ hash: 3
277
+ segments:
275
278
  - 0
276
- hash: -3858998560713218769
279
+ version: "0"
277
280
  requirements: []
281
+
278
282
  rubyforge_project: amiando
279
283
  rubygems_version: 1.8.24
280
284
  signing_key:
281
285
  specification_version: 3
282
286
  summary: A ruby client for the amiando REST API
283
- test_files:
287
+ test_files:
284
288
  - test/amiando/amiando_test.rb
285
289
  - test/amiando/api_key_test.rb
286
290
  - test/amiando/boolean_test.rb