base_editing_bootstrap 0.4.0 → 0.4.2

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: 0c34b968628eb0454335d3d95796e381ec478cb236a44941cbf267220377df6b
4
- data.tar.gz: ac7a7f7106bf53615569782e55a19aafccd3c2d63aee77c0e71b27b6e7599de6
3
+ metadata.gz: 77c13adc91ffb0336f044c8679f8594896f0488217c2a794440346f950cb13c1
4
+ data.tar.gz: c41c9312226e37ff2f244612abe2168e3aecf9bd6cadc79015faa1939e3f7eeb
5
5
  SHA512:
6
- metadata.gz: 3dccc18a70b861a9d3ead369dbbd57d4c5504bd7316e16c07521ef75e4bdb0142d8978ff47787f0d80143af1511c44efc199bb04c85a7a3852a35d8ae7fea7ee
7
- data.tar.gz: d0cefc4ba1f38b7ec45e3a93609b0cd498dfb6dcee6be9d7054a3b18e7cadaddb97855355595fb2b783baeb2d98f6d1410b6453832de3e32344cc170014c8c7f
6
+ metadata.gz: 4bda28795ec6bb33c7dcfc043f51da88c54b4055b014f223d0ccad0d2d5ba72423db87134f08317f2b6153da9bc0c5713ded3772a4949b0f165285c2aae3cf1b
7
+ data.tar.gz: 6ef88c451560bf050e497c559f19bc1e96cf87b02e83b5fe6dd42010e3baea5e30f94e6ceac57963eb89d7ce16d21a2e88e6358a80bcf8237fe8e04558324e39
data/CHANGELOG.md CHANGED
@@ -2,6 +2,18 @@
2
2
  All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines.
3
3
 
4
4
  - - -
5
+ ## 0.4.2 - 2024-05-08
6
+ #### Bug Fixes
7
+ - Rename shared example for cluck with apps - (41638f8) - Marino Bonetti
8
+
9
+ - - -
10
+
11
+ ## 0.4.1 - 2024-04-30
12
+ #### Bug Fixes
13
+ - Correct pundit shared examples - (2001e08) - Marino Bonetti
14
+
15
+ - - -
16
+
5
17
  ## 0.4.0 - 2024-04-29
6
18
  #### Bug Fixes
7
19
  - Add Translations for pagination - (14bbb6f) - Marino Bonetti
@@ -1 +1 @@
1
- 0.4.0
1
+ 0.4.2
@@ -13,11 +13,11 @@ RSpec::Matchers.define :permit_editable_attributes do |*expected_attributes|
13
13
  end
14
14
  end
15
15
 
16
- shared_examples "a standard policy" do |factory|
16
+ RSpec.shared_examples "a standard base model policy" do |factory, check_default_responses: false|
17
17
  let(:user) { create(:user) }
18
18
  let(:instance) { described_class.new(user, build(factory)) }
19
19
 
20
- describe "standard_methotds" do
20
+ describe "standard_methods" do
21
21
  where(:method, :response) do
22
22
  [
23
23
  [:show?, false],
@@ -32,8 +32,10 @@ shared_examples "a standard policy" do |factory|
32
32
  it "should " do
33
33
  expect(instance).to respond_to(method)
34
34
  end
35
- it "return value" do
36
- expect(instance.send(method)).to be == response
35
+ if check_default_responses
36
+ it "return value" do
37
+ expect(instance.send(method)).to be == response
38
+ end
37
39
  end
38
40
  end
39
41
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: base_editing_bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marino Bonetti
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-29 00:00:00.000000000 Z
11
+ date: 2024-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails