administrate-field-belongs_to_search 0.4.0 → 0.5.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: b83752188043c0d49e2c3fff10faf59093d858ac
4
- data.tar.gz: fa18f950757c3aca65fd88573df913421ed0d7d9
3
+ metadata.gz: 766c6a6cbf034d0fd999970a3c059fa25d6ae039
4
+ data.tar.gz: a5491ee72358aa9464304824b7e48a5ae612bf28
5
5
  SHA512:
6
- metadata.gz: 50abaa8aa95838e2aeeae99db691c00a7e91239ca15ddebe28eadab9a6e2998a214181bee4ece21d71e15a6695c60732fcf6fe21270574d5aadd8f9f73a0145f
7
- data.tar.gz: 10b847e90ff305e970589e4f48b02eacbed019020f4c288e80bda0d74c2a57969d9cf533f554f5c1638273cd6c8c6a924129b11e0d4368148855de64a7af0b6a
6
+ metadata.gz: a6cdf605a597ed7b7e7600de80310a76aa57dbcc433d97ec252cd3e5f85720e848069fcf5af0a0304814c441f7b86fd9c517de36d87bafad0cd11ca0b9f8356b
7
+ data.tar.gz: 11da69febb8fac8ff38b84ea887ffbfecd355ed3116c40571846729e36833f3271b170b6a65efa0983d943ba65e2215412ad7f6dd54f292007d0bde977baf46d
@@ -31,5 +31,8 @@ Rails/ApplicationRecord:
31
31
  Exclude:
32
32
  - 'spec/**/*'
33
33
 
34
- Style/TrailingCommaInLiteral:
34
+ Style/TrailingCommaInHashLiteral:
35
+ EnforcedStyleForMultiline: comma
36
+
37
+ Style/TrailingCommaInArrayLiteral:
35
38
  EnforcedStyleForMultiline: comma
@@ -1,9 +1,8 @@
1
1
  language: ruby
2
2
  rvm:
3
+ - 2.5.1
3
4
  - 2.4.1
4
5
  - 2.3.4
5
- - 2.2.7
6
- - 2.1.10
7
6
  cache: bundler
8
7
  install: bundle install
9
8
  script:
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## Upcoming release
4
4
 
5
+ ## 0.5.0
6
+
7
+ * [#14](https://github.com/fishbrain/administrate-field-belongs_to_search/pull/14) Fix a broken instance var from administrate (thanks @Mrjaco12 and @lhoBas)
8
+ * CI related fixes (add Ruby 2.5)
9
+ * Minor rubocop related tweaks
10
+
5
11
  ## 0.4.0
6
12
 
7
13
  * [#12](https://github.com/fishbrain/administrate-field-belongs_to_search/pull/12) Loosen version constraints for Administrate and Rails (thanks @dan-ding)
@@ -1,11 +1,9 @@
1
- # coding: utf-8
2
-
3
- lib = File.expand_path('../lib', __FILE__)
1
+ lib = File.expand_path('lib', __dir__)
4
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
3
 
6
4
  Gem::Specification.new do |gem|
7
5
  gem.name = 'administrate-field-belongs_to_search'
8
- gem.version = '0.4.0'.freeze
6
+ gem.version = '0.5.0'.freeze
9
7
  gem.authors = ['Klas Eskilson']
10
8
  gem.email = ['klas.eskilson@gmail.com']
11
9
  gem.homepage = 'https://github.com/fishbrain/administrate-field-belongs_to_search'
@@ -17,7 +15,7 @@ Gem::Specification.new do |gem|
17
15
  gem.test_files = `git ls-files -z -- {spec}/*`.split("\x0")
18
16
 
19
17
  gem.add_dependency 'administrate', '>= 0.3', '< 1.0'
20
- gem.add_dependency 'rails', '>= 4.2', '< 5.2'
18
+ gem.add_dependency 'rails', '>= 4.2', '< 6.0'
21
19
  gem.add_dependency 'selectize-rails', '~> 0.6'
22
20
 
23
21
  gem.add_development_dependency 'coveralls', '~> 0'
@@ -19,5 +19,5 @@
19
19
 
20
20
  json.resources resources do |resource|
21
21
  json.id resource.id
22
- json.dashboard_display_name @_dashboard.display_resource(resource)
22
+ json.dashboard_display_name @dashboard.display_resource(resource)
23
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: administrate-field-belongs_to_search
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Klas Eskilson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-16 00:00:00.000000000 Z
11
+ date: 2018-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: administrate
@@ -39,7 +39,7 @@ dependencies:
39
39
  version: '4.2'
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
- version: '5.2'
42
+ version: '6.0'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,7 +49,7 @@ dependencies:
49
49
  version: '4.2'
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
- version: '5.2'
52
+ version: '6.0'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: selectize-rails
55
55
  requirement: !ruby/object:Gem::Requirement
@@ -162,8 +162,8 @@ dependencies:
162
162
  - - "~>"
163
163
  - !ruby/object:Gem::Version
164
164
  version: '1.3'
165
- description: |2
166
- Add support to search through (potentially large) belongs_to associations in your Administrate dashboards.
165
+ description: " Add support to search through (potentially large) belongs_to associations
166
+ in your Administrate dashboards.\n"
167
167
  email:
168
168
  - klas.eskilson@gmail.com
169
169
  executables: []
@@ -208,7 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
208
208
  version: '0'
209
209
  requirements: []
210
210
  rubyforge_project:
211
- rubygems_version: 2.4.5.1
211
+ rubygems_version: 2.5.1
212
212
  signing_key:
213
213
  specification_version: 4
214
214
  summary: Plugin that adds search capabilities to belongs_to associations for Administrate