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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 06fe320d8e4a586f4c77666ad7b84724dda8131d
4
- data.tar.gz: 78fa897739471e33e09f80a25ae127284434041f
3
+ metadata.gz: 17a8dc1cf4b600e6893a143ea21e6a9bef017371
4
+ data.tar.gz: 21aa33f3cace05847f66f822b88b46059752ed99
5
5
  SHA512:
6
- metadata.gz: 770d0661ee7e420da951020b5b63ad584d3e6d211e129855d0994f95f8a4a45f31df1ca0f4724855f757d5ab8afc417ab354f2bf8c4e3e8f8c7c065e6deebb6f
7
- data.tar.gz: 2d78aec95f0f07fbf2bfbf7d12d08ff8f7d938fb4337536de8377dba0305d7c53315d9053fb1eca66940fceec3a82a5a708edde784d1ce6cf5563e5cf3114dde
6
+ metadata.gz: 3d8d1a12dccd30071f5e269b679b55a733fb2eaedf9ed694ed8dcd9c02ff95315293fe97387559e5d891240489f79c9acd57b79861a49c68cf6eeab387f5a032
7
+ data.tar.gz: 87e4fd7469311f179282531901437773316083fb695dc12003f5767d9d61c9a40cb06d553f7cdc17e4246dbbbb5b0d10973a64417bd602ee8060ddb7c42d9fa3
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.13.0
4
+
5
+ - Bump money version to ~> 6.13.0
6
+
3
7
  ## 1.12.0
4
8
 
5
9
  - Bump money version to ~> 6.12.0
data/README.md CHANGED
@@ -22,7 +22,7 @@ welcome to contribute to the project.
22
22
 
23
23
  Add this line to your application's Gemfile:
24
24
 
25
- gem 'money-rails', '~>1'
25
+ gem 'money-rails', '~>1.12'
26
26
 
27
27
  And then execute:
28
28
 
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
- desc "Run Tests against mongoid (version 5)"
52
- task(:mongoid5) { run_with_gemfile 'gemfiles/mongoid5.gemfile' }
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
- desc "Run Tests against mongoid (version 4)"
55
- task(:mongoid4) { run_with_gemfile 'gemfiles/mongoid4.gemfile' }
58
+ frameworks_versions[framework] ||= []
59
+ frameworks_versions[framework] << file_name
56
60
 
57
- desc "Run Tests against mongoid (version 3)"
58
- task(:mongoid3) { run_with_gemfile 'gemfiles/mongoid3.gemfile' }
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
- desc "Run Tests against all ORMs"
88
- task all: [:rails, :mongoid]
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"
@@ -1,3 +1,3 @@
1
1
  module MoneyRails
2
- VERSION = '1.12.0'
2
+ VERSION = '1.13.0'
3
3
  end
@@ -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.12.0"
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.12.0
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-09-16 00:00:00.000000000 Z
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.12.0
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.12.0
28
+ version: 6.13.0
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: monetize
31
31
  requirement: !ruby/object:Gem::Requirement