fletcher 0.6.6 → 0.6.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MjMzNGI0NGEzMzVkYWIwYmI3ZTI1ZDk3ZDJlZWQ4OGQ2M2RlZjQzOQ==
5
+ data.tar.gz: !binary |-
6
+ NjkzN2YyOGI4OGVkYzdiOGY0NTM5NGExMGVmN2E2N2YzZDI1NWY5Zg==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ NDZlNGM1OTU2YjJjMzY3NmMzNzc2YTM5YWMyNzI1NDQxMDFlZDIyZmI3NDc2
10
+ MzMyZTk5MjMyZThhY2RjNDZjOTQwZDBiYTQ1MTQ2OTlmYWI4OGU5MDllOWI0
11
+ MDc5NTUyODViNzBhOWMwNzBlZGNlOTk4MmIwYmEzYmM3MjMxNjk=
12
+ data.tar.gz: !binary |-
13
+ YjBlODVjNDUxOThhYTMwMTY5NDEzOGU5NTFmNDg0M2E1YzNmMzYwZGI5OGQz
14
+ ODlhYzZkNDIwZDg4MDAwYzU5YTE5ZGI3MTVhODk0MDFlODg2ZjQxYjI5MGFk
15
+ N2UxNTVmNTViODRjYTEyYjRiNDYzZjdjODA0ZjA2ZGYwZTM1MTE=
data/Gemfile CHANGED
@@ -3,6 +3,7 @@ source "http://rubygems.org"
3
3
  gem "hashie"
4
4
  gem "nokogiri"
5
5
  gem "money"
6
+ gem "monetize"
6
7
  gem "thor"
7
8
 
8
9
  group :development do
data/Gemfile.lock CHANGED
@@ -10,13 +10,15 @@ GEM
10
10
  fakeweb (1.3.0)
11
11
  git (1.2.5)
12
12
  hashie (1.2.0)
13
- i18n (0.6.1)
13
+ i18n (0.6.9)
14
14
  jeweler (1.6.4)
15
15
  bundler (~> 1.0)
16
16
  git (>= 1.2.5)
17
17
  rake
18
- money (5.1.0)
19
- i18n (~> 0.6.0)
18
+ monetize (0.1.4)
19
+ money (6.0.1)
20
+ i18n (~> 0.6.4)
21
+ monetize (~> 0.1.3)
20
22
  multi_json (1.3.7)
21
23
  nokogiri (1.5.5)
22
24
  rake (10.0.1)
@@ -47,6 +49,7 @@ DEPENDENCIES
47
49
  hashie
48
50
  i18n
49
51
  jeweler (~> 1.6.4)
52
+ monetize
50
53
  money
51
54
  nokogiri
52
55
  rspec
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.6
1
+ 0.6.7
data/fletcher.gemspec CHANGED
@@ -2,14 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
+ # stub: fletcher 0.6.7 ruby lib
5
6
 
6
7
  Gem::Specification.new do |s|
7
8
  s.name = "fletcher"
8
- s.version = "0.6.6"
9
+ s.version = "0.6.7"
9
10
 
10
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
+ s.require_paths = ["lib"]
11
13
  s.authors = ["Dave Hulihan", "Hulihan Applications"]
12
- s.date = "2013-12-01"
14
+ s.date = "2014-05-12"
13
15
  s.description = "Easily fetch product information from third party websites such as Amazon, Steam, eBay, etc."
14
16
  s.email = "dave@hulihanapplications.com"
15
17
  s.executables = ["fletcher"]
@@ -72,17 +74,17 @@ Gem::Specification.new do |s|
72
74
  ]
73
75
  s.homepage = "http://github.com/hulihanapplications/fletcher"
74
76
  s.licenses = ["MIT"]
75
- s.require_paths = ["lib"]
76
- s.rubygems_version = "1.8.25"
77
+ s.rubygems_version = "2.2.2"
77
78
  s.summary = "A cross-website product/model information fetcher."
78
79
 
79
80
  if s.respond_to? :specification_version then
80
- s.specification_version = 3
81
+ s.specification_version = 4
81
82
 
82
83
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
83
84
  s.add_runtime_dependency(%q<hashie>, [">= 0"])
84
85
  s.add_runtime_dependency(%q<nokogiri>, [">= 0"])
85
86
  s.add_runtime_dependency(%q<money>, [">= 0"])
87
+ s.add_runtime_dependency(%q<monetize>, [">= 0"])
86
88
  s.add_runtime_dependency(%q<thor>, [">= 0"])
87
89
  s.add_development_dependency(%q<shoulda>, [">= 0"])
88
90
  s.add_development_dependency(%q<bundler>, [">= 0"])
@@ -96,6 +98,7 @@ Gem::Specification.new do |s|
96
98
  s.add_dependency(%q<hashie>, [">= 0"])
97
99
  s.add_dependency(%q<nokogiri>, [">= 0"])
98
100
  s.add_dependency(%q<money>, [">= 0"])
101
+ s.add_dependency(%q<monetize>, [">= 0"])
99
102
  s.add_dependency(%q<thor>, [">= 0"])
100
103
  s.add_dependency(%q<shoulda>, [">= 0"])
101
104
  s.add_dependency(%q<bundler>, [">= 0"])
@@ -110,6 +113,7 @@ Gem::Specification.new do |s|
110
113
  s.add_dependency(%q<hashie>, [">= 0"])
111
114
  s.add_dependency(%q<nokogiri>, [">= 0"])
112
115
  s.add_dependency(%q<money>, [">= 0"])
116
+ s.add_dependency(%q<monetize>, [">= 0"])
113
117
  s.add_dependency(%q<thor>, [">= 0"])
114
118
  s.add_dependency(%q<shoulda>, [">= 0"])
115
119
  s.add_dependency(%q<bundler>, [">= 0"])
@@ -18,7 +18,7 @@ module Fletcher
18
18
  # model.price.currency.symbol # => '$'
19
19
  def parse_price(raw_price = nil)
20
20
  return if raw_price.nil?
21
- self.price = ::Money.parse(raw_price)
21
+ self.price = Monetize.parse(raw_price)
22
22
  end
23
23
  end # Base
24
24
  end # Model
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fletcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.6
5
- prerelease:
4
+ version: 0.6.7
6
5
  platform: ruby
7
6
  authors:
8
7
  - Dave Hulihan
@@ -10,12 +9,11 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2013-12-01 00:00:00.000000000 Z
12
+ date: 2014-05-12 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: hashie
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
18
  - - ! '>='
21
19
  - !ruby/object:Gem::Version
@@ -23,7 +21,6 @@ dependencies:
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
25
  - - ! '>='
29
26
  - !ruby/object:Gem::Version
@@ -31,7 +28,6 @@ dependencies:
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: nokogiri
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
32
  - - ! '>='
37
33
  - !ruby/object:Gem::Version
@@ -39,7 +35,6 @@ dependencies:
39
35
  type: :runtime
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
39
  - - ! '>='
45
40
  - !ruby/object:Gem::Version
@@ -47,7 +42,6 @@ dependencies:
47
42
  - !ruby/object:Gem::Dependency
48
43
  name: money
49
44
  requirement: !ruby/object:Gem::Requirement
50
- none: false
51
45
  requirements:
52
46
  - - ! '>='
53
47
  - !ruby/object:Gem::Version
@@ -55,7 +49,20 @@ dependencies:
55
49
  type: :runtime
56
50
  prerelease: false
57
51
  version_requirements: !ruby/object:Gem::Requirement
58
- none: false
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: monetize
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ! '>='
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
59
66
  requirements:
60
67
  - - ! '>='
61
68
  - !ruby/object:Gem::Version
@@ -63,7 +70,6 @@ dependencies:
63
70
  - !ruby/object:Gem::Dependency
64
71
  name: thor
65
72
  requirement: !ruby/object:Gem::Requirement
66
- none: false
67
73
  requirements:
68
74
  - - ! '>='
69
75
  - !ruby/object:Gem::Version
@@ -71,7 +77,6 @@ dependencies:
71
77
  type: :runtime
72
78
  prerelease: false
73
79
  version_requirements: !ruby/object:Gem::Requirement
74
- none: false
75
80
  requirements:
76
81
  - - ! '>='
77
82
  - !ruby/object:Gem::Version
@@ -79,7 +84,6 @@ dependencies:
79
84
  - !ruby/object:Gem::Dependency
80
85
  name: shoulda
81
86
  requirement: !ruby/object:Gem::Requirement
82
- none: false
83
87
  requirements:
84
88
  - - ! '>='
85
89
  - !ruby/object:Gem::Version
@@ -87,7 +91,6 @@ dependencies:
87
91
  type: :development
88
92
  prerelease: false
89
93
  version_requirements: !ruby/object:Gem::Requirement
90
- none: false
91
94
  requirements:
92
95
  - - ! '>='
93
96
  - !ruby/object:Gem::Version
@@ -95,7 +98,6 @@ dependencies:
95
98
  - !ruby/object:Gem::Dependency
96
99
  name: bundler
97
100
  requirement: !ruby/object:Gem::Requirement
98
- none: false
99
101
  requirements:
100
102
  - - ! '>='
101
103
  - !ruby/object:Gem::Version
@@ -103,7 +105,6 @@ dependencies:
103
105
  type: :development
104
106
  prerelease: false
105
107
  version_requirements: !ruby/object:Gem::Requirement
106
- none: false
107
108
  requirements:
108
109
  - - ! '>='
109
110
  - !ruby/object:Gem::Version
@@ -111,7 +112,6 @@ dependencies:
111
112
  - !ruby/object:Gem::Dependency
112
113
  name: jeweler
113
114
  requirement: !ruby/object:Gem::Requirement
114
- none: false
115
115
  requirements:
116
116
  - - ~>
117
117
  - !ruby/object:Gem::Version
@@ -119,7 +119,6 @@ dependencies:
119
119
  type: :development
120
120
  prerelease: false
121
121
  version_requirements: !ruby/object:Gem::Requirement
122
- none: false
123
122
  requirements:
124
123
  - - ~>
125
124
  - !ruby/object:Gem::Version
@@ -127,7 +126,6 @@ dependencies:
127
126
  - !ruby/object:Gem::Dependency
128
127
  name: rspec
129
128
  requirement: !ruby/object:Gem::Requirement
130
- none: false
131
129
  requirements:
132
130
  - - ! '>='
133
131
  - !ruby/object:Gem::Version
@@ -135,7 +133,6 @@ dependencies:
135
133
  type: :development
136
134
  prerelease: false
137
135
  version_requirements: !ruby/object:Gem::Requirement
138
- none: false
139
136
  requirements:
140
137
  - - ! '>='
141
138
  - !ruby/object:Gem::Version
@@ -143,7 +140,6 @@ dependencies:
143
140
  - !ruby/object:Gem::Dependency
144
141
  name: factory_girl
145
142
  requirement: !ruby/object:Gem::Requirement
146
- none: false
147
143
  requirements:
148
144
  - - ! '>='
149
145
  - !ruby/object:Gem::Version
@@ -151,7 +147,6 @@ dependencies:
151
147
  type: :development
152
148
  prerelease: false
153
149
  version_requirements: !ruby/object:Gem::Requirement
154
- none: false
155
150
  requirements:
156
151
  - - ! '>='
157
152
  - !ruby/object:Gem::Version
@@ -159,7 +154,6 @@ dependencies:
159
154
  - !ruby/object:Gem::Dependency
160
155
  name: i18n
161
156
  requirement: !ruby/object:Gem::Requirement
162
- none: false
163
157
  requirements:
164
158
  - - ! '>='
165
159
  - !ruby/object:Gem::Version
@@ -167,7 +161,6 @@ dependencies:
167
161
  type: :development
168
162
  prerelease: false
169
163
  version_requirements: !ruby/object:Gem::Requirement
170
- none: false
171
164
  requirements:
172
165
  - - ! '>='
173
166
  - !ruby/object:Gem::Version
@@ -175,7 +168,6 @@ dependencies:
175
168
  - !ruby/object:Gem::Dependency
176
169
  name: vcr
177
170
  requirement: !ruby/object:Gem::Requirement
178
- none: false
179
171
  requirements:
180
172
  - - ! '>='
181
173
  - !ruby/object:Gem::Version
@@ -183,7 +175,6 @@ dependencies:
183
175
  type: :development
184
176
  prerelease: false
185
177
  version_requirements: !ruby/object:Gem::Requirement
186
- none: false
187
178
  requirements:
188
179
  - - ! '>='
189
180
  - !ruby/object:Gem::Version
@@ -191,7 +182,6 @@ dependencies:
191
182
  - !ruby/object:Gem::Dependency
192
183
  name: fakeweb
193
184
  requirement: !ruby/object:Gem::Requirement
194
- none: false
195
185
  requirements:
196
186
  - - ! '>='
197
187
  - !ruby/object:Gem::Version
@@ -199,7 +189,6 @@ dependencies:
199
189
  type: :development
200
190
  prerelease: false
201
191
  version_requirements: !ruby/object:Gem::Requirement
202
- none: false
203
192
  requirements:
204
193
  - - ! '>='
205
194
  - !ruby/object:Gem::Version
@@ -268,29 +257,25 @@ files:
268
257
  homepage: http://github.com/hulihanapplications/fletcher
269
258
  licenses:
270
259
  - MIT
260
+ metadata: {}
271
261
  post_install_message:
272
262
  rdoc_options: []
273
263
  require_paths:
274
264
  - lib
275
265
  required_ruby_version: !ruby/object:Gem::Requirement
276
- none: false
277
266
  requirements:
278
267
  - - ! '>='
279
268
  - !ruby/object:Gem::Version
280
269
  version: '0'
281
- segments:
282
- - 0
283
- hash: 10081167
284
270
  required_rubygems_version: !ruby/object:Gem::Requirement
285
- none: false
286
271
  requirements:
287
272
  - - ! '>='
288
273
  - !ruby/object:Gem::Version
289
274
  version: '0'
290
275
  requirements: []
291
276
  rubyforge_project:
292
- rubygems_version: 1.8.25
277
+ rubygems_version: 2.2.2
293
278
  signing_key:
294
- specification_version: 3
279
+ specification_version: 4
295
280
  summary: A cross-website product/model information fetcher.
296
281
  test_files: []