simple_form_localized_input 1.0.10 → 1.0.11

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
  SHA256:
3
- metadata.gz: c46f00a2fc9c0cf7079d127965ef4a23a081a1ef38ba7642e56fd413947fd017
4
- data.tar.gz: 629e8ab8c7be7452f8c55bf9473177ecaa2ef05662f0fb9f9417f058df4db97d
3
+ metadata.gz: dc0bd45d513f9a0a72773d7d696ca59b5dca2223752c569592bbb3e725fa999f
4
+ data.tar.gz: 469dd92a5bbf2adefd299d0e5799b28b5af529b27b603365dc1e2cabd41de7cb
5
5
  SHA512:
6
- metadata.gz: 06dc22f7d04520e3b0a4d89a94728b24b5cda4a08da7047a06b967c15cf1343a8be0b39e42526d329b3c7d9de5cf6df347c8dc2f7faf49b3ad96bacb7506d7b4
7
- data.tar.gz: 852d25b894b79c77ef3fa944595236c701db8ce513787b00809b41787f77605fa399ee32e8a90de26a35782e4c0b46aeaa7d9d417f16d35e37f5d6c3f0dc7659
6
+ metadata.gz: f84bc0466c0a6fea902b1d8ade66ef598d75c2f1eedb3d5df00ff53cf6df4c42c399e83f887d27dafe16af6916498e5e53f0aa7468e74926fc1e77994818acd6
7
+ data.tar.gz: 73ce80d4179bfdebd05699e4516afc5da7029d0d523a7be832ba5ac2577065f7098ca97ed1f3d04df2c20e626bba049135155595f6f00f970d5ab31ff255648c
@@ -0,0 +1,29 @@
1
+ name: Tests
2
+ on: [push, pull_request]
3
+ concurrency:
4
+ group: ${{ github.ref }}
5
+ cancel-in-progress: true
6
+ jobs:
7
+ test:
8
+ strategy:
9
+ fail-fast: false
10
+ matrix:
11
+ gemfile: ["7", "8"]
12
+ ruby: ["2.7", "3.0", "3.1", "3.2"]
13
+ include:
14
+ - gemfile: "6"
15
+ ruby: "2.7"
16
+ runs-on: ubuntu-latest
17
+ services:
18
+ mongodb:
19
+ image: mongo
20
+ ports: ["27017:27017"]
21
+ env:
22
+ BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
23
+ steps:
24
+ - uses: actions/checkout@v3
25
+ - uses: ruby/setup-ruby@v1
26
+ with:
27
+ ruby-version: ${{ matrix.ruby }}
28
+ bundler-cache: true
29
+ - run: bundle exec rake
data/.gitignore CHANGED
@@ -4,6 +4,7 @@
4
4
  .config
5
5
  .yardoc
6
6
  Gemfile.lock
7
+ /gemfiles/*.gemfile.lock
7
8
  InstalledFiles
8
9
  _yardoc
9
10
  coverage
data/Appraisals ADDED
@@ -0,0 +1,11 @@
1
+ appraise "6" do
2
+ gem "mongoid", "~> 6.0"
3
+ end
4
+
5
+ appraise "7" do
6
+ gem "mongoid", "~> 7.0"
7
+ end
8
+
9
+ appraise "8" do
10
+ gem "mongoid", "~> 8.0"
11
+ end
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.0.11
4
+
5
+ * Mongoid 8 compatibility
6
+
3
7
  ## 1.0.10
4
8
 
5
9
  * add support for `SimpleForm` hints
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "mongoid", "~> 6.0"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "mongoid", "~> 7.0"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "mongoid", "~> 8.0"
6
+
7
+ gemspec path: "../"
@@ -1,3 +1,3 @@
1
1
  module SimpleFormLocalizedInput
2
- VERSION = '1.0.10'.freeze
2
+ VERSION = '1.0.11'.freeze
3
3
  end
@@ -19,10 +19,11 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ['lib']
20
20
 
21
21
  spec.add_dependency 'simple_form', '>= 3.0.2'
22
- spec.add_dependency 'mongoid', '>= 5.1', '< 8'
23
- spec.add_dependency "rails", '>= 4.2'
22
+ spec.add_dependency 'mongoid', '>= 5.1'
23
+ spec.add_dependency 'rails', '>= 4.2'
24
24
 
25
- spec.add_development_dependency "bundler", "~> 1.16"
26
- spec.add_development_dependency "minitest", "~> 5.0"
27
- spec.add_development_dependency "rake", "~> 10.0"
25
+ spec.add_development_dependency 'appraisal'
26
+ spec.add_development_dependency 'bundler'
27
+ spec.add_development_dependency 'minitest'
28
+ spec.add_development_dependency 'rake'
28
29
  end
data/test/test_helper.rb CHANGED
@@ -13,7 +13,7 @@ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
13
13
 
14
14
  ::I18n.available_locales = %i(en cs)
15
15
 
16
- class MiniTest::Spec
16
+ class Minitest::Spec
17
17
  include ActionView::Helpers::FormHelper
18
18
  include ActionView::RecordIdentifier
19
19
  include SimpleForm::ActionViewExtensions::FormHelper
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_form_localized_input
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.10
4
+ version: 1.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomas Celizna
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-16 00:00:00.000000000 Z
11
+ date: 2023-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: simple_form
@@ -31,9 +31,6 @@ dependencies:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '5.1'
34
- - - "<"
35
- - !ruby/object:Gem::Version
36
- version: '8'
37
34
  type: :runtime
38
35
  prerelease: false
39
36
  version_requirements: !ruby/object:Gem::Requirement
@@ -41,9 +38,6 @@ dependencies:
41
38
  - - ">="
42
39
  - !ruby/object:Gem::Version
43
40
  version: '5.1'
44
- - - "<"
45
- - !ruby/object:Gem::Version
46
- version: '8'
47
41
  - !ruby/object:Gem::Dependency
48
42
  name: rails
49
43
  requirement: !ruby/object:Gem::Requirement
@@ -58,48 +52,62 @@ dependencies:
58
52
  - - ">="
59
53
  - !ruby/object:Gem::Version
60
54
  version: '4.2'
55
+ - !ruby/object:Gem::Dependency
56
+ name: appraisal
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
61
69
  - !ruby/object:Gem::Dependency
62
70
  name: bundler
63
71
  requirement: !ruby/object:Gem::Requirement
64
72
  requirements:
65
- - - "~>"
73
+ - - ">="
66
74
  - !ruby/object:Gem::Version
67
- version: '1.16'
75
+ version: '0'
68
76
  type: :development
69
77
  prerelease: false
70
78
  version_requirements: !ruby/object:Gem::Requirement
71
79
  requirements:
72
- - - "~>"
80
+ - - ">="
73
81
  - !ruby/object:Gem::Version
74
- version: '1.16'
82
+ version: '0'
75
83
  - !ruby/object:Gem::Dependency
76
84
  name: minitest
77
85
  requirement: !ruby/object:Gem::Requirement
78
86
  requirements:
79
- - - "~>"
87
+ - - ">="
80
88
  - !ruby/object:Gem::Version
81
- version: '5.0'
89
+ version: '0'
82
90
  type: :development
83
91
  prerelease: false
84
92
  version_requirements: !ruby/object:Gem::Requirement
85
93
  requirements:
86
- - - "~>"
94
+ - - ">="
87
95
  - !ruby/object:Gem::Version
88
- version: '5.0'
96
+ version: '0'
89
97
  - !ruby/object:Gem::Dependency
90
98
  name: rake
91
99
  requirement: !ruby/object:Gem::Requirement
92
100
  requirements:
93
- - - "~>"
101
+ - - ">="
94
102
  - !ruby/object:Gem::Version
95
- version: '10.0'
103
+ version: '0'
96
104
  type: :development
97
105
  prerelease: false
98
106
  version_requirements: !ruby/object:Gem::Requirement
99
107
  requirements:
100
- - - "~>"
108
+ - - ">="
101
109
  - !ruby/object:Gem::Version
102
- version: '10.0'
110
+ version: '0'
103
111
  description: Custom input for Simple Form that renders Mongoid fields for multiple
104
112
  locales.
105
113
  email:
@@ -108,13 +116,17 @@ executables: []
108
116
  extensions: []
109
117
  extra_rdoc_files: []
110
118
  files:
119
+ - ".github/workflows/test.yml"
111
120
  - ".gitignore"
112
- - ".travis.yml"
121
+ - Appraisals
113
122
  - CHANGELOG.md
114
123
  - Gemfile
115
124
  - LICENSE
116
125
  - README.md
117
126
  - Rakefile
127
+ - gemfiles/6.gemfile
128
+ - gemfiles/7.gemfile
129
+ - gemfiles/8.gemfile
118
130
  - lib/simple_form_localized_input.rb
119
131
  - lib/simple_form_localized_input/form_builder.rb
120
132
  - lib/simple_form_localized_input/version.rb
@@ -128,7 +140,7 @@ homepage: https://github.com/tomasc/simple_form_localized_input
128
140
  licenses:
129
141
  - MIT
130
142
  metadata: {}
131
- post_install_message:
143
+ post_install_message:
132
144
  rdoc_options: []
133
145
  require_paths:
134
146
  - lib
@@ -143,9 +155,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
143
155
  - !ruby/object:Gem::Version
144
156
  version: '0'
145
157
  requirements: []
146
- rubyforge_project:
147
- rubygems_version: 2.7.6
148
- signing_key:
158
+ rubygems_version: 3.3.14
159
+ signing_key:
149
160
  specification_version: 4
150
161
  summary: Custom input for Simple Form that renders Mongoid fields for multiple locales.
151
162
  test_files:
data/.travis.yml DELETED
@@ -1,23 +0,0 @@
1
- language: ruby
2
- cache: bundler
3
- script: 'bundle exec rake'
4
- rvm:
5
- - 2.5.0
6
- services:
7
- - mongodb
8
-
9
- notifications:
10
- email:
11
- recipients:
12
- - tomas.celizna@gmail.com
13
- on_failure: change
14
- on_success: never
15
-
16
- matrix:
17
- include:
18
- - rvm: 2.3.3
19
- env: MONGOID_VERSION=5
20
- - rvm: 2.3.3
21
- env: MONGOID_VERSION=6
22
- - rvm: 2.5.0
23
- env: MONGOID_VERSION=7