browser_warrior 0.7.0 → 0.8.0
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 95d3044534a0d02d1ccf51b19ab6e36ea9ab8761
|
|
4
|
+
data.tar.gz: 76cf336c3c0011a3562342341a73a60afd51544b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 492a736a317aa0dab7391d53ce44e47a7385514e42afd3279aeccacbb5ebd663982b490eb1f75bbe12dc8398a15b54abf213fee396358eb7b383f9640598f6d8
|
|
7
|
+
data.tar.gz: e49310e17796037bb14996b6b22a4de7b026725867a5ac5e551ead18b5ba84fcae25b613ab37909aea788fc2547ede859bc0b37bd30fdcd88c0fe0035050c97f
|
data/README.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# BrowserWarrior
|
|
2
2
|
|
|
3
|
-
Are you a warrior? Are you brave enough to reject your
|
|
3
|
+
Are you a warrior? Are you brave enough to reject your non-modern browser users?
|
|
4
4
|
|
|
5
5
|
It is time to say YES.
|
|
6
6
|
|
|
7
7
|
**BrowserWarrior** makes this super easy with one line of code.
|
|
8
8
|
|
|
9
|
-
**Note**: Only
|
|
9
|
+
**Note**: Only Ruby on Rails 5.x is supported at this time.
|
|
10
10
|
|
|
11
11
|
```ruby
|
|
12
12
|
# in your Gemfile
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<div class="browser-warrior-mask">
|
|
9
9
|
<div class="browser-warrior-dialog" id="browser-warrior-dialog">
|
|
10
10
|
<div class="browser-warrior-text">
|
|
11
|
-
<h1 class="browser-warrior-title"
|
|
11
|
+
<h1 class="browser-warrior-title">您正在使用过旧版本的浏览器!</h1>
|
|
12
12
|
<p class="browser-warrior-para">
|
|
13
13
|
这可能会带来非常严重的安全隐患,并且不利于我们为您提供良好的用户体验。
|
|
14
14
|
</p>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: browser_warrior
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.8.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- yafeilee
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-04-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -80,8 +80,8 @@ dependencies:
|
|
|
80
80
|
- - ">="
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
82
|
version: '0'
|
|
83
|
-
description: BrowserWarrior is a Ruby on Rails engine that let you reject your
|
|
84
|
-
user just one line code
|
|
83
|
+
description: BrowserWarrior is a Ruby on Rails engine that let you reject your non-modern
|
|
84
|
+
browser user just one line code
|
|
85
85
|
email:
|
|
86
86
|
- lyfi2003@gmail.com
|
|
87
87
|
executables: []
|
|
@@ -129,5 +129,5 @@ rubyforge_project:
|
|
|
129
129
|
rubygems_version: 2.6.6
|
|
130
130
|
signing_key:
|
|
131
131
|
specification_version: 4
|
|
132
|
-
summary: Make your Rails app reject your
|
|
132
|
+
summary: Make your Rails app reject your non-modern browser user just one line code
|
|
133
133
|
test_files: []
|