This repository has been archived by the owner on Apr 19, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Link to matiu/dolar-blue at README.md
Update .travis.yml with up to date Ruby versions Added link to codealchemist/hubot-dolar-blue Fix source url. Upgrade to rspec 3. Upgrade Ruby & others. Fix LICENSE. Fix travis rbx with rubinius-2.5.7 Ruby 2.2.4, dollar Bolsa, xpath Fix new xpath selectors, remove rbx
- Loading branch information
Showing
19 changed files
with
167 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.1.1 | ||
2.2.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,101 +1,92 @@ | ||
PATH | ||
remote: . | ||
specs: | ||
dolarblue (0.5.1) | ||
configatron (~> 3.1, >= 3.1.3) | ||
nokogiri (~> 1.6, >= 1.6.1) | ||
dolarblue (0.6.0) | ||
configatron (~> 3.2, >= 3.2.0) | ||
nokogiri (~> 1.6, >= 1.6.2) | ||
|
||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
addressable (2.3.6) | ||
binding_of_caller (0.7.2) | ||
debug_inspector (>= 0.0.1) | ||
coderay (1.1.0) | ||
columnize (0.8.9) | ||
configatron (3.1.3) | ||
coveralls (0.7.0) | ||
multi_json (~> 1.3) | ||
rest-client | ||
simplecov (>= 0.7) | ||
term-ansicolor | ||
thor | ||
crack (0.4.2) | ||
addressable (2.4.0) | ||
configatron (3.2.0) | ||
coveralls (0.8.10) | ||
json (~> 1.8) | ||
rest-client (>= 1.6.8, < 2) | ||
simplecov (~> 0.11.0) | ||
term-ansicolor (~> 1.3) | ||
thor (~> 0.19.1) | ||
tins (~> 1.6.0) | ||
crack (0.4.3) | ||
safe_yaml (~> 1.0.0) | ||
debug_inspector (0.0.2) | ||
debugger (1.6.6) | ||
columnize (>= 0.3.1) | ||
debugger-linecache (~> 1.2.0) | ||
debugger-ruby_core_source (~> 1.3.2) | ||
debugger-linecache (1.2.0) | ||
debugger-ruby_core_source (1.3.2) | ||
diff-lcs (1.2.5) | ||
docile (1.1.3) | ||
method_source (0.8.2) | ||
mime-types (2.2) | ||
mini_portile (0.5.3) | ||
multi_json (1.9.3) | ||
nokogiri (1.6.1) | ||
mini_portile (~> 0.5.0) | ||
pry (0.9.12.6) | ||
coderay (~> 1.0) | ||
method_source (~> 0.8) | ||
slop (~> 3.4) | ||
pry-debugger (0.2.2) | ||
debugger (~> 1.3) | ||
pry (~> 0.9.10) | ||
pry-doc (0.6.0) | ||
pry (~> 0.9) | ||
yard (~> 0.8) | ||
pry-stack_explorer (0.4.9.1) | ||
binding_of_caller (>= 0.7) | ||
pry (>= 0.9.11) | ||
rake (10.3.1) | ||
redcarpet (3.1.1) | ||
rest-client (1.6.7) | ||
mime-types (>= 1.16) | ||
rspec (2.14.1) | ||
rspec-core (~> 2.14.0) | ||
rspec-expectations (~> 2.14.0) | ||
rspec-mocks (~> 2.14.0) | ||
rspec-core (2.14.8) | ||
rspec-expectations (2.14.5) | ||
diff-lcs (>= 1.1.3, < 2.0) | ||
rspec-mocks (2.14.6) | ||
docile (1.1.5) | ||
domain_name (0.5.25) | ||
unf (>= 0.0.5, < 1.0.0) | ||
hashdiff (0.2.3) | ||
http-cookie (1.0.2) | ||
domain_name (~> 0.5) | ||
json (1.8.3) | ||
mime-types (2.99) | ||
mini_portile2 (2.0.0) | ||
netrc (0.11.0) | ||
nokogiri (1.6.7.1) | ||
mini_portile2 (~> 2.0.0.rc2) | ||
rake (10.4.2) | ||
redcarpet (3.3.3) | ||
rest-client (1.8.0) | ||
http-cookie (>= 1.0.2, < 2.0) | ||
mime-types (>= 1.16, < 3.0) | ||
netrc (~> 0.7) | ||
rspec (3.4.0) | ||
rspec-core (~> 3.4.0) | ||
rspec-expectations (~> 3.4.0) | ||
rspec-mocks (~> 3.4.0) | ||
rspec-core (3.4.1) | ||
rspec-support (~> 3.4.0) | ||
rspec-expectations (3.4.0) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.4.0) | ||
rspec-mocks (3.4.0) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.4.0) | ||
rspec-support (3.4.1) | ||
rubygems-tasks (0.2.4) | ||
safe_yaml (1.0.3) | ||
simplecov (0.8.2) | ||
safe_yaml (1.0.4) | ||
simplecov (0.11.1) | ||
docile (~> 1.1.0) | ||
multi_json | ||
simplecov-html (~> 0.8.0) | ||
simplecov-html (0.8.0) | ||
slop (3.5.0) | ||
term-ansicolor (1.3.0) | ||
json (~> 1.8) | ||
simplecov-html (~> 0.10.0) | ||
simplecov-html (0.10.0) | ||
term-ansicolor (1.3.2) | ||
tins (~> 1.0) | ||
thor (0.19.1) | ||
tins (1.1.0) | ||
vcr (2.9.0) | ||
webmock (1.17.4) | ||
addressable (>= 2.2.7) | ||
tins (1.6.0) | ||
unf (0.1.4) | ||
unf_ext | ||
unf_ext (0.0.7.1) | ||
vcr (2.9.3) | ||
webmock (1.22.3) | ||
addressable (>= 2.3.6) | ||
crack (>= 0.3.2) | ||
yard (0.8.7.4) | ||
hashdiff | ||
yard (0.8.7.6) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
bundler (~> 1.6, >= 1.6.2) | ||
coveralls (>= 0.7.0) | ||
bundler (~> 1.10, >= 1.10.4) | ||
coveralls (>= 0.7.12) | ||
dolarblue! | ||
pry | ||
pry-debugger | ||
pry-doc | ||
pry-stack_explorer | ||
rake (~> 10.3, >= 10.3.1) | ||
rake (~> 10.4, >= 10.4.2) | ||
redcarpet (>= 3.1.1) | ||
rspec (~> 2.14, >= 2.14.1) | ||
rspec (~> 3.3, >= 3.3.0) | ||
rubygems-tasks (~> 0.2, >= 0.2.4) | ||
simplecov (>= 0.8.2) | ||
vcr (~> 2.9, >= 2.9.0) | ||
webmock (~> 1.17, >= 1.17.4) | ||
simplecov (>= 0.10.0) | ||
vcr (~> 2.9, >= 2.9.3) | ||
webmock (~> 1.21, >= 1.21.0) | ||
yard (>= 0.8.7.4) | ||
|
||
BUNDLED WITH | ||
1.11.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,3 @@ | ||
Copyright (c) 2014 Leo Gallucci | ||
|
||
MIT License | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining | ||
a copy of this software and associated documentation files (the | ||
"Software"), to deal in the Software without restriction, including | ||
without limitation the rights to use, copy, modify, merge, publish, | ||
distribute, sublicense, and/or sell copies of the Software, and to | ||
permit persons to whom the Software is furnished to do so, subject to | ||
the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE | ||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION | ||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
The project is made possible by volunteer contributors who have put in thousands of hours of their own time, and made the source code freely available under the [Apache 2.0 license](http://www.apache.org/licenses/LICENSE-2.0). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
base_url: 'http://ambito.com/economia/mercados/monedas/dolar/' | ||
base_url: 'http://www.ambito.com/economia/mercados/monedas/dolar/' | ||
|
||
blue: | ||
buy: | ||
xpath: '//*[@id="contenido"]/div[2]/div/div/div[2]/big' | ||
xpath: '//*[@id="contenido"]/div[1]/div[2]/div/div/div[2]/big' | ||
sell: | ||
xpath: '//*[@id="contenido"]/div[2]/div/div/div[3]/big' | ||
xpath: '//*[@id="contenido"]/div[1]/div[2]/div/div/div[3]/big' | ||
|
||
official: | ||
buy: | ||
xpath: '//*[@id="contenido"]/div[1]/div[1]/div/div/div[2]/big' | ||
sell: | ||
xpath: '//*[@id="contenido"]/div[1]/div[1]/div/div/div[3]/big' | ||
|
||
card: | ||
bolsa: | ||
sell: | ||
xpath: '//*[@id="contenido"]/div[4]/div/div/div[2]/big' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.