difficult_customer 0.1.1 → 0.1.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 77af9fc734db424633e7e3243daebf2e91004b04
4
- data.tar.gz: a44f8fc495805a3b4e3c4f86caecd3d718a3cfca
2
+ SHA256:
3
+ metadata.gz: 7aae70a8588e04084becb1566b48f1375cb72080c94cabf42061a9295c03e780
4
+ data.tar.gz: fb52afa875a491d67761f67003421da42d113807056b8f3d8477476e511d8d6d
5
5
  SHA512:
6
- metadata.gz: 6ea3b9bdd47d42e8d7f7028bcbb3902dc3a79d72d5ddde6cf2f1e7224c0b2233d5d895f21e05c6fd31023c48297ef712643b91869f1be4c09ee2e719ade16734
7
- data.tar.gz: 310b9dd5028a9ea9e26842a7ef21a7e3b51f654224eeea9923eb77497983b185018124c219696bdeb52407703c7fe068dd23352b961d36740ecc1bc3d8e11b29
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
- lib/difficult_customer/../app/helpers/difficult_customer_helper.rb
1
+ ../app/helpers/difficult_customer_helper.rb
@@ -1,3 +1,3 @@
1
1
  module DifficultCustomer
2
- VERSION = '0.1.1'.freeze
2
+ VERSION = '0.1.4'.freeze
3
3
  end
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.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-01-20 00:00:00.000000000 Z
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
- rubyforge_project:
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.'