yummy-guide-generic-administrate 0.2.0 → 0.2.1
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 473c94cf71c0941c5c1126338391f17de4ddb8f6f357a14db879008575fd5902
|
|
4
|
+
data.tar.gz: 5a4fb4e5a0ba633c27ca3ccca0150d91b397219b069f8db9a3e9d4b9287557f2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b8e09eb75afdb7f9957973afb70a8cb44d2bb30c3d0c434df7f982b6e464086d877bf2e5f3089192118f04aba384f6311658c9cf45735b24f4418207803dcfd9
|
|
7
|
+
data.tar.gz: '0810e4924d10070acc6f51e095c5a72b0b8b7ca73fb3c77ca23617e0d8598813e65f3ad4204b3b12efdade3425713f8801bf7ac6c1458dbe8ba30fe38944ab19'
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require "open3"
|
|
4
|
+
require "rbconfig"
|
|
5
|
+
|
|
6
|
+
RSpec.describe "yummy/guide/generic/administrate" do
|
|
7
|
+
it "Bundler の自動 require 互換パスから engine を読み込めること" do
|
|
8
|
+
# Gem 名から導かれる require パスで engine まで初期化できることを検証する。
|
|
9
|
+
stdout, stderr, status = Open3.capture3(
|
|
10
|
+
{
|
|
11
|
+
"BUNDLE_GEMFILE" => File.expand_path("../../../../Gemfile", __dir__)
|
|
12
|
+
},
|
|
13
|
+
RbConfig.ruby,
|
|
14
|
+
"-rbundler/setup",
|
|
15
|
+
"-I",
|
|
16
|
+
File.expand_path("../../../../lib", __dir__),
|
|
17
|
+
"-e",
|
|
18
|
+
'require "yummy/guide/generic/administrate"; puts Administrate::Engine.name'
|
|
19
|
+
)
|
|
20
|
+
|
|
21
|
+
expect(status.success?).to be(true), stderr
|
|
22
|
+
expect(stdout.strip).to eq("Administrate::Engine")
|
|
23
|
+
end
|
|
24
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: yummy-guide-generic-administrate
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- akatsuki-kk
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-05-
|
|
11
|
+
date: 2026-05-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: administrate
|
|
@@ -119,10 +119,12 @@ files:
|
|
|
119
119
|
- app/views/yummy_guide/administrate/filter_forms/_datetime_field.html.erb
|
|
120
120
|
- app/views/yummy_guide/administrate/filter_forms/_frame.html.erb
|
|
121
121
|
- lib/generic/administrate.rb
|
|
122
|
+
- lib/yummy/guide/generic/administrate.rb
|
|
122
123
|
- lib/yummy_guide/administrate.rb
|
|
123
124
|
- lib/yummy_guide/administrate/engine.rb
|
|
124
125
|
- lib/yummy_guide/administrate/version.rb
|
|
125
126
|
- spec/spec_helper.rb
|
|
127
|
+
- spec/yummy/guide/generic/administrate_spec.rb
|
|
126
128
|
- spec/yummy_guide/administrate/application_dashboard_spec.rb
|
|
127
129
|
- spec/yummy_guide/administrate/collection_helper_spec.rb
|
|
128
130
|
- spec/yummy_guide/administrate/datetime_filter_parameters_spec.rb
|