economy 4.0.1.0 → 4.0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/lib/economy.rb +4 -0
- data/lib/economy/cache.rb +14 -7
- data/lib/economy/configuration.rb +1 -1
- data/lib/economy/currencies.rb +1 -5
- data/lib/economy/exchange.rb +1 -1
- data/lib/economy/money.rb +1 -1
- data/lib/economy/railtie.rb +7 -7
- data/lib/economy/version.rb +1 -1
- data/lib/generators/economy/install/install_generator.rb +4 -0
- data/lib/generators/economy/install/templates/configuration.yml +15 -0
- data/lib/generators/economy/install/templates/migration.rb +3 -3
- data/test/dummy/config/application.rb +0 -1
- data/test/dummy/config/database.yml +5 -2
- data/test/dummy/config/initializers/economy.rb +0 -1
- data/test/dummy/config/redis.yml +9 -0
- data/test/dummy/log/test.log +2149 -0
- data/test/generator_test.rb +1 -0
- data/test/rate_test.rb +1 -1
- data/test/support/{rates_helper.rb → rate_helper.rb} +1 -1
- data/test/task_test.rb +1 -1
- metadata +7 -4
data/test/generator_test.rb
CHANGED
@@ -13,6 +13,7 @@ class GeneratorTest < Rails::Generators::TestCase
|
|
13
13
|
self.class.tests Economy::Generators::InstallGenerator
|
14
14
|
run_generator
|
15
15
|
assert_file 'config/initializers/economy.rb'
|
16
|
+
assert_file 'config/redis.yml'
|
16
17
|
assert_migration 'db/migrate/create_exchanges.rb'
|
17
18
|
end
|
18
19
|
|
data/test/rate_test.rb
CHANGED
data/test/task_test.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: economy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mmontossi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -96,6 +96,7 @@ files:
|
|
96
96
|
- lib/economy/rates/yahoo.rb
|
97
97
|
- lib/economy/version.rb
|
98
98
|
- lib/generators/economy/install/install_generator.rb
|
99
|
+
- lib/generators/economy/install/templates/configuration.yml
|
99
100
|
- lib/generators/economy/install/templates/initializer.rb
|
100
101
|
- lib/generators/economy/install/templates/migration.rb
|
101
102
|
- lib/tasks/economy.rake
|
@@ -130,6 +131,7 @@ files:
|
|
130
131
|
- test/dummy/config/initializers/session_store.rb
|
131
132
|
- test/dummy/config/initializers/wrap_parameters.rb
|
132
133
|
- test/dummy/config/locales/en.yml
|
134
|
+
- test/dummy/config/redis.yml
|
133
135
|
- test/dummy/config/routes.rb
|
134
136
|
- test/dummy/config/secrets.yml
|
135
137
|
- test/dummy/db/migrate/20161115135521_create_exchanges.rb
|
@@ -150,7 +152,7 @@ files:
|
|
150
152
|
- test/rate_test.rb
|
151
153
|
- test/record_test.rb
|
152
154
|
- test/support/money_helper.rb
|
153
|
-
- test/support/
|
155
|
+
- test/support/rate_helper.rb
|
154
156
|
- test/task_test.rb
|
155
157
|
- test/test_helper.rb
|
156
158
|
homepage: https://github.com/mmontossi/economy
|
@@ -207,6 +209,7 @@ test_files:
|
|
207
209
|
- test/dummy/config/initializers/session_store.rb
|
208
210
|
- test/dummy/config/initializers/wrap_parameters.rb
|
209
211
|
- test/dummy/config/locales/en.yml
|
212
|
+
- test/dummy/config/redis.yml
|
210
213
|
- test/dummy/config/routes.rb
|
211
214
|
- test/dummy/config/secrets.yml
|
212
215
|
- test/dummy/config.ru
|
@@ -229,6 +232,6 @@ test_files:
|
|
229
232
|
- test/rate_test.rb
|
230
233
|
- test/record_test.rb
|
231
234
|
- test/support/money_helper.rb
|
232
|
-
- test/support/
|
235
|
+
- test/support/rate_helper.rb
|
233
236
|
- test/task_test.rb
|
234
237
|
- test/test_helper.rb
|