administration-zero 1.0.5 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0055b7410852864619289bb38808d842640bd4287e74569218f777e511e86423
4
- data.tar.gz: 87b8eeee5181729f9b598a811e9f9482924713722375879eb6fc050c177a4cf8
3
+ metadata.gz: 77560576ed90069dc4c24a2630bcd1b2d6c293a39ef5790a728b90e810698ed5
4
+ data.tar.gz: d0d451949f9cfbd5c6437e8e8cd46cbd25bdb2a8d241fc76f5a666c97027da86
5
5
  SHA512:
6
- metadata.gz: f131a63aa42f5f354d89bbbb12a4a88599e2fe7bb10540e0855fee072324f845c3b14d68e47940acd3eae25ee4e20985c4004071b01ad8ad986ddd31a836d33c
7
- data.tar.gz: 3c9af28115f6768cc7f92693bb078c406e960b3a332fe81275b309de2fec537cf9ab8e139c5ce2a2a3dea25e76ff020aa6464c803674cdabb0dd18b8cb08d809
6
+ metadata.gz: da076aa7411ed5c25422d5e52e88ae9901af6f57a9544d90c10ca66ee763d1d0b885f40e2490c33ce3357ed9192410cf7e25404dc7615b5411b7a1f6ec0a3c3e
7
+ data.tar.gz: 9789eb09c262e407629b9aed8e49e3040be34b707f673c6b2256de5fc8e6bc39458acbaccf753fee8c6bd0bae1fd8ee6ec59c4d7f9422177dc04fc88d4f22005
data/CHANGELOG.md CHANGED
@@ -1,8 +1,14 @@
1
1
  ## [Unreleased]
2
2
 
3
- ## [1.0.5] - 2024-01-17
3
+ ## [1.0.7] - 2025-11-03
4
+ - Fix system_test.rb not found
5
+
6
+ ## [1.0.6] - 2025-01-17
7
+ - Remove admin scaffold system test
8
+
9
+ ## [1.0.5] - 2025-01-17
4
10
  - Added ransackable_attributes to Admin::User
5
11
  - Updated dependencies
6
12
  - Fixed scaffold with boolean columns
7
13
  - Updated authentication
8
- - Removed system tests
14
+ - Removed system tests
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- administration-zero (1.0.5)
4
+ administration-zero (1.0.7)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -9,6 +9,7 @@ GEM
9
9
  rake (13.0.6)
10
10
 
11
11
  PLATFORMS
12
+ arm64-darwin-25
12
13
  x86_64-darwin-21
13
14
  x86_64-darwin-23
14
15
 
@@ -1,3 +1,3 @@
1
1
  module AdministrationZero
2
- VERSION = "1.0.5"
2
+ VERSION = "1.0.7"
3
3
  end
@@ -15,9 +15,7 @@ module Admin
15
15
  directory "erb", "app/views/admin/#{file_name.pluralize}"
16
16
 
17
17
  template "controller.rb", "app/controllers/admin/#{controller_file_name}_controller.rb"
18
-
19
18
  template "functional_test.rb", "test/controllers/admin/#{controller_file_name}_controller_test.rb"
20
- template "system_test.rb", "test/system/admin/#{file_name.pluralize}_test.rb"
21
19
  end
22
20
 
23
21
  def create_routes
metadata CHANGED
@@ -1,16 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: administration-zero
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nixon
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-01-17 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies: []
13
- description:
14
12
  email:
15
13
  - lazaronixon@hotmail.com
16
14
  executables: []
@@ -85,7 +83,6 @@ files:
85
83
  - lib/generators/admin/scaffold/templates/erb/new.html.erb.tt
86
84
  - lib/generators/admin/scaffold/templates/erb/show.html.erb.tt
87
85
  - lib/generators/admin/scaffold/templates/functional_test.rb.tt
88
- - lib/generators/admin/scaffold/templates/system_test.rb.tt
89
86
  homepage: https://github.com/lazaronixon/authentication-zero
90
87
  licenses:
91
88
  - MIT
@@ -93,7 +90,6 @@ metadata:
93
90
  homepage_uri: https://github.com/lazaronixon/authentication-zero
94
91
  source_code_uri: https://github.com/lazaronixon/administration-zero
95
92
  changelog_uri: https://github.com/lazaronixon/administration-zero/blob/main/CHANGELOG.md
96
- post_install_message:
97
93
  rdoc_options: []
98
94
  require_paths:
99
95
  - lib
@@ -108,8 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
104
  - !ruby/object:Gem::Version
109
105
  version: '0'
110
106
  requirements: []
111
- rubygems_version: 3.5.10
112
- signing_key:
107
+ rubygems_version: 3.7.2
113
108
  specification_version: 4
114
109
  summary: An administration system generator for Rails applications
115
110
  test_files: []
@@ -1,52 +0,0 @@
1
- require "application_system_test_case"
2
-
3
- class <%= class_name.pluralize %>Test < ApplicationSystemTestCase
4
- setup do
5
- @admin_user = sign_in_admin_as(admin_users(:lazaro_nixon))
6
- @<%= singular_table_name %> = <%= fixture_name %>(:one)
7
- end
8
-
9
- test "visiting the index" do
10
- visit <%= index_helper(type: :url) %>
11
- assert_selector "h1", text: "<%= human_name.pluralize %>"
12
- end
13
-
14
- test "should create <%= human_name.downcase %>" do
15
- visit <%= index_helper(type: :url) %>
16
- click_on "New <%= human_name.downcase %>"
17
-
18
- <%- attributes_hash.each do |attr, value| -%>
19
- <%- if boolean?(attr) -%>
20
- check "<%= attr.humanize %>" if <%= value %>
21
- <%- else -%>
22
- fill_in "<%= attr.humanize %>", with: <%= value %>
23
- <%- end -%>
24
- <%- end -%>
25
- click_on "Create <%= human_name %>"
26
-
27
- assert_text "<%= human_name %> was successfully created"
28
- end
29
-
30
- test "should update <%= human_name %>" do
31
- visit <%= show_helper(type: :url) %>
32
- click_on "Edit <%= human_name.downcase %>", match: :first
33
-
34
- <%- attributes_hash.each do |attr, value| -%>
35
- <%- if boolean?(attr) -%>
36
- check "<%= attr.humanize %>" if <%= value %>
37
- <%- else -%>
38
- fill_in "<%= attr.humanize %>", with: <%= value %>
39
- <%- end -%>
40
- <%- end -%>
41
- click_on "Update <%= human_name %>"
42
-
43
- assert_text "<%= human_name %> was successfully updated"
44
- end
45
-
46
- test "should destroy <%= human_name %>" do
47
- visit <%= show_helper(type: :url) %>
48
- page.accept_confirm { click_on "Delete <%= human_name.downcase %>" }
49
-
50
- assert_text "<%= human_name %> was successfully destroyed"
51
- end
52
- end