demo_mode 1.5.0 → 2.0.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/app/views/layouts/demo_mode/application.html.erb +4 -2
- data/lib/demo_mode/config.rb +3 -3
- data/lib/demo_mode/engine.rb +3 -12
- data/lib/demo_mode/persona.rb +1 -1
- data/lib/demo_mode/version.rb +1 -1
- data/lib/demo_mode.rb +6 -1
- data/{app/assets/javascript/demo_mode/application.js → public/assets/demo_mode/demo_mode.js} +0 -2
- data/public/assets/demo_mode/vendor/typed-v2.1.0.js +2 -0
- metadata +33 -33
- data/app/assets/stylesheets/demo_mode/application.css +0 -5
- /data/{app/assets/stylesheets/demo_mode/default.css → public/assets/demo_mode/demo_mode.css} +0 -0
- /data/{app/assets/images → public/assets}/demo_mode/icon--tophat.png +0 -0
- /data/{app/assets/images → public/assets}/demo_mode/icon--user.png +0 -0
- /data/{app/assets/images → public/assets}/demo_mode/icon--users.png +0 -0
- /data/{app/assets/images → public/assets}/demo_mode/loader.png +0 -0
- /data/{app/assets/stylesheets/demo_mode/normalize.css → public/assets/demo_mode/vendor/normalize-v8.0.1.css} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b196c5819bc10bf1250a85f86945116322e6b5c6b80ab5aa5203f53bdb51703e
|
4
|
+
data.tar.gz: 4ff919a389d224246010c59644c400608afb1e0d55a80fe5f049ba0cc86280f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b82b5aef0976ca6267cbf9bcce2aabc49e157c0bbba42623819f30559e3edd8d6486b5ec1caa02df20fbd61995bdf1759aef00d3361d1a264ef2c2ff59b57df
|
7
|
+
data.tar.gz: 02ba40ba00c3247bb9652b4fafad550b23821ca1326fa380384042d21bc2c5c33eba7b246cc634bdef0681b69d9e1e80492905bb208c4c82ba06ae7cc0e4beb3
|
@@ -5,8 +5,10 @@
|
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
<title>Demo Mode</title>
|
7
7
|
<%= favicon_link_tag '/favicon.ico' %>
|
8
|
-
|
9
|
-
|
8
|
+
<link rel="stylesheet" href="/assets/demo_mode/vendor/normalize-v8.0.1.css">
|
9
|
+
<link rel="stylesheet" href="/assets/demo_mode/demo_mode.css?v=<%= DemoMode::VERSION %>">
|
10
|
+
<script src="/assets/demo_mode/vendor/typed-v2.1.0.js"></script>
|
11
|
+
<script src="/assets/demo_mode/demo_mode.js?v=<%= DemoMode::VERSION %>"></script>
|
10
12
|
<%= csrf_meta_tags %>
|
11
13
|
<meta name="viewport" content="width=device-width, initial-scale=1.0 maximum-scale=1.0, user-scalable=0">
|
12
14
|
</head>
|
data/lib/demo_mode/config.rb
CHANGED
@@ -39,7 +39,7 @@ module DemoMode
|
|
39
39
|
if block
|
40
40
|
@loader = block
|
41
41
|
else
|
42
|
-
@loader ||= ->(_) { image_tag(
|
42
|
+
@loader ||= ->(_) { image_tag("/assets/demo_mode/loader.png?v=#{VERSION}") }
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
@@ -47,9 +47,9 @@ module DemoMode
|
|
47
47
|
if block
|
48
48
|
@icon = block
|
49
49
|
elsif name_or_path
|
50
|
-
@path =
|
50
|
+
@path = ICONS.fetch(name_or_path, name_or_path)
|
51
51
|
else
|
52
|
-
@path ||=
|
52
|
+
@path ||= ICONS.fetch(:user)
|
53
53
|
path = @path
|
54
54
|
@icon ||= ->(_) { image_tag path }
|
55
55
|
end
|
data/lib/demo_mode/engine.rb
CHANGED
@@ -1,7 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'sprockets/railtie'
|
4
|
-
|
5
3
|
module DemoMode
|
6
4
|
class Engine < ::Rails::Engine
|
7
5
|
isolate_namespace DemoMode
|
@@ -12,23 +10,16 @@ module DemoMode
|
|
12
10
|
load 'demo_mode/tasks.rb'
|
13
11
|
end
|
14
12
|
|
15
|
-
initializer 'demo_mode' do |
|
13
|
+
initializer 'demo_mode' do |app|
|
16
14
|
require 'zeitwerk/version'
|
17
15
|
raise 'DemoMode only supports Zeitwerk::VERSION >= 2.4.2' unless Gem::Version.new(Zeitwerk::VERSION) >= Gem::Version.new('2.4.2')
|
18
16
|
|
19
17
|
Rails.autoloaders.main.on_load(DemoMode.app_base_controller_name) do
|
20
18
|
DemoMode.app_base_controller_name.constantize.include Demoable
|
21
19
|
end
|
22
|
-
end
|
23
|
-
end
|
24
20
|
|
25
|
-
|
26
|
-
|
27
|
-
app.config.assets.precompile << 'demo_mode/application.js'
|
28
|
-
app.config.assets.precompile << 'demo_mode/icon--user.png'
|
29
|
-
app.config.assets.precompile << 'demo_mode/icon--users.png'
|
30
|
-
app.config.assets.precompile << 'demo_mode/icon--tophat.png'
|
31
|
-
app.config.assets.precompile << 'demo_mode/loader.png'
|
21
|
+
app.middleware.insert_before(ActionDispatch::Static, ActionDispatch::Static, "#{root}/public")
|
22
|
+
end
|
32
23
|
end
|
33
24
|
end
|
34
25
|
end
|
data/lib/demo_mode/persona.rb
CHANGED
@@ -15,7 +15,7 @@ module DemoMode
|
|
15
15
|
if block
|
16
16
|
@icon = block
|
17
17
|
elsif name_or_path
|
18
|
-
@path =
|
18
|
+
@path = ICONS.fetch(name_or_path, name_or_path)
|
19
19
|
path = @path
|
20
20
|
@icon = ->(_) { image_tag path }
|
21
21
|
else
|
data/lib/demo_mode/version.rb
CHANGED
data/lib/demo_mode.rb
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'rails'
|
4
|
-
require 'typedjs-rails'
|
5
4
|
require 'demo_mode/version'
|
6
5
|
require 'demo_mode/clever_sequence'
|
7
6
|
require 'demo_mode/config'
|
@@ -9,6 +8,12 @@ require 'demo_mode/engine'
|
|
9
8
|
require 'demo_mode/persona'
|
10
9
|
|
11
10
|
module DemoMode
|
11
|
+
ICONS = {
|
12
|
+
tophat: "/assets/demo_mode/icon--tophat.png?v=#{VERSION}",
|
13
|
+
user: "/assets/demo_mode/icon--user.png?v=#{VERSION}",
|
14
|
+
users: "/assets/demo_mode/icon--users.png?v=#{VERSION}",
|
15
|
+
}.freeze
|
16
|
+
|
12
17
|
class << self
|
13
18
|
delegate(*Config.configurations, to: :configuration)
|
14
19
|
|
@@ -0,0 +1,2 @@
|
|
1
|
+
!function(t,s){"object"==typeof exports&&"undefined"!=typeof module?module.exports=s():"function"==typeof define&&define.amd?define(s):(t||self).Typed=s()}(this,function(){function t(){return t=Object.assign?Object.assign.bind():function(t){for(var s=1;s<arguments.length;s++){var e=arguments[s];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}return t},t.apply(this,arguments)}var s={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,smartBackspace:!0,shuffle:!1,backDelay:700,fadeOut:!1,fadeOutClass:"typed-fade-out",fadeOutDelay:500,loop:!1,loopCount:Infinity,showCursor:!0,cursorChar:"|",autoInsertCss:!0,attr:null,bindInputFocusEvents:!1,contentType:"html",onBegin:function(t){},onComplete:function(t){},preStringTyped:function(t,s){},onStringTyped:function(t,s){},onLastStringBackspaced:function(t){},onTypingPaused:function(t,s){},onTypingResumed:function(t,s){},onReset:function(t){},onStop:function(t,s){},onStart:function(t,s){},onDestroy:function(t){}},e=new(/*#__PURE__*/function(){function e(){}var n=e.prototype;return n.load=function(e,n,i){if(e.el="string"==typeof i?document.querySelector(i):i,e.options=t({},s,n),e.isInput="input"===e.el.tagName.toLowerCase(),e.attr=e.options.attr,e.bindInputFocusEvents=e.options.bindInputFocusEvents,e.showCursor=!e.isInput&&e.options.showCursor,e.cursorChar=e.options.cursorChar,e.cursorBlinking=!0,e.elContent=e.attr?e.el.getAttribute(e.attr):e.el.textContent,e.contentType=e.options.contentType,e.typeSpeed=e.options.typeSpeed,e.startDelay=e.options.startDelay,e.backSpeed=e.options.backSpeed,e.smartBackspace=e.options.smartBackspace,e.backDelay=e.options.backDelay,e.fadeOut=e.options.fadeOut,e.fadeOutClass=e.options.fadeOutClass,e.fadeOutDelay=e.options.fadeOutDelay,e.isPaused=!1,e.strings=e.options.strings.map(function(t){return t.trim()}),e.stringsElement="string"==typeof e.options.stringsElement?document.querySelector(e.options.stringsElement):e.options.stringsElement,e.stringsElement){e.strings=[],e.stringsElement.style.cssText="clip: rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px;";var r=Array.prototype.slice.apply(e.stringsElement.children),o=r.length;if(o)for(var a=0;a<o;a+=1)e.strings.push(r[a].innerHTML.trim())}for(var u in e.strPos=0,e.currentElContent=this.getCurrentElContent(e),e.currentElContent&&e.currentElContent.length>0&&(e.strPos=e.currentElContent.length-1,e.strings.unshift(e.currentElContent)),e.sequence=[],e.strings)e.sequence[u]=u;e.arrayPos=0,e.stopNum=0,e.loop=e.options.loop,e.loopCount=e.options.loopCount,e.curLoop=0,e.shuffle=e.options.shuffle,e.pause={status:!1,typewrite:!0,curString:"",curStrPos:0},e.typingComplete=!1,e.autoInsertCss=e.options.autoInsertCss,e.autoInsertCss&&(this.appendCursorAnimationCss(e),this.appendFadeOutAnimationCss(e))},n.getCurrentElContent=function(t){return t.attr?t.el.getAttribute(t.attr):t.isInput?t.el.value:"html"===t.contentType?t.el.innerHTML:t.el.textContent},n.appendCursorAnimationCss=function(t){var s="data-typed-js-cursor-css";if(t.showCursor&&!document.querySelector("["+s+"]")){var e=document.createElement("style");e.setAttribute(s,"true"),e.innerHTML="\n .typed-cursor{\n opacity: 1;\n }\n .typed-cursor.typed-cursor--blink{\n animation: typedjsBlink 0.7s infinite;\n -webkit-animation: typedjsBlink 0.7s infinite;\n animation: typedjsBlink 0.7s infinite;\n }\n @keyframes typedjsBlink{\n 50% { opacity: 0.0; }\n }\n @-webkit-keyframes typedjsBlink{\n 0% { opacity: 1; }\n 50% { opacity: 0.0; }\n 100% { opacity: 1; }\n }\n ",document.body.appendChild(e)}},n.appendFadeOutAnimationCss=function(t){var s="data-typed-fadeout-js-css";if(t.fadeOut&&!document.querySelector("["+s+"]")){var e=document.createElement("style");e.setAttribute(s,"true"),e.innerHTML="\n .typed-fade-out{\n opacity: 0;\n transition: opacity .25s;\n }\n .typed-cursor.typed-cursor--blink.typed-fade-out{\n -webkit-animation: 0;\n animation: 0;\n }\n ",document.body.appendChild(e)}},e}()),n=new(/*#__PURE__*/function(){function t(){}var s=t.prototype;return s.typeHtmlChars=function(t,s,e){if("html"!==e.contentType)return s;var n=t.substring(s).charAt(0);if("<"===n||"&"===n){var i;for(i="<"===n?">":";";t.substring(s+1).charAt(0)!==i&&!(1+ ++s>t.length););s++}return s},s.backSpaceHtmlChars=function(t,s,e){if("html"!==e.contentType)return s;var n=t.substring(s).charAt(0);if(">"===n||";"===n){var i;for(i=">"===n?"<":"&";t.substring(s-1).charAt(0)!==i&&!(--s<0););s--}return s},t}());/*#__PURE__*/
|
2
|
+
return function(){function t(t,s){e.load(this,s,t),this.begin()}var s=t.prototype;return s.toggle=function(){this.pause.status?this.start():this.stop()},s.stop=function(){this.typingComplete||this.pause.status||(this.toggleBlinking(!0),this.pause.status=!0,this.options.onStop(this.arrayPos,this))},s.start=function(){this.typingComplete||this.pause.status&&(this.pause.status=!1,this.pause.typewrite?this.typewrite(this.pause.curString,this.pause.curStrPos):this.backspace(this.pause.curString,this.pause.curStrPos),this.options.onStart(this.arrayPos,this))},s.destroy=function(){this.reset(!1),this.options.onDestroy(this)},s.reset=function(t){void 0===t&&(t=!0),clearInterval(this.timeout),this.replaceText(""),this.cursor&&this.cursor.parentNode&&(this.cursor.parentNode.removeChild(this.cursor),this.cursor=null),this.strPos=0,this.arrayPos=0,this.curLoop=0,t&&(this.insertCursor(),this.options.onReset(this),this.begin())},s.begin=function(){var t=this;this.options.onBegin(this),this.typingComplete=!1,this.shuffleStringsIfNeeded(this),this.insertCursor(),this.bindInputFocusEvents&&this.bindFocusEvents(),this.timeout=setTimeout(function(){0===t.strPos?t.typewrite(t.strings[t.sequence[t.arrayPos]],t.strPos):t.backspace(t.strings[t.sequence[t.arrayPos]],t.strPos)},this.startDelay)},s.typewrite=function(t,s){var e=this;this.fadeOut&&this.el.classList.contains(this.fadeOutClass)&&(this.el.classList.remove(this.fadeOutClass),this.cursor&&this.cursor.classList.remove(this.fadeOutClass));var i=this.humanizer(this.typeSpeed),r=1;!0!==this.pause.status?this.timeout=setTimeout(function(){s=n.typeHtmlChars(t,s,e);var i=0,o=t.substring(s);if("^"===o.charAt(0)&&/^\^\d+/.test(o)){var a=1;a+=(o=/\d+/.exec(o)[0]).length,i=parseInt(o),e.temporaryPause=!0,e.options.onTypingPaused(e.arrayPos,e),t=t.substring(0,s)+t.substring(s+a),e.toggleBlinking(!0)}if("`"===o.charAt(0)){for(;"`"!==t.substring(s+r).charAt(0)&&(r++,!(s+r>t.length)););var u=t.substring(0,s),p=t.substring(u.length+1,s+r),c=t.substring(s+r+1);t=u+p+c,r--}e.timeout=setTimeout(function(){e.toggleBlinking(!1),s>=t.length?e.doneTyping(t,s):e.keepTyping(t,s,r),e.temporaryPause&&(e.temporaryPause=!1,e.options.onTypingResumed(e.arrayPos,e))},i)},i):this.setPauseStatus(t,s,!0)},s.keepTyping=function(t,s,e){0===s&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this));var n=t.substring(0,s+=e);this.replaceText(n),this.typewrite(t,s)},s.doneTyping=function(t,s){var e=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=setTimeout(function(){e.backspace(t,s)},this.backDelay))},s.backspace=function(t,s){var e=this;if(!0!==this.pause.status){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var i=this.humanizer(this.backSpeed);this.timeout=setTimeout(function(){s=n.backSpaceHtmlChars(t,s,e);var i=t.substring(0,s);if(e.replaceText(i),e.smartBackspace){var r=e.strings[e.arrayPos+1];e.stopNum=r&&i===r.substring(0,s)?s:0}s>e.stopNum?(s--,e.backspace(t,s)):s<=e.stopNum&&(e.arrayPos++,e.arrayPos===e.strings.length?(e.arrayPos=0,e.options.onLastStringBackspaced(),e.shuffleStringsIfNeeded(),e.begin()):e.typewrite(e.strings[e.sequence[e.arrayPos]],s))},i)}else this.setPauseStatus(t,s,!1)},s.complete=function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0},s.setPauseStatus=function(t,s,e){this.pause.typewrite=e,this.pause.curString=t,this.pause.curStrPos=s},s.toggleBlinking=function(t){this.cursor&&(this.pause.status||this.cursorBlinking!==t&&(this.cursorBlinking=t,t?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))},s.humanizer=function(t){return Math.round(Math.random()*t/2)+t},s.shuffleStringsIfNeeded=function(){this.shuffle&&(this.sequence=this.sequence.sort(function(){return Math.random()-.5}))},s.initFadeOut=function(){var t=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout(function(){t.arrayPos++,t.replaceText(""),t.strings.length>t.arrayPos?t.typewrite(t.strings[t.sequence[t.arrayPos]],0):(t.typewrite(t.strings[0],0),t.arrayPos=0)},this.fadeOutDelay)},s.replaceText=function(t){this.attr?this.el.setAttribute(this.attr,t):this.isInput?this.el.value=t:"html"===this.contentType?this.el.innerHTML=t:this.el.textContent=t},s.bindFocusEvents=function(){var t=this;this.isInput&&(this.el.addEventListener("focus",function(s){t.stop()}),this.el.addEventListener("blur",function(s){t.el.value&&0!==t.el.value.length||t.start()}))},s.insertCursor=function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.setAttribute("aria-hidden",!0),this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))},t}()});
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: demo_mode
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.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: 2025-
|
11
|
+
date: 2025-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
@@ -125,27 +125,33 @@ dependencies:
|
|
125
125
|
- !ruby/object:Gem::Version
|
126
126
|
version: '8.1'
|
127
127
|
- !ruby/object:Gem::Dependency
|
128
|
-
name:
|
128
|
+
name: actionmailer
|
129
129
|
requirement: !ruby/object:Gem::Requirement
|
130
130
|
requirements:
|
131
131
|
- - ">="
|
132
132
|
- !ruby/object:Gem::Version
|
133
|
-
version: '
|
134
|
-
|
133
|
+
version: '6.1'
|
134
|
+
- - "<"
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: '8.1'
|
137
|
+
type: :development
|
135
138
|
prerelease: false
|
136
139
|
version_requirements: !ruby/object:Gem::Requirement
|
137
140
|
requirements:
|
138
141
|
- - ">="
|
139
142
|
- !ruby/object:Gem::Version
|
140
|
-
version: '
|
143
|
+
version: '6.1'
|
144
|
+
- - "<"
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '8.1'
|
141
147
|
- !ruby/object:Gem::Dependency
|
142
|
-
name:
|
148
|
+
name: appraisal
|
143
149
|
requirement: !ruby/object:Gem::Requirement
|
144
150
|
requirements:
|
145
151
|
- - ">="
|
146
152
|
- !ruby/object:Gem::Version
|
147
153
|
version: '0'
|
148
|
-
type: :
|
154
|
+
type: :development
|
149
155
|
prerelease: false
|
150
156
|
version_requirements: !ruby/object:Gem::Requirement
|
151
157
|
requirements:
|
@@ -153,27 +159,21 @@ dependencies:
|
|
153
159
|
- !ruby/object:Gem::Version
|
154
160
|
version: '0'
|
155
161
|
- !ruby/object:Gem::Dependency
|
156
|
-
name:
|
162
|
+
name: betterlint
|
157
163
|
requirement: !ruby/object:Gem::Requirement
|
158
164
|
requirements:
|
159
165
|
- - ">="
|
160
166
|
- !ruby/object:Gem::Version
|
161
|
-
version: '
|
162
|
-
- - "<"
|
163
|
-
- !ruby/object:Gem::Version
|
164
|
-
version: '8.1'
|
167
|
+
version: '0'
|
165
168
|
type: :development
|
166
169
|
prerelease: false
|
167
170
|
version_requirements: !ruby/object:Gem::Requirement
|
168
171
|
requirements:
|
169
172
|
- - ">="
|
170
173
|
- !ruby/object:Gem::Version
|
171
|
-
version: '
|
172
|
-
- - "<"
|
173
|
-
- !ruby/object:Gem::Version
|
174
|
-
version: '8.1'
|
174
|
+
version: '0'
|
175
175
|
- !ruby/object:Gem::Dependency
|
176
|
-
name:
|
176
|
+
name: capybara
|
177
177
|
requirement: !ruby/object:Gem::Requirement
|
178
178
|
requirements:
|
179
179
|
- - ">="
|
@@ -187,7 +187,7 @@ dependencies:
|
|
187
187
|
- !ruby/object:Gem::Version
|
188
188
|
version: '0'
|
189
189
|
- !ruby/object:Gem::Dependency
|
190
|
-
name:
|
190
|
+
name: combustion
|
191
191
|
requirement: !ruby/object:Gem::Requirement
|
192
192
|
requirements:
|
193
193
|
- - ">="
|
@@ -201,7 +201,7 @@ dependencies:
|
|
201
201
|
- !ruby/object:Gem::Version
|
202
202
|
version: '0'
|
203
203
|
- !ruby/object:Gem::Dependency
|
204
|
-
name:
|
204
|
+
name: cuprite
|
205
205
|
requirement: !ruby/object:Gem::Requirement
|
206
206
|
requirements:
|
207
207
|
- - ">="
|
@@ -215,7 +215,7 @@ dependencies:
|
|
215
215
|
- !ruby/object:Gem::Version
|
216
216
|
version: '0'
|
217
217
|
- !ruby/object:Gem::Dependency
|
218
|
-
name:
|
218
|
+
name: factory_bot
|
219
219
|
requirement: !ruby/object:Gem::Requirement
|
220
220
|
requirements:
|
221
221
|
- - ">="
|
@@ -229,7 +229,7 @@ dependencies:
|
|
229
229
|
- !ruby/object:Gem::Version
|
230
230
|
version: '0'
|
231
231
|
- !ruby/object:Gem::Dependency
|
232
|
-
name:
|
232
|
+
name: net-smtp
|
233
233
|
requirement: !ruby/object:Gem::Requirement
|
234
234
|
requirements:
|
235
235
|
- - ">="
|
@@ -243,7 +243,7 @@ dependencies:
|
|
243
243
|
- !ruby/object:Gem::Version
|
244
244
|
version: '0'
|
245
245
|
- !ruby/object:Gem::Dependency
|
246
|
-
name:
|
246
|
+
name: rspec-rails
|
247
247
|
requirement: !ruby/object:Gem::Requirement
|
248
248
|
requirements:
|
249
249
|
- - ">="
|
@@ -257,7 +257,7 @@ dependencies:
|
|
257
257
|
- !ruby/object:Gem::Version
|
258
258
|
version: '0'
|
259
259
|
- !ruby/object:Gem::Dependency
|
260
|
-
name:
|
260
|
+
name: sprockets-rails
|
261
261
|
requirement: !ruby/object:Gem::Requirement
|
262
262
|
requirements:
|
263
263
|
- - ">="
|
@@ -271,7 +271,7 @@ dependencies:
|
|
271
271
|
- !ruby/object:Gem::Version
|
272
272
|
version: '0'
|
273
273
|
- !ruby/object:Gem::Dependency
|
274
|
-
name:
|
274
|
+
name: sqlite3
|
275
275
|
requirement: !ruby/object:Gem::Requirement
|
276
276
|
requirements:
|
277
277
|
- - ">="
|
@@ -323,14 +323,6 @@ files:
|
|
323
323
|
- LICENSE
|
324
324
|
- README.md
|
325
325
|
- Rakefile
|
326
|
-
- app/assets/images/demo_mode/icon--tophat.png
|
327
|
-
- app/assets/images/demo_mode/icon--user.png
|
328
|
-
- app/assets/images/demo_mode/icon--users.png
|
329
|
-
- app/assets/images/demo_mode/loader.png
|
330
|
-
- app/assets/javascript/demo_mode/application.js
|
331
|
-
- app/assets/stylesheets/demo_mode/application.css
|
332
|
-
- app/assets/stylesheets/demo_mode/default.css
|
333
|
-
- app/assets/stylesheets/demo_mode/normalize.css
|
334
326
|
- app/controllers/concerns/demo_mode/demoable.rb
|
335
327
|
- app/controllers/demo_mode/application_controller.rb
|
336
328
|
- app/controllers/demo_mode/sessions_controller.rb
|
@@ -358,6 +350,14 @@ files:
|
|
358
350
|
- lib/generators/demo_mode/install_generator.rb
|
359
351
|
- lib/generators/templates/initializer.rb
|
360
352
|
- lib/generators/templates/sample_persona.rb
|
353
|
+
- public/assets/demo_mode/demo_mode.css
|
354
|
+
- public/assets/demo_mode/demo_mode.js
|
355
|
+
- public/assets/demo_mode/icon--tophat.png
|
356
|
+
- public/assets/demo_mode/icon--user.png
|
357
|
+
- public/assets/demo_mode/icon--users.png
|
358
|
+
- public/assets/demo_mode/loader.png
|
359
|
+
- public/assets/demo_mode/vendor/normalize-v8.0.1.css
|
360
|
+
- public/assets/demo_mode/vendor/typed-v2.1.0.js
|
361
361
|
homepage: http://github.com/betterment/demo_mode
|
362
362
|
licenses:
|
363
363
|
- MIT
|
/data/{app/assets/stylesheets/demo_mode/default.css → public/assets/demo_mode/demo_mode.css}
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|