harpy 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -103,7 +103,7 @@ module Harpy
103
103
  @attrs.merge! attrs
104
104
  end
105
105
 
106
- def as_json
106
+ def as_json(*args)
107
107
  hash = @attrs.dup
108
108
  hash.delete "link"
109
109
  hash.delete "urn"
data/lib/harpy/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Harpy
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,109 +1,114 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: harpy
3
- version: !ruby/object:Gem::Version
4
- version: 0.1.3
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.4
5
+ prerelease:
5
6
  platform: ruby
6
- authors:
7
+ authors:
7
8
  - Joseph HALTER
8
9
  - Jonathan TRON
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
-
13
- date: 2011-07-03 00:00:00 +02:00
13
+ date: 2011-07-03 00:00:00.000000000 +02:00
14
14
  default_executable:
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
17
  name: typhoeus
18
- type: :runtime
19
- version_requirement:
20
- version_requirements: !ruby/object:Gem::Requirement
21
- requirements:
18
+ requirement: &2169825280 !ruby/object:Gem::Requirement
19
+ none: false
20
+ requirements:
22
21
  - - ~>
23
- - !ruby/object:Gem::Version
22
+ - !ruby/object:Gem::Version
24
23
  version: 0.2.4
25
- version:
26
- - !ruby/object:Gem::Dependency
27
- name: activesupport
28
24
  type: :runtime
29
- version_requirement:
30
- version_requirements: !ruby/object:Gem::Requirement
31
- requirements:
32
- - - ">="
33
- - !ruby/object:Gem::Version
25
+ prerelease: false
26
+ version_requirements: *2169825280
27
+ - !ruby/object:Gem::Dependency
28
+ name: activesupport
29
+ requirement: &2169824760 !ruby/object:Gem::Requirement
30
+ none: false
31
+ requirements:
32
+ - - ! '>='
33
+ - !ruby/object:Gem::Version
34
34
  version: 3.0.0
35
- version:
36
- - !ruby/object:Gem::Dependency
37
- name: activemodel
38
35
  type: :runtime
39
- version_requirement:
40
- version_requirements: !ruby/object:Gem::Requirement
41
- requirements:
42
- - - ">="
43
- - !ruby/object:Gem::Version
36
+ prerelease: false
37
+ version_requirements: *2169824760
38
+ - !ruby/object:Gem::Dependency
39
+ name: activemodel
40
+ requirement: &2169824280 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
44
45
  version: 3.0.0
45
- version:
46
- - !ruby/object:Gem::Dependency
47
- name: hash-deep-merge
48
46
  type: :runtime
49
- version_requirement:
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
47
+ prerelease: false
48
+ version_requirements: *2169824280
49
+ - !ruby/object:Gem::Dependency
50
+ name: hash-deep-merge
51
+ requirement: &2169823800 !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
52
54
  - - ~>
53
- - !ruby/object:Gem::Version
55
+ - !ruby/object:Gem::Version
54
56
  version: 0.1.1
55
- version:
56
- - !ruby/object:Gem::Dependency
57
- name: yajl-ruby
58
57
  type: :runtime
59
- version_requirement:
60
- version_requirements: !ruby/object:Gem::Requirement
61
- requirements:
58
+ prerelease: false
59
+ version_requirements: *2169823800
60
+ - !ruby/object:Gem::Dependency
61
+ name: yajl-ruby
62
+ requirement: &2169823320 !ruby/object:Gem::Requirement
63
+ none: false
64
+ requirements:
62
65
  - - ~>
63
- - !ruby/object:Gem::Version
66
+ - !ruby/object:Gem::Version
64
67
  version: 0.8.2
65
- version:
66
- - !ruby/object:Gem::Dependency
68
+ type: :runtime
69
+ prerelease: false
70
+ version_requirements: *2169823320
71
+ - !ruby/object:Gem::Dependency
67
72
  name: rake
68
- type: :development
69
- version_requirement:
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
73
+ requirement: &2169822840 !ruby/object:Gem::Requirement
74
+ none: false
75
+ requirements:
72
76
  - - ~>
73
- - !ruby/object:Gem::Version
77
+ - !ruby/object:Gem::Version
74
78
  version: 0.8.7
75
- version:
76
- - !ruby/object:Gem::Dependency
77
- name: rspec
78
79
  type: :development
79
- version_requirement:
80
- version_requirements: !ruby/object:Gem::Requirement
81
- requirements:
80
+ prerelease: false
81
+ version_requirements: *2169822840
82
+ - !ruby/object:Gem::Dependency
83
+ name: rspec
84
+ requirement: &2169822360 !ruby/object:Gem::Requirement
85
+ none: false
86
+ requirements:
82
87
  - - ~>
83
- - !ruby/object:Gem::Version
88
+ - !ruby/object:Gem::Version
84
89
  version: 2.6.0
85
- version:
86
- - !ruby/object:Gem::Dependency
87
- name: rocco
88
90
  type: :development
89
- version_requirement:
90
- version_requirements: !ruby/object:Gem::Requirement
91
- requirements:
91
+ prerelease: false
92
+ version_requirements: *2169822360
93
+ - !ruby/object:Gem::Dependency
94
+ name: rocco
95
+ requirement: &2169821880 !ruby/object:Gem::Requirement
96
+ none: false
97
+ requirements:
92
98
  - - ~>
93
- - !ruby/object:Gem::Version
94
- version: "0.7"
95
- version:
99
+ - !ruby/object:Gem::Version
100
+ version: '0.7'
101
+ type: :development
102
+ prerelease: false
103
+ version_requirements: *2169821880
96
104
  description: Client for REST API with HATEOAS
97
- email:
105
+ email:
98
106
  - joseph.halter@thetalentbox.com
99
107
  - jonathan.tron@thetalentbox.com
100
108
  executables: []
101
-
102
109
  extensions: []
103
-
104
110
  extra_rdoc_files: []
105
-
106
- files:
111
+ files:
107
112
  - .gitignore
108
113
  - .rspec
109
114
  - Gemfile
@@ -124,32 +129,29 @@ files:
124
129
  has_rdoc: true
125
130
  homepage: https://github.com/TalentBox/harpy
126
131
  licenses: []
127
-
128
132
  post_install_message:
129
133
  rdoc_options: []
130
-
131
- require_paths:
134
+ require_paths:
132
135
  - lib
133
- required_ruby_version: !ruby/object:Gem::Requirement
134
- requirements:
135
- - - ">="
136
- - !ruby/object:Gem::Version
137
- version: "0"
138
- version:
139
- required_rubygems_version: !ruby/object:Gem::Requirement
140
- requirements:
141
- - - ">="
142
- - !ruby/object:Gem::Version
143
- version: "0"
144
- version:
136
+ required_ruby_version: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
142
+ required_rubygems_version: !ruby/object:Gem::Requirement
143
+ none: false
144
+ requirements:
145
+ - - ! '>='
146
+ - !ruby/object:Gem::Version
147
+ version: '0'
145
148
  requirements: []
146
-
147
149
  rubyforge_project:
148
- rubygems_version: 1.3.5
150
+ rubygems_version: 1.6.2
149
151
  signing_key:
150
152
  specification_version: 3
151
153
  summary: Client for REST API
152
- test_files:
154
+ test_files:
153
155
  - spec/harpy/client_spec.rb
154
156
  - spec/harpy/entry_point_spec.rb
155
157
  - spec/harpy/resource_spec.rb