From 241c10791044b41da44bfd15f0f4fa0d15026555 Mon Sep 17 00:00:00 2001 From: phil Date: Wed, 11 Jun 2014 16:20:03 +0200 Subject: [PATCH] remove gems: roadie, i18n_data, globalize3, money-rails, eu_central_bank, will_paginate-bootsrap --- Gemfile | 6 ---- Gemfile.lock | 28 ------------------ config/initializers/globalize_fix.rb | 3 -- config/initializers/money.rb | 43 ---------------------------- 4 files changed, 80 deletions(-) delete mode 100644 config/initializers/globalize_fix.rb delete mode 100644 config/initializers/money.rb diff --git a/Gemfile b/Gemfile index 8ada81b16..f2fabe83b 100644 --- a/Gemfile +++ b/Gemfile @@ -18,7 +18,6 @@ gem 'coffee-rails' #, '~> 3.2.1' gem 'therubyracer', :platforms => :ruby gem 'uglifier'#, '>= 1.0.3' -gem 'roadie', '2.4.3' gem 'airbrake' gem 'rails_config' gem 'foundation-rails' @@ -28,13 +27,8 @@ gem 'omniauth-facebook' gem 'omniauth-google-oauth2' gem 'friendly_id' # make urls more friendly gem 'will_paginate' # pagination-extension to active-record -gem 'will_paginate-bootstrap' # integrate twitter-bootstrap with will_paginate -gem 'i18n_data' # delivers languages as key-value hash gem 'dragonfly', '1.0.3' # used for images -gem 'globalize3' # internationalization gem 'acts-as-taggable-on', '3.0.1' # tag-system -gem 'money-rails' # integrates some helper methods and AR-instance-functions... -gem 'eu_central_bank' # financial exchange rates gem 'cancan' # authorization/privileges gem 'private_pub' # push service gem 'thin' # faster development-server diff --git a/Gemfile.lock b/Gemfile.lock index 2ccfeed10..5df19db31 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -104,8 +104,6 @@ GEM cookiejar (0.3.0) crack (0.4.1) safe_yaml (~> 0.9.0) - css_parser (1.3.5) - addressable daemons (1.1.9) debug_inspector (0.0.2) debugger (1.6.5) @@ -141,9 +139,6 @@ GEM em-socksify (0.3.0) eventmachine (>= 1.0.0.beta.4) erubis (2.7.0) - eu_central_bank (0.3.7) - money (>= 5.0.0) - nokogiri eventmachine (1.0.3) excon (0.33.0) execjs (2.0.2) @@ -194,9 +189,6 @@ GEM sass (>= 3.2.0) friendly_id (5.0.2) activerecord (~> 4.0.0) - globalize3 (0.1.0) - activemodel (>= 3.0.0) - activerecord (>= 3.0.0) guard (2.2.5) formatador (>= 0.2.4) listen (~> 2.1) @@ -218,7 +210,6 @@ GEM http_parser.rb (0.6.0) httpauth (0.2.0) i18n (0.6.9) - i18n_data (0.4.0) jquery-rails (3.0.4) railties (>= 3.0, < 5.0) thor (>= 0.14, < 2.0) @@ -252,12 +243,6 @@ GEM mime-types (1.25.1) mini_portile (0.5.2) minitest (4.7.5) - money (6.0.0) - i18n (~> 0.6.4) - money-rails (0.9.0) - activesupport (>= 3.0) - money (~> 6.0.0) - railties (>= 3.0) multi_json (1.9.2) multipart-post (1.2.0) net-scp (1.1.2) @@ -331,11 +316,6 @@ GEM rb-inotify (0.9.3) ffi (>= 0.5.0) ref (1.0.5) - roadie (2.4.3) - actionmailer (> 3.0.0, < 5.0.0) - css_parser (~> 1.3.4) - nokogiri (> 1.5.0) - sprockets rspec (2.14.1) rspec-core (~> 2.14.0) rspec-expectations (~> 2.14.0) @@ -430,8 +410,6 @@ GEM activesupport (>= 2.3.4) chronic (>= 0.6.3) will_paginate (3.0.5) - will_paginate-bootstrap (1.0.0) - will_paginate (>= 3.0.3) xpath (2.0.0) nokogiri (~> 1.3) zeus (0.13.3) @@ -466,23 +444,19 @@ DEPENDENCIES disable_assets_logger dragonfly (= 1.0.3) dynamic_form - eu_central_bank factory_girl_rails (~> 4.0) faker fog foreman foundation-rails friendly_id - globalize3 guard-rspec haml-rails - i18n_data jquery-rails jquery-ui-rails launchy less-rails (= 2.3.2) meta_request - money-rails omniauth-facebook omniauth-google-oauth2 pg @@ -495,7 +469,6 @@ DEPENDENCIES rails (= 4.0.2) rails-i18n rails_config - roadie (= 2.4.3) rspec-rails rspec-retry sass-rails @@ -514,5 +487,4 @@ DEPENDENCIES webmock (~> 1.15.0) whenever will_paginate - will_paginate-bootstrap zeus diff --git a/config/initializers/globalize_fix.rb b/config/initializers/globalize_fix.rb deleted file mode 100644 index 73feaae75..000000000 --- a/config/initializers/globalize_fix.rb +++ /dev/null @@ -1,3 +0,0 @@ -Globalize::ActiveRecord::Translation.class_eval do - attr_accessible :locale -end \ No newline at end of file diff --git a/config/initializers/money.rb b/config/initializers/money.rb deleted file mode 100644 index 618025b55..000000000 --- a/config/initializers/money.rb +++ /dev/null @@ -1,43 +0,0 @@ -# encoding : utf-8 - -MoneyRails.configure do |config| - -# To set the default currency -# - config.default_currency = :eur - - # Set default bank object - # - bank = EuCentralBank.new - bank.update_rates - config.default_bank = bank -end - -#module ExchangeRates -# def self.update(i=0) -# unless i < 4 -# begin -# Money.default_bank.update_rates -# Money.default_bank.save_rates(File.join(Rails.root,'log',"exchange_rates_#{Time.now.to_i}.xml")) -# rescue Exception => e -# Rails.logger.error("Money - initializer: #{e.to_s}") -# sleep 1 -# ExchangeRates.update(i += 1) -# end -# else -# Rails.logger.warn("Money - initializer: could not fetch exchange_rates - ignoring!") -# latest_xml = Dir.glob(File.join(Rails.root,"tmp","exchange_rates_*"))[-1] -# if latest_xml && File.readable?(latest_xml) -# Money.default_bank.update_rates(latest_xml) -# return true -# else -# return false -# end -# end -# -# end -# -#nd -# -#xchangeRates.update -