reform-rails 0.2.0.rc3 → 0.2.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
- SHA1:
3
- metadata.gz: 4f1ac1e0e188391ad063e8f61c6dafbc25554d8f
4
- data.tar.gz: 6ddf5369a091079b68013c66c49bda0a4b7d1fe6
2
+ SHA256:
3
+ metadata.gz: 4a3ec7a5fbc9c096a02983f8043bdbfc15e6c775cbb2454ccf511fdb9eb7c926
4
+ data.tar.gz: affb890f0e3bf840901c23b1bbefc33189c54edf24e4f691c4125f97e28d420c
5
5
  SHA512:
6
- metadata.gz: 144fd8cb2e456c2af911bd69e7cacd9f198fd17626265cc2dd86296bcf098a03743de2f496b564bad73d4f92412c076290e113220a22398cdc4e03c8e38ac91d
7
- data.tar.gz: 364f34a9e3ecfadd3fb4edd4e7489888b460f586fecc687fcb2ff75b2df35a74db6ac64818ad262c56641d24ccd1d520eb080299dec4a1d22a2f998b6d126c34
6
+ metadata.gz: d1fcb80900ffe610a562a471a875530dfb7eee758b47185c20088f47a21e9701452b35532322926011752edf8caf7d401acab2c3079202b6c3bf8b18f32aebd6
7
+ data.tar.gz: 9f7b8100901d5b7c8fd6014e02480d447382b8161ed641943f6ef44a6bd53730080d2b48208ade21aaa31b358a74c031492cf17ecbc1b3156c39739faa636848
@@ -4,9 +4,9 @@ before_install:
4
4
  - gem update --system
5
5
  - gem install bundler
6
6
  rvm:
7
- - 2.4.6
8
7
  - 2.5.5
9
8
  - 2.6.3
9
+ - 2.7
10
10
  services:
11
11
  - mongodb
12
12
  env:
@@ -14,25 +14,5 @@ env:
14
14
  - "RAILS_VERSION=5.2.0"
15
15
  - "RAILS_VERSION=5.1.0"
16
16
  - "RAILS_VERSION=5.0.0"
17
- - "RAILS_VERSION=4.2.0"
18
- - "RAILS_VERSION=4.1.0"
19
- - "RAILS_VERSION=4.0.0"
20
17
  matrix:
21
18
  fast_finish: true
22
- exclude:
23
- - rvm: 2.4.6
24
- env: "RAILS_VERSION=4.0.0"
25
- - rvm: 2.4.6
26
- env: "RAILS_VERSION=4.1.0"
27
- - rvm: 2.4.6
28
- env: "RAILS_VERSION=6.0.0"
29
-
30
- - rvm: 2.5.5
31
- env: "RAILS_VERSION=4.0.0"
32
- - rvm: 2.5.5
33
- env: "RAILS_VERSION=4.1.0"
34
-
35
- - rvm: 2.6.3
36
- env: "RAILS_VERSION=4.0.0"
37
- - rvm: 2.6.3
38
- env: "RAILS_VERSION=4.1.0"
data/CHANGES.md CHANGED
@@ -11,6 +11,7 @@
11
11
  * Fix nested form validation (#53)
12
12
  * Errors supports symbol and string lookup (PR #77)
13
13
  * Implement respond_to that delegates to AMV errors (PR #78)
14
+ * Drop support for activemodel before 5.0
14
15
 
15
16
  # 0.1.8
16
17
  * Drop support to mongoid < 4.
data/Gemfile CHANGED
@@ -16,14 +16,12 @@ case ENV["GEMS_SOURCE"]
16
16
  gem "reform", github: "trailblazer/reform"
17
17
  end
18
18
 
19
- rails_version = ENV.fetch("RAILS_VERSION", "5.2.0")
19
+ rails_version = ENV.fetch("RAILS_VERSION", "6.0.0")
20
20
 
21
21
  # bored of wrestling with rails...
22
- if rails_version.include? "4.0"
23
- gem "mongoid", "~> 4"
24
- else
25
- gem("mongoid", "< 7.0") unless rails_version.include?('6.0')
26
- end
22
+
23
+ gem("mongoid", "< 7.0") unless rails_version.include?('6.0')
24
+
27
25
 
28
26
  gem "activerecord", "~> #{rails_version}"
29
27
  gem "railties", "~> #{rails_version}"
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2015 Nick Sutterer
3
+ Copyright (c) 2015-Covid_19year Nick Sutterer
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -24,16 +24,16 @@ Add this line to your application's Gemfile:
24
24
  gem 'reform-rails'
25
25
  ```
26
26
 
27
- Reform-rails needs Reform >= 2.2.
27
+ Reform-rails needs Reform >= 2.3.
28
28
 
29
29
  ## Contributing
30
30
 
31
- By default your tests will run against rails 4.2.0.
31
+ By default your tests will run against rails 6.0.1.
32
32
  Please ensure that you test your changes against all supported ruby and rails versions (see .travis.yml)
33
33
 
34
34
  You can run tests for a specific version of rails by running the following:
35
35
 
36
- `export RAILS_VERSION=4.2.0; bundle update; bundle exec rake test`
36
+ `export RAILS_VERSION=5.0.0; bundle update; bundle exec rake test`
37
37
 
38
38
  ## License
39
39
 
@@ -1,5 +1,5 @@
1
1
  module Reform
2
2
  module Rails
3
- VERSION = "0.2.0.rc3"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
@@ -20,6 +20,6 @@ Gem::Specification.new do |spec|
20
20
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
21
  spec.require_paths = ["lib"]
22
22
 
23
- spec.add_dependency "reform", ">= 2.3.0.rc1", "< 3.0.0"
24
- spec.add_dependency "activemodel", ">= 3.2"
23
+ spec.add_dependency "reform", ">= 2.3.1", "< 3.0.0"
24
+ spec.add_dependency "activemodel", ">= 5.0"
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reform-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.rc3
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Sutterer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-05 00:00:00.000000000 Z
11
+ date: 2020-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: reform
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 2.3.0.rc1
19
+ version: 2.3.1
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 3.0.0
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 2.3.0.rc1
29
+ version: 2.3.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 3.0.0
@@ -36,14 +36,14 @@ dependencies:
36
36
  requirements:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: '3.2'
39
+ version: '5.0'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - ">="
45
45
  - !ruby/object:Gem::Version
46
- version: '3.2'
46
+ version: '5.0'
47
47
  description: Automatically load and include all common Reform features for a standard
48
48
  Rails environment.
49
49
  email:
@@ -92,12 +92,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
92
92
  version: '0'
93
93
  required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - ">"
95
+ - - ">="
96
96
  - !ruby/object:Gem::Version
97
- version: 1.3.1
97
+ version: '0'
98
98
  requirements: []
99
- rubyforge_project:
100
- rubygems_version: 2.6.14.3
99
+ rubygems_version: 3.0.6
101
100
  signing_key:
102
101
  specification_version: 4
103
102
  summary: Automatically load and include all common Rails form features.