economy 4.0.1.0 → 4.0.2.0

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.
@@ -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
 
@@ -1,7 +1,7 @@
1
1
  require 'test_helper'
2
2
 
3
3
  class RateTest < ActiveSupport::TestCase
4
- include RatesHelper
4
+ include RateHelper
5
5
 
6
6
  test 'retries' do
7
7
  base = Economy::Rates::Base.new
@@ -1,4 +1,4 @@
1
- module RatesHelper
1
+ module RateHelper
2
2
  extend ActiveSupport::Concern
3
3
 
4
4
  private
@@ -1,7 +1,7 @@
1
1
  require 'test_helper'
2
2
 
3
3
  class TaskTest < ActiveSupport::TestCase
4
- include RatesHelper
4
+ include RateHelper
5
5
 
6
6
  setup do
7
7
  Dummy::Application.load_tasks
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.1.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-07 00:00:00.000000000 Z
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/rates_helper.rb
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/rates_helper.rb
235
+ - test/support/rate_helper.rb
233
236
  - test/task_test.rb
234
237
  - test/test_helper.rb