plutonium 0.10.0 → 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/lib/plutonium/config.rb +2 -1
- data/lib/plutonium/version.rb +1 -1
- metadata +1 -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/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