simpacker 1.2.0 → 1.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 +4 -4
- data/.github/FUNDING.yml +1 -0
- data/lib/simpacker/context.rb +5 -1
- data/lib/simpacker/version.rb +1 -1
- metadata +7 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz: '
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '0139306891348475e95639dd949dc1e4ea13cda119e071747b6ec844779d1baf'
|
|
4
|
+
data.tar.gz: 5947faf436c67d36458bbff49b965c763d22da38e52ebaf8dd3c0ca0c973fbc3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ed31365cf898b70202c16631f94fc460bd0c1df201ffb45b21c3c874ce3824b0bd6a683c6ad3b508c79bcdccf9904e906abcd174d084864f3b6daba2b6ea3879
|
|
7
|
+
data.tar.gz: d45ffeffacd5c5fe4c68abcae7b30c2ec508aa50596d00fa9898eaa53617092df0183ddcd42262de7587b27f4c8e31756d2c151c05dad080e05496c9d7473742
|
data/.github/FUNDING.yml
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
github: hokaccha
|
data/lib/simpacker/context.rb
CHANGED
|
@@ -16,7 +16,11 @@ module Simpacker
|
|
|
16
16
|
|
|
17
17
|
def load_config_file(root_path, env)
|
|
18
18
|
config_path = root_path.join("config/simpacker.yml")
|
|
19
|
-
yaml =
|
|
19
|
+
yaml = begin
|
|
20
|
+
YAML.load(config_path.read, aliases: true)
|
|
21
|
+
rescue ArgumentError
|
|
22
|
+
YAML.load(config_path.read)
|
|
23
|
+
end
|
|
20
24
|
config_env = yaml.fetch(env.to_s)
|
|
21
25
|
{
|
|
22
26
|
manifest_path: root_path.join(config_env.fetch('manifest_path')),
|
data/lib/simpacker/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: simpacker
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kazuhito Hokamura
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-01-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: railties
|
|
@@ -87,6 +87,7 @@ executables: []
|
|
|
87
87
|
extensions: []
|
|
88
88
|
extra_rdoc_files: []
|
|
89
89
|
files:
|
|
90
|
+
- ".github/FUNDING.yml"
|
|
90
91
|
- ".gitignore"
|
|
91
92
|
- ".prettierignore"
|
|
92
93
|
- ".travis.yml"
|
|
@@ -117,7 +118,7 @@ homepage: https://github.com/hokaccha/simpacker
|
|
|
117
118
|
licenses:
|
|
118
119
|
- MIT
|
|
119
120
|
metadata: {}
|
|
120
|
-
post_install_message:
|
|
121
|
+
post_install_message:
|
|
121
122
|
rdoc_options: []
|
|
122
123
|
require_paths:
|
|
123
124
|
- lib
|
|
@@ -132,8 +133,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
132
133
|
- !ruby/object:Gem::Version
|
|
133
134
|
version: '0'
|
|
134
135
|
requirements: []
|
|
135
|
-
rubygems_version: 3.
|
|
136
|
-
signing_key:
|
|
136
|
+
rubygems_version: 3.0.3
|
|
137
|
+
signing_key:
|
|
137
138
|
specification_version: 4
|
|
138
139
|
summary: Integrate modern JavaScript build system with Rails.
|
|
139
140
|
test_files: []
|