money-rails 1.12.0 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/Rakefile +17 -35
- data/lib/money-rails/version.rb +1 -1
- data/money-rails.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17a8dc1cf4b600e6893a143ea21e6a9bef017371
|
4
|
+
data.tar.gz: 21aa33f3cace05847f66f822b88b46059752ed99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d8d1a12dccd30071f5e269b679b55a733fb2eaedf9ed694ed8dcd9c02ff95315293fe97387559e5d891240489f79c9acd57b79861a49c68cf6eeab387f5a032
|
7
|
+
data.tar.gz: 87e4fd7469311f179282531901437773316083fb695dc12003f5767d9d61c9a40cb06d553f7cdc17e4246dbbbb5b0d10973a64417bd602ee8060ddb7c42d9fa3
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
data/Rakefile
CHANGED
@@ -13,6 +13,7 @@ rescue Bundler::BundlerError => e
|
|
13
13
|
end
|
14
14
|
|
15
15
|
APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
|
16
|
+
GEMFILES_PATH = 'gemfiles/*.gemfile'.freeze
|
16
17
|
|
17
18
|
load 'rails/tasks/engine.rake' if File.exist?(APP_RAKEFILE)
|
18
19
|
|
@@ -47,46 +48,27 @@ def run_with_gemfile(gemfile)
|
|
47
48
|
end
|
48
49
|
|
49
50
|
namespace :spec do
|
51
|
+
frameworks_versions = {}
|
50
52
|
|
51
|
-
|
52
|
-
|
53
|
+
Dir[GEMFILES_PATH].each do |gemfile|
|
54
|
+
file_name = File.basename(gemfile, '.gemfile')
|
55
|
+
framework, version = file_name.split(/(\d+)/)
|
56
|
+
major, minor = version.split(//)
|
53
57
|
|
54
|
-
|
55
|
-
|
58
|
+
frameworks_versions[framework] ||= []
|
59
|
+
frameworks_versions[framework] << file_name
|
56
60
|
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
desc "Run Tests against mongoid (version 2)"
|
61
|
-
task(:mongoid2) { run_with_gemfile 'gemfiles/mongoid2.gemfile' }
|
62
|
-
|
63
|
-
desc "Run Tests against rails 5.1"
|
64
|
-
task(:rails51) { run_with_gemfile 'gemfiles/rails51.gemfile' }
|
65
|
-
|
66
|
-
desc "Run Tests against rails 5.0"
|
67
|
-
task(:rails50) { run_with_gemfile 'gemfiles/rails50.gemfile' }
|
68
|
-
|
69
|
-
desc "Run Tests against rails 4.2"
|
70
|
-
task(:rails42) { run_with_gemfile 'gemfiles/rails42.gemfile' }
|
71
|
-
|
72
|
-
desc "Run Tests against rails 4.1"
|
73
|
-
task(:rails41) { run_with_gemfile 'gemfiles/rails41.gemfile' }
|
74
|
-
|
75
|
-
desc "Run Tests against rails 4"
|
76
|
-
task(:rails4) { run_with_gemfile 'gemfiles/rails4.gemfile' }
|
77
|
-
|
78
|
-
desc "Run Tests against rails 3"
|
79
|
-
task(:rails3) { run_with_gemfile 'gemfiles/rails3.gemfile' }
|
80
|
-
|
81
|
-
desc "Run Tests against mongoid 2 & 3 & 4, 5"
|
82
|
-
task mongoid: [:mongoid2, :mongoid3, :mongoid4, :mongoid5]
|
83
|
-
|
84
|
-
desc "Run Tests against rails 3 & 4 & 4.1 & 4.2 & 5.0"
|
85
|
-
task rails: [:rails3, :rails4, :rails41, :rails42, :rails50, :rails51]
|
61
|
+
desc "Run Tests against #{framework} #{[major, minor].compact.join('.')}"
|
62
|
+
task(file_name) { run_with_gemfile gemfile }
|
63
|
+
end
|
86
64
|
|
87
|
-
|
88
|
-
|
65
|
+
frameworks_versions.each do |framework, versions|
|
66
|
+
desc "Run Tests against all supported #{framework} versions"
|
67
|
+
task framework => versions
|
68
|
+
end
|
89
69
|
|
70
|
+
desc 'Run Tests against all ORMs'
|
71
|
+
task all: frameworks_versions.keys
|
90
72
|
end
|
91
73
|
|
92
74
|
desc "Update CONTRIBUTORS file"
|
data/lib/money-rails/version.rb
CHANGED
data/money-rails.gemspec
CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |s|
|
|
26
26
|
|
27
27
|
s.require_path = "lib"
|
28
28
|
|
29
|
-
s.add_dependency "money", "~> 6.
|
29
|
+
s.add_dependency "money", "~> 6.13.0"
|
30
30
|
s.add_dependency "monetize", "~> 1.9.0"
|
31
31
|
s.add_dependency "activesupport", ">= 3.0"
|
32
32
|
s.add_dependency "railties", ">= 3.0"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: money-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andreas Loupasakis
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2018-
|
13
|
+
date: 2018-10-23 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: money
|
@@ -18,14 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - "~>"
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 6.
|
21
|
+
version: 6.13.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - "~>"
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 6.
|
28
|
+
version: 6.13.0
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: monetize
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|