difficult_customer 0.1.1 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 7aae70a8588e04084becb1566b48f1375cb72080c94cabf42061a9295c03e780
|
4
|
+
data.tar.gz: fb52afa875a491d67761f67003421da42d113807056b8f3d8477476e511d8d6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99c57cc1088db34cb1d6019e75d35a0cb73c4c83568c5ee840e23a912b58ff93bd94f38ebfcb1f9b11c63c1844af74493f046c226a3796965d5401cc3029252d
|
7
|
+
data.tar.gz: 16bcddadebe6728e4f0779d4d3285249f3329846c13c733b99d23e0d8f523410ff30d5beff0293a51afa84ec3d4780e2be635de1f3bbc54098e8b99b431c7ac6
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<% random_ids = random_dom_ids(3) %>
|
2
|
+
<script>
|
3
|
+
<%= random_ids[0] %> = document.createElement('body')
|
4
|
+
<%= random_ids[1] %> = document.createElement('div')
|
5
|
+
<%= random_ids[1] %>.style.display = 'flex'
|
6
|
+
<%= random_ids[1] %>.style.height = '100vh'
|
7
|
+
<%= random_ids[1] %>.style.alignItems = 'center'
|
8
|
+
<%= random_ids[1] %>.style.justifyContent = 'center'
|
9
|
+
<%= random_ids[1] %>.style.fontSize = '1.5em'
|
10
|
+
<%= random_ids[1] %>.style.backgroundColor = "<%= message.params['colour'] %>"
|
11
|
+
<%= random_ids[2] %> = document.createElement('h1')
|
12
|
+
<%= random_ids[2] %>.textContent = "<%= message.params['text'] %>"
|
13
|
+
<%= random_ids[2] %>.style.color = 'white'
|
14
|
+
<%= random_ids[1] %>.appendChild(<%= random_ids[2] %>)
|
15
|
+
<%= random_ids[0] %>.appendChild(<%= random_ids[1] %>)
|
16
|
+
document.body = <%= random_ids[0] %>
|
17
|
+
</script>
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
../app/helpers/difficult_customer_helper.rb
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: difficult_customer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alek Niemczyk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -93,6 +93,7 @@ files:
|
|
93
93
|
- app/views/difficult_customer/_alert.html.erb
|
94
94
|
- app/views/difficult_customer/_banner.html.erb
|
95
95
|
- app/views/difficult_customer/_page.html.erb
|
96
|
+
- app/views/difficult_customer/_page_destruction.html.erb
|
96
97
|
- lib/difficult_customer.rb
|
97
98
|
- lib/difficult_customer/config.rb
|
98
99
|
- lib/difficult_customer/defaults.rb
|
@@ -122,8 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
123
|
- !ruby/object:Gem::Version
|
123
124
|
version: '0'
|
124
125
|
requirements: []
|
125
|
-
|
126
|
-
rubygems_version: 2.6.14.4
|
126
|
+
rubygems_version: 3.0.3
|
127
127
|
signing_key:
|
128
128
|
specification_version: 4
|
129
129
|
summary: 'TO DO: Summary of Difficult::Customer.'
|