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 CHANGED
@@ -1 +1 @@
1
- 0.6.0
1
+ 0.7.0
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{active_exchange}
8
- s.version = "0.6.0"
8
+ s.version = "0.7.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["pjammer"]
@@ -1,12 +1,11 @@
1
- require "active_exchange"
2
1
  namespace :active_exchange do
3
- desc "Go out to Xavier and get the Exchange Data for Today and put it into the ExchangeRate db"
4
- task :daily_seed => :environment do
5
- daily_rates = ActiveExchange.retrieve_data
6
- end
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
- desc "Sync migration files into existing RAILS app - to be done inside rails apps."
9
- task :sync do
10
- system "rsync -ruv #{File.expand_path(File.dirname(__FILE__) + "/db/migrate")} #{RAILS_ROOT}/db"
11
- end
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: 7
4
+ hash: 3
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 6
8
+ - 7
9
9
  - 0
10
- version: 0.6.0
10
+ version: 0.7.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - pjammer