active_exchange 0.6.0 → 0.7.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.
- data/VERSION +1 -1
- data/active_exchange.gemspec +1 -1
- data/lib/tasks/daily_exchange_rates.rake +8 -9
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.7.0
|
data/active_exchange.gemspec
CHANGED
@@ -1,12 +1,11 @@
|
|
1
|
-
require "active_exchange"
|
2
1
|
namespace :active_exchange do
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
2
|
+
desc "Go out to Xavier and get the Exchange Data for Today and put it into the ExchangeRate db"
|
3
|
+
task :daily_seed => :environment do
|
4
|
+
ActiveExchange.get_daily_data
|
5
|
+
end
|
7
6
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
7
|
+
desc "Sync migration files into existing RAILS app - to be done inside rails apps."
|
8
|
+
task :sync do
|
9
|
+
system "rsync -ruv #{File.expand_path(File.dirname(__FILE__) + "/db/migrate")} #{RAILS.root}/db"
|
10
|
+
end
|
12
11
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_exchange
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
8
|
+
- 7
|
9
9
|
- 0
|
10
|
-
version: 0.
|
10
|
+
version: 0.7.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- pjammer
|