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 +4 -4
- data/.github/workflows/test.yml +29 -0
- data/.gitignore +1 -0
- data/Appraisals +11 -0
- data/CHANGELOG.md +4 -0
- data/gemfiles/6.gemfile +7 -0
- data/gemfiles/7.gemfile +7 -0
- data/gemfiles/8.gemfile +7 -0
- data/lib/simple_form_localized_input/version.rb +1 -1
- data/simple_form_localized_input.gemspec +6 -5
- data/test/test_helper.rb +1 -1
- metadata +37 -26
- data/.travis.yml +0 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc0bd45d513f9a0a72773d7d696ca59b5dca2223752c569592bbb3e725fa999f
|
4
|
+
data.tar.gz: 469dd92a5bbf2adefd299d0e5799b28b5af529b27b603365dc1e2cabd41de7cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
data/Appraisals
ADDED
data/CHANGELOG.md
CHANGED
data/gemfiles/6.gemfile
ADDED
data/gemfiles/7.gemfile
ADDED
data/gemfiles/8.gemfile
ADDED
@@ -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'
|
23
|
-
spec.add_dependency
|
22
|
+
spec.add_dependency 'mongoid', '>= 5.1'
|
23
|
+
spec.add_dependency 'rails', '>= 4.2'
|
24
24
|
|
25
|
-
spec.add_development_dependency
|
26
|
-
spec.add_development_dependency
|
27
|
-
spec.add_development_dependency
|
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
|
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.
|
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:
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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
|
-
-
|
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
|
-
|
147
|
-
|
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
|