Compare commits
No commits in common. "90be4c513df1df33ae8e7081323880ad51b0fa08" and "d595ae81171ab0e1d5d0c8f0c5abe3f7634607ea" have entirely different histories.
90be4c513d
...
d595ae8117
3 changed files with 1 additions and 15 deletions
2
Gemfile
2
Gemfile
|
@ -57,5 +57,3 @@ gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
|||
|
||||
gem "haml-rails", "~> 2.0"
|
||||
gem "bcrypt"
|
||||
gem 'roo'
|
||||
gem 'roo-xls'
|
||||
|
|
12
Gemfile.lock
12
Gemfile.lock
|
@ -165,14 +165,6 @@ GEM
|
|||
ffi (~> 1.0)
|
||||
regexp_parser (2.2.0)
|
||||
rexml (3.2.5)
|
||||
roo (2.8.3)
|
||||
nokogiri (~> 1)
|
||||
rubyzip (>= 1.3.0, < 3.0.0)
|
||||
roo-xls (1.2.0)
|
||||
nokogiri
|
||||
roo (>= 2.0.0, < 3)
|
||||
spreadsheet (> 0.9.0)
|
||||
ruby-ole (1.2.12.2)
|
||||
ruby_parser (3.18.1)
|
||||
sexp_processor (~> 4.16)
|
||||
rubyzip (2.3.2)
|
||||
|
@ -192,8 +184,6 @@ GEM
|
|||
rubyzip (>= 1.2.2)
|
||||
semantic_range (3.0.0)
|
||||
sexp_processor (4.16.0)
|
||||
spreadsheet (1.3.0)
|
||||
ruby-ole
|
||||
spring (4.0.0)
|
||||
sprockets (4.0.2)
|
||||
concurrent-ruby (~> 1.0)
|
||||
|
@ -246,8 +236,6 @@ DEPENDENCIES
|
|||
puma (~> 5.0)
|
||||
rack-mini-profiler (~> 2.0)
|
||||
rails (~> 6.1.4, >= 6.1.4.4)
|
||||
roo
|
||||
roo-xls
|
||||
sass-rails (>= 6)
|
||||
selenium-webdriver
|
||||
spring
|
||||
|
|
|
@ -60,7 +60,7 @@ module ArticleImport::DnbXml
|
|||
@@codes = Hash.new
|
||||
|
||||
def self.load_codes
|
||||
dir = Rails.root.join("app", "lib", "article_import")
|
||||
dir = Rails.root.join("lib", "article_import")
|
||||
begin
|
||||
@@codes = YAML::load(File.open(dir.join("dnb_codes.yml"))).symbolize_keys
|
||||
rescue => e
|
||||
|
|
Loading…
Reference in a new issue