harpy 0.1.2 → 0.1.3

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