dolarblue 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 05b7c9859ba4b1c5081f33dd8595dc3b3c869dc7
4
- data.tar.gz: 2e95fc8add7d2965c59d0fe596b2e521c8372be7
3
+ metadata.gz: 48074704fea475b3a6ef86f1a828926a8b6cf54b
4
+ data.tar.gz: 0bdfb7bfff9cca13d4d1199257db7f69209ba384
5
5
  SHA512:
6
- metadata.gz: c8344dfa4f5719517033033efdef333a54c6328bcc62fcd5d60aee5dd4c7d57823695596d0fbb6ee9f532b3196d561a424a7e9c7312ae61fef95bb34ea570d3c
7
- data.tar.gz: 9da662bc43b017e650f8dd48e97f1ec0a7bf411774806dbc5183b92dbf6448f5fd174a0311a5c9a59d5ae98443a7b3b47e20b759c30690fe7c8a9b4d27275f5b
6
+ metadata.gz: a1556347d1fbb082324ad6912d09a310dcf8f80767cf9a5fb42e7e1be6f75b56863147959de7fe91c7dc6aa6dfec33410447ac25c851419788f35fb1a4b5b832
7
+ data.tar.gz: b062de542306aae8d66e7b6008e76ef106a7cd8a957977f1111695cd8b6b5ad3a88181033f14256aaa461f2cb4087f0c460bcd5c82e29b3ea35ae746c7168f46
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.1.0
1
+ 2.1.1
data/.travis.yml CHANGED
@@ -3,9 +3,9 @@ language: ruby
3
3
  rvm:
4
4
  - 1.9.3
5
5
  - 2.0.0
6
- - 2.1.0
7
- - jruby-1.7.9
8
- - rbx-2.2.1
6
+ - 2.1.1
7
+ - jruby-1.7.12
8
+ - rbx-2.2.6
9
9
 
10
10
  install:
11
11
  - travis_retry bundle install
data/CHANGELOG.md CHANGED
@@ -1,4 +1,26 @@
1
- ## [In git](https://github.com/elgalu/dolarblue/compare/v0.4.0...HEAD)
1
+ ## [In git](https://github.com/elgalu/dolarblue/compare/v0.5.1...HEAD)
2
+
3
+ ### New Features
4
+ * n/a
5
+
6
+ ### Bug Fixes
7
+ * n/a
8
+
9
+ ### Chores
10
+ * n/a
11
+
12
+ ## [v0.5.1](https://github.com/elgalu/dolarblue/tree/v0.5.1)
13
+
14
+ ### New Features
15
+ * n/a
16
+
17
+ ### Bug Fixes
18
+ * Fixed xpath selector. (Leo Gallucci)
19
+
20
+ ### Chores
21
+ * Upgraded gem dependencies and latest Ruby version. (Leo Gallucci)
22
+
23
+ ## [v0.5.0](https://github.com/elgalu/dolarblue/tree/v0.5.0)
2
24
 
3
25
  ### New Features
4
26
  * n/a
data/Gemfile CHANGED
@@ -16,8 +16,8 @@ unless %w(jruby rbx).include? RUBY_ENGINE
16
16
  end
17
17
 
18
18
  group :development do
19
- gem 'redcarpet', '>= 3' # redcarpet doesn't currently works with jruby nor rbx. kramdown is a possible alternative
20
- gem 'yard', '>= 0.8.7.3' # no need to generate yard docs from jruby nor rbx
19
+ gem 'redcarpet', '>= 3.1.1' # redcarpet doesn't currently works with jruby nor rbx. kramdown is a possible alternative
20
+ gem 'yard', '>= 0.8.7.4' # no need to generate yard docs from jruby nor rbx
21
21
  gem 'pry-stack_explorer' # adds command `show-stack`
22
22
  gem 'pry-debugger' # adds commands `continue, step, next, finish`
23
23
  end
data/Gemfile.lock CHANGED
@@ -1,90 +1,90 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dolarblue (0.4.1.dev)
5
- configatron (>= 3.0.0.rc2)
6
- nokogiri (>= 1.6.1)
4
+ dolarblue (0.5.1)
5
+ configatron (~> 3.1, >= 3.1.3)
6
+ nokogiri (~> 1.6, >= 1.6.1)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- addressable (2.3.5)
11
+ addressable (2.3.6)
12
12
  binding_of_caller (0.7.2)
13
13
  debug_inspector (>= 0.0.1)
14
14
  coderay (1.1.0)
15
- columnize (0.3.6)
16
- configatron (3.0.0.rc2)
15
+ columnize (0.8.9)
16
+ configatron (3.1.3)
17
17
  coveralls (0.7.0)
18
18
  multi_json (~> 1.3)
19
19
  rest-client
20
20
  simplecov (>= 0.7)
21
21
  term-ansicolor
22
22
  thor
23
- crack (0.4.1)
24
- safe_yaml (~> 0.9.0)
23
+ crack (0.4.2)
24
+ safe_yaml (~> 1.0.0)
25
25
  debug_inspector (0.0.2)
26
- debugger (1.6.5)
26
+ debugger (1.6.6)
27
27
  columnize (>= 0.3.1)
28
28
  debugger-linecache (~> 1.2.0)
29
- debugger-ruby_core_source (~> 1.3.1)
29
+ debugger-ruby_core_source (~> 1.3.2)
30
30
  debugger-linecache (1.2.0)
31
- debugger-ruby_core_source (1.3.1)
31
+ debugger-ruby_core_source (1.3.2)
32
32
  diff-lcs (1.2.5)
33
- docile (1.1.1)
33
+ docile (1.1.3)
34
34
  method_source (0.8.2)
35
- mime-types (2.0)
36
- mini_portile (0.5.2)
37
- multi_json (1.8.3)
35
+ mime-types (2.2)
36
+ mini_portile (0.5.3)
37
+ multi_json (1.9.3)
38
38
  nokogiri (1.6.1)
39
39
  mini_portile (~> 0.5.0)
40
- pry (0.9.12.4)
40
+ pry (0.9.12.6)
41
41
  coderay (~> 1.0)
42
42
  method_source (~> 0.8)
43
43
  slop (~> 3.4)
44
44
  pry-debugger (0.2.2)
45
45
  debugger (~> 1.3)
46
46
  pry (~> 0.9.10)
47
- pry-doc (0.5.1)
48
- pry (>= 0.9)
49
- yard (>= 0.8)
47
+ pry-doc (0.6.0)
48
+ pry (~> 0.9)
49
+ yard (~> 0.8)
50
50
  pry-stack_explorer (0.4.9.1)
51
51
  binding_of_caller (>= 0.7)
52
52
  pry (>= 0.9.11)
53
- rake (10.1.1)
54
- redcarpet (3.0.0)
53
+ rake (10.3.1)
54
+ redcarpet (3.1.1)
55
55
  rest-client (1.6.7)
56
56
  mime-types (>= 1.16)
57
57
  rspec (2.14.1)
58
58
  rspec-core (~> 2.14.0)
59
59
  rspec-expectations (~> 2.14.0)
60
60
  rspec-mocks (~> 2.14.0)
61
- rspec-core (2.14.7)
62
- rspec-expectations (2.14.4)
61
+ rspec-core (2.14.8)
62
+ rspec-expectations (2.14.5)
63
63
  diff-lcs (>= 1.1.3, < 2.0)
64
- rspec-mocks (2.14.4)
64
+ rspec-mocks (2.14.6)
65
65
  rubygems-tasks (0.2.4)
66
- safe_yaml (0.9.7)
66
+ safe_yaml (1.0.3)
67
67
  simplecov (0.8.2)
68
68
  docile (~> 1.1.0)
69
69
  multi_json
70
70
  simplecov-html (~> 0.8.0)
71
71
  simplecov-html (0.8.0)
72
- slop (3.4.7)
73
- term-ansicolor (1.2.2)
74
- tins (~> 0.8)
75
- thor (0.18.1)
76
- tins (0.13.1)
77
- vcr (2.8.0)
78
- webmock (1.16.1)
72
+ slop (3.5.0)
73
+ term-ansicolor (1.3.0)
74
+ tins (~> 1.0)
75
+ thor (0.19.1)
76
+ tins (1.1.0)
77
+ vcr (2.9.0)
78
+ webmock (1.17.4)
79
79
  addressable (>= 2.2.7)
80
80
  crack (>= 0.3.2)
81
- yard (0.8.7.3)
81
+ yard (0.8.7.4)
82
82
 
83
83
  PLATFORMS
84
84
  ruby
85
85
 
86
86
  DEPENDENCIES
87
- bundler (>= 1.3.5)
87
+ bundler (>= 1.6.2)
88
88
  coveralls (>= 0.7.0)
89
89
  dolarblue!
90
90
  pry
@@ -92,10 +92,10 @@ DEPENDENCIES
92
92
  pry-doc
93
93
  pry-stack_explorer
94
94
  rake
95
- redcarpet (>= 3)
95
+ redcarpet (>= 3.1.1)
96
96
  rspec (~> 2.14, >= 2.14.1)
97
97
  rubygems-tasks (~> 0.2, >= 0.2.4)
98
98
  simplecov (>= 0.8.2)
99
- vcr (~> 2.8, >= 2.8.0)
100
- webmock (~> 1.16, >= 1.16.1)
101
- yard (>= 0.8.7.3)
99
+ vcr (~> 2.9, >= 2.9.0)
100
+ webmock (~> 1.17, >= 1.17.4)
101
+ yard (>= 0.8.7.4)
data/LICENSE.md CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2013 Leo Gallucci
1
+ Copyright (c) 2014 Leo Gallucci
2
2
 
3
3
  MIT License
4
4
 
data/config/xpaths.yml CHANGED
@@ -2,9 +2,9 @@ base_url: 'http://ambito.com/economia/mercados/monedas/dolar/'
2
2
 
3
3
  blue:
4
4
  buy:
5
- xpath: '//*[@id="contenido"]/div[1]/div[2]/div/div/div[2]/big'
5
+ xpath: '//*[@id="contenido"]/div[2]/div/div/div[2]/big'
6
6
  sell:
7
- xpath: '//*[@id="contenido"]/div[1]/div[2]/div/div/div[3]/big'
7
+ xpath: '//*[@id="contenido"]/div[2]/div/div/div[3]/big'
8
8
 
9
9
  official:
10
10
  buy:
data/dolarblue.gemspec CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
8
8
  spec.name = 'dolarblue'
9
9
  spec.version = Dolarblue::VERSION
10
10
  spec.summary = %q{Query Argentine Peso vs US$ exchange values with particular interest in official vs. street (blue) reference prices.}
11
- spec.description = spec.summary
11
+ spec.description = 'Desc: ' + spec.summary
12
12
 
13
13
  spec.required_ruby_version = '>= 1.9.3'
14
14
  spec.required_rubygems_version = '>= 1.8.25'
@@ -24,19 +24,19 @@ Gem::Specification.new do |spec|
24
24
  spec.executables = spec.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
25
25
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
26
26
 
27
- spec.add_runtime_dependency 'configatron', '>= 3.0.0.rc2'
28
- spec.add_runtime_dependency 'nokogiri', '>= 1.6.1'
27
+ spec.add_runtime_dependency 'configatron', '~> 3.1', '>= 3.1.3'
28
+ spec.add_runtime_dependency 'nokogiri', '~> 1.6', '>= 1.6.1'
29
29
 
30
30
  if RUBY_ENGINE == 'rbx'
31
31
  spec.add_runtime_dependency 'rubysl'
32
32
  spec.add_runtime_dependency 'racc' # Solves https://github.com/rubinius/rubinius/issues/2632#issuecomment-26954565
33
33
  end
34
34
 
35
- spec.add_development_dependency 'bundler', '>= 1.3.5'
36
- spec.add_development_dependency 'rake'
35
+ spec.add_development_dependency 'bundler', '~> 1.6', '>= 1.6.2'
36
+ spec.add_development_dependency 'rake', '~> 10.3', '>= 10.3.1'
37
37
  spec.add_development_dependency 'rspec', '~> 2.14', '>= 2.14.1'
38
- spec.add_development_dependency 'vcr', '~> 2.8', '>= 2.8.0'
39
- spec.add_development_dependency 'webmock', '~> 1.16', '>= 1.16.1'
38
+ spec.add_development_dependency 'vcr', '~> 2.9', '>= 2.9.0'
39
+ spec.add_development_dependency 'webmock', '~> 1.17', '>= 1.17.4'
40
40
  spec.add_development_dependency 'rubygems-tasks', '~> 0.2', '>= 0.2.4'
41
41
 
42
42
  end
@@ -1,3 +1,3 @@
1
1
  class Dolarblue
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -1,153 +1,177 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dolarblue
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leo Gallucci
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-09 00:00:00.000000000 Z
11
+ date: 2014-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: configatron
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 3.0.0.rc2
19
+ version: '3.1'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 3.1.3
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - '>='
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '3.1'
30
+ - - ">="
25
31
  - !ruby/object:Gem::Version
26
- version: 3.0.0.rc2
32
+ version: 3.1.3
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: nokogiri
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
- - - '>='
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '1.6'
40
+ - - ">="
32
41
  - !ruby/object:Gem::Version
33
42
  version: 1.6.1
34
43
  type: :runtime
35
44
  prerelease: false
36
45
  version_requirements: !ruby/object:Gem::Requirement
37
46
  requirements:
38
- - - '>='
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: '1.6'
50
+ - - ">="
39
51
  - !ruby/object:Gem::Version
40
52
  version: 1.6.1
41
53
  - !ruby/object:Gem::Dependency
42
54
  name: bundler
43
55
  requirement: !ruby/object:Gem::Requirement
44
56
  requirements:
45
- - - '>='
57
+ - - "~>"
46
58
  - !ruby/object:Gem::Version
47
- version: 1.3.5
59
+ version: '1.6'
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: 1.6.2
48
63
  type: :development
49
64
  prerelease: false
50
65
  version_requirements: !ruby/object:Gem::Requirement
51
66
  requirements:
52
- - - '>='
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '1.6'
70
+ - - ">="
53
71
  - !ruby/object:Gem::Version
54
- version: 1.3.5
72
+ version: 1.6.2
55
73
  - !ruby/object:Gem::Dependency
56
74
  name: rake
57
75
  requirement: !ruby/object:Gem::Requirement
58
76
  requirements:
59
- - - '>='
77
+ - - "~>"
60
78
  - !ruby/object:Gem::Version
61
- version: '0'
79
+ version: '10.3'
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: 10.3.1
62
83
  type: :development
63
84
  prerelease: false
64
85
  version_requirements: !ruby/object:Gem::Requirement
65
86
  requirements:
66
- - - '>='
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '10.3'
90
+ - - ">="
67
91
  - !ruby/object:Gem::Version
68
- version: '0'
92
+ version: 10.3.1
69
93
  - !ruby/object:Gem::Dependency
70
94
  name: rspec
71
95
  requirement: !ruby/object:Gem::Requirement
72
96
  requirements:
73
- - - ~>
97
+ - - "~>"
74
98
  - !ruby/object:Gem::Version
75
99
  version: '2.14'
76
- - - '>='
100
+ - - ">="
77
101
  - !ruby/object:Gem::Version
78
102
  version: 2.14.1
79
103
  type: :development
80
104
  prerelease: false
81
105
  version_requirements: !ruby/object:Gem::Requirement
82
106
  requirements:
83
- - - ~>
107
+ - - "~>"
84
108
  - !ruby/object:Gem::Version
85
109
  version: '2.14'
86
- - - '>='
110
+ - - ">="
87
111
  - !ruby/object:Gem::Version
88
112
  version: 2.14.1
89
113
  - !ruby/object:Gem::Dependency
90
114
  name: vcr
91
115
  requirement: !ruby/object:Gem::Requirement
92
116
  requirements:
93
- - - ~>
117
+ - - "~>"
94
118
  - !ruby/object:Gem::Version
95
- version: '2.8'
96
- - - '>='
119
+ version: '2.9'
120
+ - - ">="
97
121
  - !ruby/object:Gem::Version
98
- version: 2.8.0
122
+ version: 2.9.0
99
123
  type: :development
100
124
  prerelease: false
101
125
  version_requirements: !ruby/object:Gem::Requirement
102
126
  requirements:
103
- - - ~>
127
+ - - "~>"
104
128
  - !ruby/object:Gem::Version
105
- version: '2.8'
106
- - - '>='
129
+ version: '2.9'
130
+ - - ">="
107
131
  - !ruby/object:Gem::Version
108
- version: 2.8.0
132
+ version: 2.9.0
109
133
  - !ruby/object:Gem::Dependency
110
134
  name: webmock
111
135
  requirement: !ruby/object:Gem::Requirement
112
136
  requirements:
113
- - - ~>
137
+ - - "~>"
114
138
  - !ruby/object:Gem::Version
115
- version: '1.16'
116
- - - '>='
139
+ version: '1.17'
140
+ - - ">="
117
141
  - !ruby/object:Gem::Version
118
- version: 1.16.1
142
+ version: 1.17.4
119
143
  type: :development
120
144
  prerelease: false
121
145
  version_requirements: !ruby/object:Gem::Requirement
122
146
  requirements:
123
- - - ~>
147
+ - - "~>"
124
148
  - !ruby/object:Gem::Version
125
- version: '1.16'
126
- - - '>='
149
+ version: '1.17'
150
+ - - ">="
127
151
  - !ruby/object:Gem::Version
128
- version: 1.16.1
152
+ version: 1.17.4
129
153
  - !ruby/object:Gem::Dependency
130
154
  name: rubygems-tasks
131
155
  requirement: !ruby/object:Gem::Requirement
132
156
  requirements:
133
- - - ~>
157
+ - - "~>"
134
158
  - !ruby/object:Gem::Version
135
159
  version: '0.2'
136
- - - '>='
160
+ - - ">="
137
161
  - !ruby/object:Gem::Version
138
162
  version: 0.2.4
139
163
  type: :development
140
164
  prerelease: false
141
165
  version_requirements: !ruby/object:Gem::Requirement
142
166
  requirements:
143
- - - ~>
167
+ - - "~>"
144
168
  - !ruby/object:Gem::Version
145
169
  version: '0.2'
146
- - - '>='
170
+ - - ">="
147
171
  - !ruby/object:Gem::Version
148
172
  version: 0.2.4
149
- description: Query Argentine Peso vs US$ exchange values with particular interest
150
- in official vs. street (blue) reference prices.
173
+ description: 'Desc: Query Argentine Peso vs US$ exchange values with particular interest
174
+ in official vs. street (blue) reference prices.'
151
175
  email:
152
176
  - elgalu3@gmail.com
153
177
  executables:
@@ -156,12 +180,12 @@ executables:
156
180
  extensions: []
157
181
  extra_rdoc_files: []
158
182
  files:
159
- - .gitignore
160
- - .rspec
161
- - .ruby-gemset
162
- - .ruby-version
163
- - .travis.yml
164
- - .yardopts
183
+ - ".gitignore"
184
+ - ".rspec"
185
+ - ".ruby-gemset"
186
+ - ".ruby-version"
187
+ - ".travis.yml"
188
+ - ".yardopts"
165
189
  - CHANGELOG.md
166
190
  - Gemfile
167
191
  - Gemfile.lock
@@ -195,17 +219,17 @@ require_paths:
195
219
  - lib
196
220
  required_ruby_version: !ruby/object:Gem::Requirement
197
221
  requirements:
198
- - - '>='
222
+ - - ">="
199
223
  - !ruby/object:Gem::Version
200
224
  version: 1.9.3
201
225
  required_rubygems_version: !ruby/object:Gem::Requirement
202
226
  requirements:
203
- - - '>='
227
+ - - ">="
204
228
  - !ruby/object:Gem::Version
205
229
  version: 1.8.25
206
230
  requirements: []
207
231
  rubyforge_project:
208
- rubygems_version: 2.2.0
232
+ rubygems_version: 2.2.2
209
233
  signing_key:
210
234
  specification_version: 4
211
235
  summary: Query Argentine Peso vs US$ exchange values with particular interest in official