simple_form_localized_input 1.0.5 → 1.0.6

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: 7dcd4358779824eb3e061f195947f4ff0d8b7f73136e5f28cc62457b99eb747f
4
- data.tar.gz: 5630f4c9fe0414da3b4784440235293bf359580b2768ddeff6dc06853d3b089a
3
+ metadata.gz: d180d37d8bacb98f09fa3c36c8528a2b959bb39581de67ef3c1713242bcdbe92
4
+ data.tar.gz: eade120d5c9be5ad3c1d53c484d0f6592e8f6104452ffd8b42576772be986e6c
5
5
  SHA512:
6
- metadata.gz: 9df42662729dcb46423012022398ecb64f03691183c75bbc7de2645b5f5d52689cce9deda03d9321d59ab809b045d4c797047f3dad2c730bbeab2debc67fc8db
7
- data.tar.gz: 667cbd30645a52c033ee40e9d068375696a9ff8b04b399144d1e44a5f113df221c0d309644c6d48b6e87af28a54b7eb296dfedc7d8a328c60badeb3c8521f70c
6
+ metadata.gz: 3afe79a300bc234ffdd8b8f241aa6c3fcca017714d47509f369ba100b4cbce27621ed5b2d04dd489b7cf842d5bf0a93200c157a9c089b3a51df554689075e9d3
7
+ data.tar.gz: '083e16c915fdd290fa0e4d4c7107583020dbafc7317aa6e2084373531b43b0b59e48e5bc64840ab63bc9ddaacd36f2fec193950c29f71cafcc6d012b789c03b3'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.0.6
4
+
5
+ * Mongoid 7
6
+
3
7
  ## 1.0.5
4
8
 
5
9
  * add basic test
@@ -1,3 +1,3 @@
1
1
  module SimpleFormLocalizedInput
2
- VERSION = '1.0.5'.freeze
2
+ VERSION = '1.0.6'.freeze
3
3
  end
@@ -19,7 +19,7 @@ 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', '<= 7'
22
+ spec.add_dependency 'mongoid', '>= 5.1', '< 8'
23
23
  spec.add_dependency "rails", '>= 4.2'
24
24
 
25
25
  spec.add_development_dependency "bundler", "~> 1.16"
@@ -2,7 +2,7 @@ require 'test_helper'
2
2
 
3
3
  describe SimpleFormLocalizedInput::FormBuilder do
4
4
  let(:form) {
5
- simple_form_for(@user, url: '', html: { class: "foo" }) do |form|
5
+ simple_form_for(@user, url: '') do |form|
6
6
  form.localized_input :title
7
7
  end
8
8
  }
data/test/test_helper.rb CHANGED
@@ -15,6 +15,7 @@ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
15
15
 
16
16
  class MiniTest::Spec
17
17
  include ActionView::Helpers::FormHelper
18
+ include ActionView::RecordIdentifier
18
19
  include SimpleForm::ActionViewExtensions::FormHelper
19
20
 
20
21
  before { set_controller }
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.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomas Celizna
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-01 00:00:00.000000000 Z
11
+ date: 2018-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: simple_form
@@ -31,9 +31,9 @@ dependencies:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '5.1'
34
- - - "<="
34
+ - - "<"
35
35
  - !ruby/object:Gem::Version
36
- version: '7'
36
+ version: '8'
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
@@ -41,9 +41,9 @@ dependencies:
41
41
  - - ">="
42
42
  - !ruby/object:Gem::Version
43
43
  version: '5.1'
44
- - - "<="
44
+ - - "<"
45
45
  - !ruby/object:Gem::Version
46
- version: '7'
46
+ version: '8'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rails
49
49
  requirement: !ruby/object:Gem::Requirement