demo_mode 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +2 -0
- data/app/controllers/concerns/demo_mode/demoable.rb +2 -0
- data/app/controllers/demo_mode/application_controller.rb +2 -0
- data/app/controllers/demo_mode/sessions_controller.rb +2 -0
- data/app/jobs/demo_mode/account_generation_job.rb +2 -0
- data/app/models/demo_mode/session.rb +2 -0
- data/config/routes.rb +2 -0
- data/db/migrate/20190503143021_add_demo_mode_sessions.rb +2 -0
- data/db/migrate/20201111000000_add_demo_mode_sessions_variant.rb +2 -0
- data/db/migrate/20210505000000_add_demo_mode_sessions_password.rb +2 -0
- data/lib/demo_mode/clever_sequence.rb +2 -0
- data/lib/demo_mode/cli.rb +2 -0
- data/lib/demo_mode/clis/multi_word_search_patch.rb +2 -0
- data/lib/demo_mode/concerns/configurable.rb +4 -2
- data/lib/demo_mode/config.rb +2 -0
- data/lib/demo_mode/engine.rb +2 -0
- data/lib/demo_mode/factory_bot_ext.rb +2 -0
- data/lib/demo_mode/persona.rb +2 -0
- data/lib/demo_mode/tasks.rb +2 -0
- data/lib/demo_mode/version.rb +3 -1
- data/lib/demo_mode.rb +2 -0
- data/lib/generators/demo_mode/install_generator.rb +2 -0
- data/lib/generators/templates/initializer.rb +2 -0
- data/lib/generators/templates/sample_persona.rb +2 -0
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4fa471d71f9b23bdf5f3699471633cb453b1b71d36ef42281061803c14577eb3
|
4
|
+
data.tar.gz: b02c14aa3dcebba1acfe0d1dbf46860f6a3b8a6c794b8f01a6773c2886518e41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 525c40df108867d7a10815cf0ab172302e1718321f560e6c5e7e449d0ad2507c4ae8fe4ee86bf054eb4e607ac2e32ea14e21f9038dae444bfe07a8db8bb188c2
|
7
|
+
data.tar.gz: bfe47613f072cd372d622f3b2f38c75a1ce053fd09492c447fc22d829f3e5324d6a7dcc973a01db4bb39ca4471ccec112be9d54abd222027ef404e71cc4b7f22
|
data/Rakefile
CHANGED
data/config/routes.rb
CHANGED
data/lib/demo_mode/cli.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module Configurable
|
2
4
|
extend ActiveSupport::Concern
|
3
5
|
|
@@ -13,8 +15,8 @@ module Configurable
|
|
13
15
|
|
14
16
|
def configurable_boolean(name, default: false)
|
15
17
|
configurable(name, -> { default })
|
16
|
-
alias_method "#{name}?", name
|
17
|
-
configurations << "#{name}?"
|
18
|
+
alias_method :"#{name}?", name
|
19
|
+
configurations << :"#{name}?"
|
18
20
|
end
|
19
21
|
|
20
22
|
private
|
data/lib/demo_mode/config.rb
CHANGED
data/lib/demo_mode/engine.rb
CHANGED
data/lib/demo_mode/persona.rb
CHANGED
data/lib/demo_mode/tasks.rb
CHANGED
data/lib/demo_mode/version.rb
CHANGED
data/lib/demo_mode.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: demo_mode
|
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
|
- Nathan Griffith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: cli-ui
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: rails
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -119,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
119
133
|
- !ruby/object:Gem::Version
|
120
134
|
version: '0'
|
121
135
|
requirements: []
|
122
|
-
rubygems_version: 3.4.
|
136
|
+
rubygems_version: 3.4.22
|
123
137
|
signing_key:
|
124
138
|
specification_version: 4
|
125
139
|
summary: A configurable demo mode for your Rails app.
|