money-api-bank 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 28e7b9fff6938db9c1c772756daddb532e89dec8
4
- data.tar.gz: 64f5d28440a9be07e77b2801c07adb1dc0dfe6ac
3
+ metadata.gz: da3e3857dce8640b4807e7a236d1a158769d0013
4
+ data.tar.gz: 0ee7ff79f67a6d7c87ad68716905aeead5483a14
5
5
  SHA512:
6
- metadata.gz: c125a2526df1f9d481e06a308a83d85d55ee98d67395498a423562c97f5f0f528dcb081b91d3dea7f9b73c40b7517129b6a3d07007f70fd2fcb1677a3d340b62
7
- data.tar.gz: f8bf8bc51d241ad0b655e7f1d66f5152f5de00b8c162efc5d2fcf09de5339053ea15f455a7eaaf5cbed309cd2561394693e41a030decfed0dd3f6b82ef1aa60a
6
+ metadata.gz: 40985280f74b0620202fc66ef005a9de6f3168385799a384bb3de3c70ab5a17a26b4f6c54cb65dec56f60a0a84e24bbf49defc56b2b6600dc621e3af838e53c3
7
+ data.tar.gz: '09394a674827aefb390a189bdbd8a056e15b7ff6ce778fb1b01988180eaf345498d078595f3d25416e2572b90063c5baf9b16a7b5cbc3caab699e58cda44f03a'
data/.gitignore CHANGED
@@ -7,3 +7,4 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
+ .idea/
@@ -14,7 +14,7 @@ class Money
14
14
  rates_source = API_URL + "?on=#{date.strftime('%Y-%m-%d')}&from=#{from}&to=#{to}"
15
15
  doc = Yajl::Parser.parse(open(rates_source).read)
16
16
 
17
- internal_set_rate(date, doc.from, doc.to, doc.rate) if doc.blank?
17
+ internal_set_rate(date, doc.from, doc.to, doc.rate) unless doc.blank?
18
18
  end
19
19
  end
20
20
  end
@@ -1,5 +1,5 @@
1
1
  class Money
2
2
  module Bank
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: money-api-bank
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - MJ Abadilla
@@ -103,11 +103,6 @@ extensions: []
103
103
  extra_rdoc_files: []
104
104
  files:
105
105
  - ".gitignore"
106
- - ".idea/.rakeTasks"
107
- - ".idea/misc.xml"
108
- - ".idea/modules.xml"
109
- - ".idea/money-api-bank.iml"
110
- - ".idea/workspace.xml"
111
106
  - CODE_OF_CONDUCT.md
112
107
  - Gemfile
113
108
  - LICENSE
@@ -119,6 +114,7 @@ files:
119
114
  - lib/money/bank/api_bank.rb
120
115
  - lib/money/bank/api_exchange_rates_loader.rb
121
116
  - lib/money/bank/version.rb
117
+ - money-api-bank-0.1.0.gem
122
118
  - money-api-bank.gemspec
123
119
  homepage: https://github.com/mjmaix/money-api-bank
124
120
  licenses: []
data/.idea/.rakeTasks DELETED
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <Settings><!--This file was automatically generated by Ruby plugin.
3
- You are allowed to:
4
- 1. Remove rake task
5
- 2. Add existing rake tasks
6
- To add existing rake tasks automatically delete this file and reload the project.
7
- --><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Run tests" fullCmd="test" taksId="test" /><RakeTask description="" fullCmd="default" taksId="default" /></RakeGroup></Settings>
data/.idea/misc.xml DELETED
@@ -1,4 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectRootManager" version="2" project-jdk-name="RVM: ruby-2.4.0" project-jdk-type="RUBY_SDK" />
4
- </project>
data/.idea/modules.xml DELETED
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectModuleManager">
4
- <modules>
5
- <module fileurl="file://$PROJECT_DIR$/.idea/money-api-bank.iml" filepath="$PROJECT_DIR$/.idea/money-api-bank.iml" />
6
- </modules>
7
- </component>
8
- </project>
@@ -1,15 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="RUBY_MODULE" version="4">
3
- <component name="NewModuleRootManager">
4
- <content url="file://$MODULE_DIR$" />
5
- <orderEntry type="inheritedJdk" />
6
- <orderEntry type="sourceFolder" forTests="false" />
7
- <orderEntry type="library" scope="PROVIDED" name="i18n (v0.8.1, RVM: ruby-2.4.0) [gem]" level="application" />
8
- <orderEntry type="library" scope="PROVIDED" name="minitest (v5.10.1, RVM: ruby-2.4.0) [gem]" level="application" />
9
- <orderEntry type="library" scope="PROVIDED" name="money (v6.8.2, RVM: ruby-2.4.0) [gem]" level="application" />
10
- <orderEntry type="library" scope="PROVIDED" name="rake (v10.5.0, RVM: ruby-2.4.0) [gem]" level="application" />
11
- <orderEntry type="library" scope="PROVIDED" name="rr (v1.2.0, RVM: ruby-2.4.0) [gem]" level="application" />
12
- <orderEntry type="library" scope="PROVIDED" name="sixarm_ruby_unaccent (v1.1.1, RVM: ruby-2.4.0) [gem]" level="application" />
13
- <orderEntry type="library" scope="PROVIDED" name="yajl-ruby (v1.3.0, RVM: ruby-2.4.0) [gem]" level="application" />
14
- </component>
15
- </module>
data/.idea/workspace.xml DELETED
@@ -1,20 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ChangeListManager">
4
- <option name="TRACKING_ENABLED" value="true" />
5
- <option name="SHOW_DIALOG" value="false" />
6
- <option name="HIGHLIGHT_CONFLICTS" value="true" />
7
- <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
8
- <option name="LAST_RESOLUTION" value="IGNORE" />
9
- </component>
10
- <component name="ShelveChangesManager" show_recycled="false">
11
- <option name="remove_strategy" value="false" />
12
- </component>
13
- <component name="VcsContentAnnotationSettings">
14
- <option name="myLimit" value="2678400000" />
15
- </component>
16
- <component name="XDebuggerManager">
17
- <breakpoint-manager />
18
- <watches-manager />
19
- </component>
20
- </project>