plutonium 0.9.2 → 0.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +3 -4
- data/js.manifest +4 -0
- data/lib/plutonium/config.rb +2 -1
- data/lib/plutonium/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62776ccdb807ad168a6e61bcea935268d749a932018c1064c6df354d125e06c2
|
4
|
+
data.tar.gz: 1bbce05f7591948984c31d1a662b55a098248323e93f0c4e171aac107e132bf6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66844257f2a1b0cbeb59cbdfaa211ec87c176389a2e8058cf679d133b31f7f09d3fb21b98cea25b5856b5e43ed0572d3fb8872189464d0fbeedf7c0ce5d96cd4
|
7
|
+
data.tar.gz: 1220dded69fae0946c2df3120f2c89db1262a38a481d461410dbac2b6dd76139805612fe3a1e470c2e5951684e401f98a38ef6ebce0b6040a7222e0129b88d3f
|
data/Rakefile
CHANGED
@@ -8,10 +8,9 @@ require "standard/rake"
|
|
8
8
|
task default: %i[spec standard]
|
9
9
|
|
10
10
|
task :assets do
|
11
|
-
puts "assets >>>>>>>"
|
12
11
|
`npm run js:prod`
|
12
|
+
`npm run css:prod`
|
13
13
|
end
|
14
14
|
|
15
|
-
|
16
|
-
|
17
|
-
end
|
15
|
+
# https://stackoverflow.com/questions/15707940/rake-before-task-hook
|
16
|
+
Rake::Task["build"].enhance ["assets"]
|
data/js.manifest
ADDED
data/lib/plutonium/config.rb
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
require "active_support"
|
2
|
+
require "active_model"
|
2
3
|
|
3
4
|
module Plutonium
|
4
5
|
module Config
|
5
6
|
# @return [Boolean] Are we developing plutonium? This is separate from Rails development.
|
6
7
|
mattr_accessor :development
|
7
|
-
@@development =
|
8
|
+
@@development = ActiveModel::Type::Boolean.new.cast(ENV["PLUTONIUM_DEV"]).present?
|
8
9
|
|
9
10
|
# @return [Boolean] Should hotreload be enabled? Enabled by default in Rails development.
|
10
11
|
mattr_accessor :enable_hotreload
|
data/lib/plutonium/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: plutonium
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Froelich
|
@@ -847,6 +847,7 @@ files:
|
|
847
847
|
- css.manifest
|
848
848
|
- esbuild.config.js
|
849
849
|
- exe/pug
|
850
|
+
- js.manifest
|
850
851
|
- lib/active_model/validations/array_validator.rb
|
851
852
|
- lib/active_model/validations/attached_validator.rb
|
852
853
|
- lib/active_model/validations/url_validator.rb
|