tungsten 0.1.15 → 0.1.16

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
2
  SHA1:
3
- metadata.gz: a04d28f2e86fa0ca071aa9932c23d09e19ecec67
4
- data.tar.gz: d0e8af8f420913df3c8df6f3ebaa61776ce11930
3
+ metadata.gz: 2ab6f396a5376f121a115d097cb538040ab4eef5
4
+ data.tar.gz: 74eb6fafd135a1901fe34aed02f77c06e39c79a1
5
5
  SHA512:
6
- metadata.gz: efaeb8115b20223ef353535af1e79fec38d54d2408fef50690bc550865a4c7d863fea3f376d7fe5051ec7728b759c6c85634b6535a18c8776a2d1c3dfef48910
7
- data.tar.gz: 43a49b18bca19e17581d1348bfe4969c3bf214cb51e561d6c5d16ff2588eb52cb0c64e6eb692c8f68dbbb2e6299697b4aff9ccda9234320ae5fc66b9413bd325
6
+ metadata.gz: 4a38745041cbaf5df3d39a536f7de23ac94160a2fcace927a73638a7a1c3c7c2d3516256df54aedcf09fdf4216087574f097a171e179ba2c03efbbc20240bbac
7
+ data.tar.gz: 1568758094ebba7c308400d0bd4ca299661f4e76832544794182e35a61e8289b98c670695490c133f00ef40deeb854f52b1161f1fea91be6ad9c972b2592a152
@@ -80,10 +80,8 @@ $error-bg: $gray-09;//#4b6cb7;
80
80
  .error-box:nth-child(#{$i}) {
81
81
  animation: drop-cube-#{$i} .8s $timing;
82
82
  .error-box-bg {
83
- $i: 14 - $i;
84
83
  animation: darken-cube .8s $timing forwards;
85
- $delay: .5s;
86
- animation-delay: $delay;
84
+ animation-delay: .5s;
87
85
  }
88
86
  }
89
87
  }
@@ -45,5 +45,9 @@ module Tungsten
45
45
  %Q{<link rel="mask-icon" mask href="#{path}" color="#{color}">}.html_safe
46
46
  end
47
47
 
48
+ def human_title(input)
49
+ input.to_s.humanize.titlecase
50
+ end
51
+
48
52
  end
49
53
  end
@@ -1,5 +1,5 @@
1
1
  .error-code
2
2
  .error-svgs= error_code_svg @status_code
3
3
  .error-message
4
- h1= @rescue_response.humanize.titlecase
4
+ h1= @rescue_response.to_s.humanize.titlecase
5
5
  p Sorry, our server cannot process this request.
@@ -1,5 +1,5 @@
1
1
  .error-code
2
2
  .error-svgs= error_code_svg @status_code
3
3
  .error-message
4
- h1= @rescue_response.humanize.titlecase
4
+ h1= human_title @rescue_response
5
5
  p Ah, ah, ah. You didn't say the magic word.
@@ -1,5 +1,5 @@
1
1
  .error-code
2
2
  .error-svgs= error_code_svg @status_code
3
3
  .error-message
4
- h1= @rescue_response.humanize.titlecase
4
+ h1= human_title @rescue_response
5
5
  p But don't worry, this shouldn't affect your databases.
@@ -1,5 +1,5 @@
1
1
  .error-code
2
2
  .error-svgs= error_code_svg @status_code
3
3
  .error-message
4
- h1= @rescue_response.humanize.titlecase
4
+ h1= human_title @rescue_response
5
5
  p This endpoint does not support the method you used.
@@ -1,5 +1,5 @@
1
1
  .error-code
2
2
  .error-svgs= error_code_svg @status_code
3
3
  .error-message
4
- h1= @rescue_response.humanize.titlecase
4
+ h1= human_title @rescue_response
5
5
  p That's... not acceptable.
@@ -1,5 +1,5 @@
1
1
  .error-code
2
2
  .error-svgs= error_code_svg @status_code
3
3
  .error-message
4
- h1= @rescue_response.humanize.titlecase
4
+ h1= human_title @rescue_response
5
5
  p We don't implement this method here.
@@ -1,5 +1,5 @@
1
1
  .error-code
2
2
  .error-svgs= error_code_svg @status_code
3
3
  .error-message
4
- h1= @rescue_response.humanize.titlecase
4
+ h1= human_title @rescue_response
5
5
  p You are not authorized here.
@@ -1,5 +1,5 @@
1
1
  .error-code
2
2
  .error-svgs= error_code_svg @status_code
3
3
  .error-message
4
- h1= @rescue_response.humanize.titlecase
4
+ h1= human_title @rescue_response
5
5
  p You may not have access to make this change.
@@ -1,3 +1,3 @@
1
1
  module Tungsten
2
- VERSION = "0.1.15"
2
+ VERSION = "0.1.16"
3
3
  end
@@ -89,4 +89,4 @@ function move(o){document.documentElement.scrollTop=o,document.body.parentNode.s
89
89
  });
90
90
 
91
91
 
92
- //# sourceMappingURL=/assets/tungsten/code-0.1.15.map.json
92
+ //# sourceMappingURL=/assets/tungsten/code-0.1.16.map.json
@@ -2069,8 +2069,8 @@ input::-moz-focus-inner {
2069
2069
  .error-box:nth-child(1) .error-box-bg {
2070
2070
  -webkit-animation: darken-cube 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
2071
2071
  animation: darken-cube 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
2072
- -webkit-animation-delay: 0.5s;
2073
- animation-delay: 0.5s; }
2072
+ -webkit-animation-delay: .5s;
2073
+ animation-delay: .5s; }
2074
2074
 
2075
2075
  .error-box:nth-child(2) {
2076
2076
  -webkit-animation: drop-cube-2 0.8s cubic-bezier(0.4, 0, 0.2, 1);
@@ -2078,8 +2078,8 @@ input::-moz-focus-inner {
2078
2078
  .error-box:nth-child(2) .error-box-bg {
2079
2079
  -webkit-animation: darken-cube 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
2080
2080
  animation: darken-cube 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
2081
- -webkit-animation-delay: 0.5s;
2082
- animation-delay: 0.5s; }
2081
+ -webkit-animation-delay: .5s;
2082
+ animation-delay: .5s; }
2083
2083
 
2084
2084
  .error-box:nth-child(3) {
2085
2085
  -webkit-animation: drop-cube-3 0.8s cubic-bezier(0.4, 0, 0.2, 1);
@@ -2087,8 +2087,8 @@ input::-moz-focus-inner {
2087
2087
  .error-box:nth-child(3) .error-box-bg {
2088
2088
  -webkit-animation: darken-cube 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
2089
2089
  animation: darken-cube 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
2090
- -webkit-animation-delay: 0.5s;
2091
- animation-delay: 0.5s; }
2090
+ -webkit-animation-delay: .5s;
2091
+ animation-delay: .5s; }
2092
2092
 
2093
2093
  .error-box:nth-child(4) {
2094
2094
  -webkit-animation: drop-cube-4 0.8s cubic-bezier(0.4, 0, 0.2, 1);
@@ -2096,8 +2096,8 @@ input::-moz-focus-inner {
2096
2096
  .error-box:nth-child(4) .error-box-bg {
2097
2097
  -webkit-animation: darken-cube 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
2098
2098
  animation: darken-cube 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
2099
- -webkit-animation-delay: 0.5s;
2100
- animation-delay: 0.5s; }
2099
+ -webkit-animation-delay: .5s;
2100
+ animation-delay: .5s; }
2101
2101
 
2102
2102
  .error-box:nth-child(5) {
2103
2103
  -webkit-animation: drop-cube-5 0.8s cubic-bezier(0.4, 0, 0.2, 1);
@@ -2105,8 +2105,8 @@ input::-moz-focus-inner {
2105
2105
  .error-box:nth-child(5) .error-box-bg {
2106
2106
  -webkit-animation: darken-cube 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
2107
2107
  animation: darken-cube 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
2108
- -webkit-animation-delay: 0.5s;
2109
- animation-delay: 0.5s; }
2108
+ -webkit-animation-delay: .5s;
2109
+ animation-delay: .5s; }
2110
2110
 
2111
2111
  .error-box:nth-child(6) {
2112
2112
  -webkit-animation: drop-cube-6 0.8s cubic-bezier(0.4, 0, 0.2, 1);
@@ -2114,8 +2114,8 @@ input::-moz-focus-inner {
2114
2114
  .error-box:nth-child(6) .error-box-bg {
2115
2115
  -webkit-animation: darken-cube 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
2116
2116
  animation: darken-cube 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
2117
- -webkit-animation-delay: 0.5s;
2118
- animation-delay: 0.5s; }
2117
+ -webkit-animation-delay: .5s;
2118
+ animation-delay: .5s; }
2119
2119
 
2120
2120
  .error-box:nth-child(7) {
2121
2121
  -webkit-animation: drop-cube-7 0.8s cubic-bezier(0.4, 0, 0.2, 1);
@@ -2123,8 +2123,8 @@ input::-moz-focus-inner {
2123
2123
  .error-box:nth-child(7) .error-box-bg {
2124
2124
  -webkit-animation: darken-cube 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
2125
2125
  animation: darken-cube 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
2126
- -webkit-animation-delay: 0.5s;
2127
- animation-delay: 0.5s; }
2126
+ -webkit-animation-delay: .5s;
2127
+ animation-delay: .5s; }
2128
2128
 
2129
2129
  .error-box:nth-child(8) {
2130
2130
  -webkit-animation: drop-cube-8 0.8s cubic-bezier(0.4, 0, 0.2, 1);
@@ -2132,8 +2132,8 @@ input::-moz-focus-inner {
2132
2132
  .error-box:nth-child(8) .error-box-bg {
2133
2133
  -webkit-animation: darken-cube 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
2134
2134
  animation: darken-cube 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
2135
- -webkit-animation-delay: 0.5s;
2136
- animation-delay: 0.5s; }
2135
+ -webkit-animation-delay: .5s;
2136
+ animation-delay: .5s; }
2137
2137
 
2138
2138
  .error-box:nth-child(9) {
2139
2139
  -webkit-animation: drop-cube-9 0.8s cubic-bezier(0.4, 0, 0.2, 1);
@@ -2141,8 +2141,8 @@ input::-moz-focus-inner {
2141
2141
  .error-box:nth-child(9) .error-box-bg {
2142
2142
  -webkit-animation: darken-cube 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
2143
2143
  animation: darken-cube 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
2144
- -webkit-animation-delay: 0.5s;
2145
- animation-delay: 0.5s; }
2144
+ -webkit-animation-delay: .5s;
2145
+ animation-delay: .5s; }
2146
2146
 
2147
2147
  .error-box:nth-child(10) {
2148
2148
  -webkit-animation: drop-cube-10 0.8s cubic-bezier(0.4, 0, 0.2, 1);
@@ -2150,8 +2150,8 @@ input::-moz-focus-inner {
2150
2150
  .error-box:nth-child(10) .error-box-bg {
2151
2151
  -webkit-animation: darken-cube 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
2152
2152
  animation: darken-cube 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
2153
- -webkit-animation-delay: 0.5s;
2154
- animation-delay: 0.5s; }
2153
+ -webkit-animation-delay: .5s;
2154
+ animation-delay: .5s; }
2155
2155
 
2156
2156
  .error-box:nth-child(11) {
2157
2157
  -webkit-animation: drop-cube-11 0.8s cubic-bezier(0.4, 0, 0.2, 1);
@@ -2159,8 +2159,8 @@ input::-moz-focus-inner {
2159
2159
  .error-box:nth-child(11) .error-box-bg {
2160
2160
  -webkit-animation: darken-cube 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
2161
2161
  animation: darken-cube 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
2162
- -webkit-animation-delay: 0.5s;
2163
- animation-delay: 0.5s; }
2162
+ -webkit-animation-delay: .5s;
2163
+ animation-delay: .5s; }
2164
2164
 
2165
2165
  .error-box:nth-child(12) {
2166
2166
  -webkit-animation: drop-cube-12 0.8s cubic-bezier(0.4, 0, 0.2, 1);
@@ -2168,8 +2168,8 @@ input::-moz-focus-inner {
2168
2168
  .error-box:nth-child(12) .error-box-bg {
2169
2169
  -webkit-animation: darken-cube 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
2170
2170
  animation: darken-cube 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
2171
- -webkit-animation-delay: 0.5s;
2172
- animation-delay: 0.5s; }
2171
+ -webkit-animation-delay: .5s;
2172
+ animation-delay: .5s; }
2173
2173
 
2174
2174
  .error-box:nth-child(13) {
2175
2175
  -webkit-animation: drop-cube-13 0.8s cubic-bezier(0.4, 0, 0.2, 1);
@@ -2177,8 +2177,8 @@ input::-moz-focus-inner {
2177
2177
  .error-box:nth-child(13) .error-box-bg {
2178
2178
  -webkit-animation: darken-cube 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
2179
2179
  animation: darken-cube 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
2180
- -webkit-animation-delay: 0.5s;
2181
- animation-delay: 0.5s; }
2180
+ -webkit-animation-delay: .5s;
2181
+ animation-delay: .5s; }
2182
2182
 
2183
2183
  @-webkit-keyframes slide-error-code {
2184
2184
  0% {
Binary file
@@ -78,4 +78,4 @@ function request(e,n,t){return"function"==typeof t?new e("GET",n).end(t):2==argu
78
78
  });
79
79
 
80
80
 
81
- //# sourceMappingURL=/assets/tungsten/tungsten-0.1.15.map.json
81
+ //# sourceMappingURL=/assets/tungsten/tungsten-0.1.16.map.json
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tungsten
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.15
4
+ version: 0.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Mathis
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-08-25 00:00:00.000000000 Z
12
+ date: 2017-08-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -231,14 +231,14 @@ files:
231
231
  - lib/tungsten.rb
232
232
  - lib/tungsten/helper.rb
233
233
  - lib/tungsten/version.rb
234
- - public/code-0.1.15.js
235
- - public/code-0.1.15.js.gz
236
- - public/code-0.1.15.map.json
237
- - public/tungsten-0.1.15.css
238
- - public/tungsten-0.1.15.css.gz
239
- - public/tungsten-0.1.15.js
240
- - public/tungsten-0.1.15.js.gz
241
- - public/tungsten-0.1.15.map.json
234
+ - public/code-0.1.16.js
235
+ - public/code-0.1.16.js.gz
236
+ - public/code-0.1.16.map.json
237
+ - public/tungsten-0.1.16.css
238
+ - public/tungsten-0.1.16.css.gz
239
+ - public/tungsten-0.1.16.js
240
+ - public/tungsten-0.1.16.js.gz
241
+ - public/tungsten-0.1.16.map.json
242
242
  homepage:
243
243
  licenses:
244
244
  - MIT
Binary file