Skip to content

Commit

Permalink
adds basic dependencies, drop support for Ruby 1.8.7 and Rails < 3.2,…
Browse files Browse the repository at this point in the history
… adds appraisal and rspec for testing the library
  • Loading branch information
dgilperez committed Apr 22, 2017
1 parent e88bb24 commit 3ab0685
Show file tree
Hide file tree
Showing 12 changed files with 347 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
appraise "rails-3.2" do
gem 'activemodel', '~> 3.2.0'
end

appraise "rails-4.0" do
gem "activemodel", '~> 4.0.0'
end

appraise "rails-4.1" do
gem "activemodel", '~> 4.1.0'
end

appraise "rails-4.2" do
gem "activemodel", '~> 4.2.0'
end

appraise "rails-5.0" do
gem "activemodel", '~> 5.0.0'
end
7 changes: 7 additions & 0 deletions gemfiles/rails_3.2.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "activemodel", "~> 3.2.0"

gemspec path: "../"
52 changes: 52 additions & 0 deletions gemfiles/rails_3.2.gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
PATH
remote: ../
specs:
spanish_vat_validators (0.0.5)
activemodel (>= 3.2.0)

GEM
remote: https://rubygems.org/
specs:
activemodel (3.2.22.4)
activesupport (= 3.2.22.4)
builder (~> 3.0.0)
activesupport (3.2.22.4)
i18n (~> 0.6, >= 0.6.4)
multi_json (~> 1.0)
appraisal (2.2.0)
bundler
rake
thor (>= 0.14.0)
builder (3.0.4)
diff-lcs (1.3)
i18n (0.7.0)
multi_json (1.12.1)
rake (12.0.0)
rspec (3.5.0)
rspec-core (~> 3.5.0)
rspec-expectations (~> 3.5.0)
rspec-mocks (~> 3.5.0)
rspec-core (3.5.4)
rspec-support (~> 3.5.0)
rspec-expectations (3.5.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-mocks (3.5.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-support (3.5.0)
thor (0.19.4)

PLATFORMS
ruby

DEPENDENCIES
activemodel (~> 3.2.0)
appraisal
bundler (~> 1.6)
rake
rspec
spanish_vat_validators!

BUNDLED WITH
1.13.2
7 changes: 7 additions & 0 deletions gemfiles/rails_4.0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "activemodel", "~> 4.0.0"

gemspec path: "../"
58 changes: 58 additions & 0 deletions gemfiles/rails_4.0.gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
PATH
remote: ../
specs:
spanish_vat_validators (0.0.5)
activemodel (>= 3.2.0)

GEM
remote: https://rubygems.org/
specs:
activemodel (4.0.13)
activesupport (= 4.0.13)
builder (~> 3.1.0)
activesupport (4.0.13)
i18n (~> 0.6, >= 0.6.9)
minitest (~> 4.2)
multi_json (~> 1.3)
thread_safe (~> 0.1)
tzinfo (~> 0.3.37)
appraisal (2.2.0)
bundler
rake
thor (>= 0.14.0)
builder (3.1.4)
diff-lcs (1.3)
i18n (0.7.0)
minitest (4.7.5)
multi_json (1.12.1)
rake (12.0.0)
rspec (3.5.0)
rspec-core (~> 3.5.0)
rspec-expectations (~> 3.5.0)
rspec-mocks (~> 3.5.0)
rspec-core (3.5.4)
rspec-support (~> 3.5.0)
rspec-expectations (3.5.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-mocks (3.5.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-support (3.5.0)
thor (0.19.4)
thread_safe (0.3.5)
tzinfo (0.3.51)

PLATFORMS
ruby

DEPENDENCIES
activemodel (~> 4.0.0)
appraisal
bundler (~> 1.6)
rake
rspec
spanish_vat_validators!

BUNDLED WITH
1.13.2
7 changes: 7 additions & 0 deletions gemfiles/rails_4.1.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "activemodel", "~> 4.1.0"

gemspec path: "../"
59 changes: 59 additions & 0 deletions gemfiles/rails_4.1.gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
PATH
remote: ../
specs:
spanish_vat_validators (0.0.5)
activemodel (>= 3.2.0)

GEM
remote: https://rubygems.org/
specs:
activemodel (4.1.16)
activesupport (= 4.1.16)
builder (~> 3.1)
activesupport (4.1.16)
i18n (~> 0.6, >= 0.6.9)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.1)
tzinfo (~> 1.1)
appraisal (2.2.0)
bundler
rake
thor (>= 0.14.0)
builder (3.2.2)
diff-lcs (1.3)
i18n (0.7.0)
json (1.8.3)
minitest (5.9.1)
rake (12.0.0)
rspec (3.5.0)
rspec-core (~> 3.5.0)
rspec-expectations (~> 3.5.0)
rspec-mocks (~> 3.5.0)
rspec-core (3.5.4)
rspec-support (~> 3.5.0)
rspec-expectations (3.5.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-mocks (3.5.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-support (3.5.0)
thor (0.19.4)
thread_safe (0.3.5)
tzinfo (1.2.2)
thread_safe (~> 0.1)

PLATFORMS
ruby

DEPENDENCIES
activemodel (~> 4.1.0)
appraisal
bundler (~> 1.6)
rake
rspec
spanish_vat_validators!

BUNDLED WITH
1.13.2
7 changes: 7 additions & 0 deletions gemfiles/rails_4.2.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "activemodel", "~> 4.2.0"

gemspec path: "../"
59 changes: 59 additions & 0 deletions gemfiles/rails_4.2.gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
PATH
remote: ../
specs:
spanish_vat_validators (0.0.5)
activemodel (>= 3.2.0)

GEM
remote: https://rubygems.org/
specs:
activemodel (4.2.7.1)
activesupport (= 4.2.7.1)
builder (~> 3.1)
activesupport (4.2.7.1)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
appraisal (2.2.0)
bundler
rake
thor (>= 0.14.0)
builder (3.2.2)
diff-lcs (1.3)
i18n (0.7.0)
json (1.8.3)
minitest (5.9.1)
rake (12.0.0)
rspec (3.5.0)
rspec-core (~> 3.5.0)
rspec-expectations (~> 3.5.0)
rspec-mocks (~> 3.5.0)
rspec-core (3.5.4)
rspec-support (~> 3.5.0)
rspec-expectations (3.5.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-mocks (3.5.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-support (3.5.0)
thor (0.19.4)
thread_safe (0.3.5)
tzinfo (1.2.2)
thread_safe (~> 0.1)

PLATFORMS
ruby

DEPENDENCIES
activemodel (~> 4.2.0)
appraisal
bundler (~> 1.6)
rake
rspec
spanish_vat_validators!

BUNDLED WITH
1.13.2
7 changes: 7 additions & 0 deletions gemfiles/rails_5.0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "activemodel", "~> 5.0.0"

gemspec path: "../"
56 changes: 56 additions & 0 deletions gemfiles/rails_5.0.gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
PATH
remote: ../
specs:
spanish_vat_validators (0.0.5)
activemodel (>= 3.2.0)

GEM
remote: https://rubygems.org/
specs:
activemodel (5.0.0.1)
activesupport (= 5.0.0.1)
activesupport (5.0.0.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (~> 0.7)
minitest (~> 5.1)
tzinfo (~> 1.1)
appraisal (2.2.0)
bundler
rake
thor (>= 0.14.0)
concurrent-ruby (1.0.2)
diff-lcs (1.3)
i18n (0.7.0)
minitest (5.9.1)
rake (12.0.0)
rspec (3.5.0)
rspec-core (~> 3.5.0)
rspec-expectations (~> 3.5.0)
rspec-mocks (~> 3.5.0)
rspec-core (3.5.4)
rspec-support (~> 3.5.0)
rspec-expectations (3.5.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-mocks (3.5.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-support (3.5.0)
thor (0.19.4)
thread_safe (0.3.5)
tzinfo (1.2.2)
thread_safe (~> 0.1)

PLATFORMS
ruby

DEPENDENCIES
activemodel (~> 5.0.0)
appraisal
bundler (~> 1.6)
rake
rspec
spanish_vat_validators!

BUNDLED WITH
1.13.2
9 changes: 9 additions & 0 deletions spanish_vat_validators.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,13 @@ Gem::Specification.new do |gem|
gem.name = "spanish_vat_validators"
gem.require_paths = ["lib"]
gem.version = SpanishVatValidators::VERSION

gem.required_ruby_version = '>= 1.9.3'

gem.add_dependency 'activemodel', '>= 3.2.0'

gem.add_development_dependency 'bundler', '~> 1.6'
gem.add_development_dependency 'rake'
gem.add_development_dependency 'rspec'
gem.add_development_dependency 'appraisal'
end

0 comments on commit 3ab0685

Please sign in to comment.