auxiliary_rails_resourceable 0.1.2 → 0.1.3

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: 2652d651562f292661ab1e5bab3e5f360092dce54bb8d6a26dae20833d3534e4
4
- data.tar.gz: 75deec7ba21c12b6d746ab5c3c3bb91e55cd781beec2a4749896c46225756eb3
3
+ metadata.gz: d8d19ba11faccf09d47f2df8c55b249c48a6ce291a09ed45ecc9d36de834dbfd
4
+ data.tar.gz: 33e6e59fde4636de8d9d395b208ed749873b052492c72df960990e8e334c56eb
5
5
  SHA512:
6
- metadata.gz: 55a32aaa16651fed49f565d09d9e43f690172d2ec4f4875bac6e20e25bd983e01586db22a08eb24bf805a1a7ad182626f128a180b8ff5859d726b90060875dba
7
- data.tar.gz: b49c1bd45598e9da86439cf5ec29bd0203600aadb079895f5027a083fad3a22d1558cfcd94416d06c094b5e0f4cd9e3e1cb1a5fa56afeacf4393ff765742c64e
6
+ metadata.gz: c76b62f038c4198b68d95e455c2ec1c12f0b745db8c2a3d843ea1b3e2626fba5ef42bfe392810c439198493e04c517f0174095875e6610233eb16736309ef2a7
7
+ data.tar.gz: 0aefc87965e91522e19b67eab0f1bff779093dfc4aedbd9b322a6d53d5ef203d45fa4bba06b8ebd212c8c14d0ccfb4ef10f22057868f7336dbd7eb1888136a73
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.1.3] - 2022-08-17
4
+
5
+ - Set minimal version for gem dependencies
6
+
3
7
  ## [0.1.2] - 2022-08-17
4
8
 
5
9
  - Added `human_name` and `human_name_plural` helpers
data/Gemfile.lock CHANGED
@@ -1,11 +1,11 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- auxiliary_rails_resourceable (0.1.2)
5
- pagy
6
- pundit
4
+ auxiliary_rails_resourceable (0.1.3)
5
+ pagy (>= 6.0.4)
6
+ pundit (>= 2.2)
7
7
  rails (>= 5.2)
8
- ransack
8
+ ransack (>= 3.0.0)
9
9
 
10
10
  GEM
11
11
  remote: https://rubygems.org/
@@ -244,4 +244,4 @@ DEPENDENCIES
244
244
  rubocop-rspec
245
245
 
246
246
  BUNDLED WITH
247
- 2.1.2
247
+ 2.5.17
data/README.md CHANGED
@@ -44,6 +44,8 @@ _search_form.html.erb
44
44
 
45
45
  ## Usage
46
46
 
47
+ Just define `ResourcesController` and inherit controllers from it for fulfilling them with the all the basic CRUD actions.
48
+
47
49
  ```ruby
48
50
  # app/controllers/resources_controller.rb
49
51
  # @abstract
@@ -89,7 +91,7 @@ end
89
91
  ## References
90
92
 
91
93
  This gem is heavily inspired by [inherited_resources](https://github.com/activeadmin/inherited_resources) and [activeadmin](https://github.com/activeadmin/activeadmin).
92
- It even follows the naming for helpers of `inherited_resources` and, in simple cases, can be used as a drop-in replacement with no or just a few code changes.
94
+ It even follows the naming for helpers of `inherited_resources`, but much lighter (~250 lines of code only), with an approach of "just overwrite what you need" instead of complex configuration options. And, in simple cases, can be used as a drop-in replacement with no or just a few code changes.
93
95
 
94
96
  ## Development
95
97
 
@@ -27,8 +27,8 @@ Gem::Specification.new do |spec|
27
27
  spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
28
28
  spec.require_paths = ['lib']
29
29
 
30
- spec.add_dependency 'pagy'
31
- spec.add_dependency 'pundit'
30
+ spec.add_dependency 'pagy', '>= 6.0.4'
31
+ spec.add_dependency 'pundit', '>= 2.2'
32
32
  spec.add_dependency 'rails', '>= 5.2'
33
- spec.add_dependency 'ransack'
33
+ spec.add_dependency 'ransack', '>= 3.0.0'
34
34
  end
@@ -1,3 +1,3 @@
1
1
  module AuxiliaryRailsResourceable
2
- VERSION = '0.1.2'.freeze
2
+ VERSION = '0.1.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: auxiliary_rails_resourceable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Babenko
@@ -17,28 +17,28 @@ dependencies:
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: '0'
20
+ version: 6.0.4
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - ">="
26
26
  - !ruby/object:Gem::Version
27
- version: '0'
27
+ version: 6.0.4
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: pundit
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - ">="
33
33
  - !ruby/object:Gem::Version
34
- version: '0'
34
+ version: '2.2'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - ">="
40
40
  - !ruby/object:Gem::Version
41
- version: '0'
41
+ version: '2.2'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: rails
44
44
  requirement: !ruby/object:Gem::Requirement
@@ -59,14 +59,14 @@ dependencies:
59
59
  requirements:
60
60
  - - ">="
61
61
  - !ruby/object:Gem::Version
62
- version: '0'
62
+ version: 3.0.0
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '0'
69
+ version: 3.0.0
70
70
  description:
71
71
  email:
72
72
  - dmitry@ergoserv.com