beespew 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.ruby-version +1 -1
- data/.travis.yml +2 -1
- data/Appraisals +4 -0
- data/README.md +6 -1
- data/beespew.gemspec +1 -1
- data/gemfiles/rails_5.0.gemfile.lock +3 -3
- data/gemfiles/rails_5.1.gemfile.lock +3 -3
- data/gemfiles/{rails_4.2.gemfile → rails_5.2.gemfile} +1 -1
- data/gemfiles/rails_5.2.gemfile.lock +160 -0
- data/lib/beespew/version.rb +1 -1
- data/spec/dummy/config/environments/test.rb +3 -1
- metadata +7 -7
- data/gemfiles/rails_4.2.gemfile.lock +0 -144
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: e90e3006fc0d0c12388424fb6cbf048c504bcc9a1e6296691260626820ec26a6
|
4
|
+
data.tar.gz: 398da5f61fd1136df0ab3e357da572df79625ea2c8cb75a1f5d8bcc87fb71dbb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf8262fec3e0c7465be1d2c39a76da50e842905251fd81f5686eae258a88e46d591f7b0a84036ed45a7e286d3a348c75601ffceb3e07b33d291e6a3f83a0685e
|
7
|
+
data.tar.gz: d37ad2a67dc8da1c3f9ac57c3e07602e3dd521435859afc6ea1212346ce34d44340ffa3f83d3d0cdcfaf99ecdf356bc634bc82000bc5d40a70f9388f43b7e9e3
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.5.1
|
data/.travis.yml
CHANGED
data/Appraisals
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Beespew [![Build Status](https://travis-ci.org/Absolventa/beespew.svg?branch=master)](https://travis-ci.org/Absolventa/beespew)
|
2
2
|
|
3
|
-
**Beespew** is a lightweight spam protection plugin for Rails
|
3
|
+
**Beespew** is a lightweight spam protection plugin for Rails using
|
4
4
|
honeypot input fields. Beespew … honeypot … get it? :wink:
|
5
5
|
|
6
6
|
## Installation
|
@@ -94,6 +94,11 @@ strong parameters will unwillingly disable your spam protection.
|
|
94
94
|
|
95
95
|
### HEAD (not released yet)
|
96
96
|
|
97
|
+
### 2.1.0
|
98
|
+
* Compatible with rails 5.2
|
99
|
+
* Drop support for Rails < 5.0
|
100
|
+
* Switch to ruby 2.5
|
101
|
+
|
97
102
|
### 2.0.0
|
98
103
|
* Compatible with rails 5.1
|
99
104
|
* Drop support for Rails < 5.0
|
data/beespew.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
|
|
21
21
|
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
22
22
|
s.require_paths = ["lib"]
|
23
23
|
|
24
|
-
s.add_dependency "rails", ">= 5.0", '<
|
24
|
+
s.add_dependency "rails", ">= 5.0", '< 6.0'
|
25
25
|
|
26
26
|
s.add_development_dependency "sqlite3"
|
27
27
|
s.add_development_dependency "rspec-rails", '>= 3.0.0'
|
@@ -0,0 +1,160 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
beespew (2.1.0)
|
5
|
+
rails (>= 5.0, < 6.0)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
actioncable (5.2.0)
|
11
|
+
actionpack (= 5.2.0)
|
12
|
+
nio4r (~> 2.0)
|
13
|
+
websocket-driver (>= 0.6.1)
|
14
|
+
actionmailer (5.2.0)
|
15
|
+
actionpack (= 5.2.0)
|
16
|
+
actionview (= 5.2.0)
|
17
|
+
activejob (= 5.2.0)
|
18
|
+
mail (~> 2.5, >= 2.5.4)
|
19
|
+
rails-dom-testing (~> 2.0)
|
20
|
+
actionpack (5.2.0)
|
21
|
+
actionview (= 5.2.0)
|
22
|
+
activesupport (= 5.2.0)
|
23
|
+
rack (~> 2.0)
|
24
|
+
rack-test (>= 0.6.3)
|
25
|
+
rails-dom-testing (~> 2.0)
|
26
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
27
|
+
actionview (5.2.0)
|
28
|
+
activesupport (= 5.2.0)
|
29
|
+
builder (~> 3.1)
|
30
|
+
erubi (~> 1.4)
|
31
|
+
rails-dom-testing (~> 2.0)
|
32
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
33
|
+
activejob (5.2.0)
|
34
|
+
activesupport (= 5.2.0)
|
35
|
+
globalid (>= 0.3.6)
|
36
|
+
activemodel (5.2.0)
|
37
|
+
activesupport (= 5.2.0)
|
38
|
+
activerecord (5.2.0)
|
39
|
+
activemodel (= 5.2.0)
|
40
|
+
activesupport (= 5.2.0)
|
41
|
+
arel (>= 9.0)
|
42
|
+
activestorage (5.2.0)
|
43
|
+
actionpack (= 5.2.0)
|
44
|
+
activerecord (= 5.2.0)
|
45
|
+
marcel (~> 0.3.1)
|
46
|
+
activesupport (5.2.0)
|
47
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
48
|
+
i18n (>= 0.7, < 2)
|
49
|
+
minitest (~> 5.1)
|
50
|
+
tzinfo (~> 1.1)
|
51
|
+
appraisal (2.2.0)
|
52
|
+
bundler
|
53
|
+
rake
|
54
|
+
thor (>= 0.14.0)
|
55
|
+
arel (9.0.0)
|
56
|
+
builder (3.2.3)
|
57
|
+
concurrent-ruby (1.0.5)
|
58
|
+
crass (1.0.4)
|
59
|
+
diff-lcs (1.3)
|
60
|
+
erubi (1.7.1)
|
61
|
+
globalid (0.4.1)
|
62
|
+
activesupport (>= 4.2.0)
|
63
|
+
i18n (1.0.1)
|
64
|
+
concurrent-ruby (~> 1.0)
|
65
|
+
loofah (2.2.2)
|
66
|
+
crass (~> 1.0.2)
|
67
|
+
nokogiri (>= 1.5.9)
|
68
|
+
mail (2.7.0)
|
69
|
+
mini_mime (>= 0.1.1)
|
70
|
+
marcel (0.3.2)
|
71
|
+
mimemagic (~> 0.3.2)
|
72
|
+
method_source (0.9.0)
|
73
|
+
mimemagic (0.3.2)
|
74
|
+
mini_mime (1.0.0)
|
75
|
+
mini_portile2 (2.3.0)
|
76
|
+
minitest (5.11.3)
|
77
|
+
nio4r (2.3.1)
|
78
|
+
nokogiri (1.8.2)
|
79
|
+
mini_portile2 (~> 2.3.0)
|
80
|
+
rack (2.0.5)
|
81
|
+
rack-test (1.0.0)
|
82
|
+
rack (>= 1.0, < 3)
|
83
|
+
rails (5.2.0)
|
84
|
+
actioncable (= 5.2.0)
|
85
|
+
actionmailer (= 5.2.0)
|
86
|
+
actionpack (= 5.2.0)
|
87
|
+
actionview (= 5.2.0)
|
88
|
+
activejob (= 5.2.0)
|
89
|
+
activemodel (= 5.2.0)
|
90
|
+
activerecord (= 5.2.0)
|
91
|
+
activestorage (= 5.2.0)
|
92
|
+
activesupport (= 5.2.0)
|
93
|
+
bundler (>= 1.3.0)
|
94
|
+
railties (= 5.2.0)
|
95
|
+
sprockets-rails (>= 2.0.0)
|
96
|
+
rails-dom-testing (2.0.3)
|
97
|
+
activesupport (>= 4.2.0)
|
98
|
+
nokogiri (>= 1.6)
|
99
|
+
rails-html-sanitizer (1.0.4)
|
100
|
+
loofah (~> 2.2, >= 2.2.2)
|
101
|
+
railties (5.2.0)
|
102
|
+
actionpack (= 5.2.0)
|
103
|
+
activesupport (= 5.2.0)
|
104
|
+
method_source
|
105
|
+
rake (>= 0.8.7)
|
106
|
+
thor (>= 0.18.1, < 2.0)
|
107
|
+
rake (12.3.1)
|
108
|
+
rspec (3.7.0)
|
109
|
+
rspec-core (~> 3.7.0)
|
110
|
+
rspec-expectations (~> 3.7.0)
|
111
|
+
rspec-mocks (~> 3.7.0)
|
112
|
+
rspec-core (3.7.1)
|
113
|
+
rspec-support (~> 3.7.0)
|
114
|
+
rspec-expectations (3.7.0)
|
115
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
116
|
+
rspec-support (~> 3.7.0)
|
117
|
+
rspec-html-matchers (0.9.1)
|
118
|
+
nokogiri (~> 1)
|
119
|
+
rspec (>= 3.0.0.a, < 4)
|
120
|
+
rspec-mocks (3.7.0)
|
121
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
122
|
+
rspec-support (~> 3.7.0)
|
123
|
+
rspec-rails (3.7.2)
|
124
|
+
actionpack (>= 3.0)
|
125
|
+
activesupport (>= 3.0)
|
126
|
+
railties (>= 3.0)
|
127
|
+
rspec-core (~> 3.7.0)
|
128
|
+
rspec-expectations (~> 3.7.0)
|
129
|
+
rspec-mocks (~> 3.7.0)
|
130
|
+
rspec-support (~> 3.7.0)
|
131
|
+
rspec-support (3.7.1)
|
132
|
+
sprockets (3.7.1)
|
133
|
+
concurrent-ruby (~> 1.0)
|
134
|
+
rack (> 1, < 3)
|
135
|
+
sprockets-rails (3.2.1)
|
136
|
+
actionpack (>= 4.0)
|
137
|
+
activesupport (>= 4.0)
|
138
|
+
sprockets (>= 3.0.0)
|
139
|
+
sqlite3 (1.3.13)
|
140
|
+
thor (0.20.0)
|
141
|
+
thread_safe (0.3.6)
|
142
|
+
tzinfo (1.2.5)
|
143
|
+
thread_safe (~> 0.1)
|
144
|
+
websocket-driver (0.7.0)
|
145
|
+
websocket-extensions (>= 0.1.0)
|
146
|
+
websocket-extensions (0.1.3)
|
147
|
+
|
148
|
+
PLATFORMS
|
149
|
+
ruby
|
150
|
+
|
151
|
+
DEPENDENCIES
|
152
|
+
appraisal
|
153
|
+
beespew!
|
154
|
+
rails (~> 5.2.0)
|
155
|
+
rspec-html-matchers
|
156
|
+
rspec-rails (>= 3.0.0)
|
157
|
+
sqlite3
|
158
|
+
|
159
|
+
BUNDLED WITH
|
160
|
+
1.16.1
|
data/lib/beespew/version.rb
CHANGED
@@ -14,7 +14,7 @@ Rails.application.configure do
|
|
14
14
|
|
15
15
|
# Configure static asset server for tests with Cache-Control for performance.
|
16
16
|
config.serve_static_files = true
|
17
|
-
config.
|
17
|
+
config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=3600' }
|
18
18
|
|
19
19
|
# Show full error reports and disable caching.
|
20
20
|
config.consider_all_requests_local = true
|
@@ -36,4 +36,6 @@ Rails.application.configure do
|
|
36
36
|
|
37
37
|
# Raises error for missing translations
|
38
38
|
# config.action_view.raise_on_missing_translations = true
|
39
|
+
|
40
|
+
config.active_record.sqlite3.represent_boolean_as_integer = true if Rails.version.to_f >= 5.2
|
39
41
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beespew
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carsten Zimmermann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '5.0'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '6.0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '5.0'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '6.0'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: sqlite3
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -106,12 +106,12 @@ files:
|
|
106
106
|
- app/assets/stylesheets/beespew/beespew.css
|
107
107
|
- beespew.gemspec
|
108
108
|
- config/locales/de.yml
|
109
|
-
- gemfiles/rails_4.2.gemfile
|
110
|
-
- gemfiles/rails_4.2.gemfile.lock
|
111
109
|
- gemfiles/rails_5.0.gemfile
|
112
110
|
- gemfiles/rails_5.0.gemfile.lock
|
113
111
|
- gemfiles/rails_5.1.gemfile
|
114
112
|
- gemfiles/rails_5.1.gemfile.lock
|
113
|
+
- gemfiles/rails_5.2.gemfile
|
114
|
+
- gemfiles/rails_5.2.gemfile.lock
|
115
115
|
- lib/beespew.rb
|
116
116
|
- lib/beespew/engine.rb
|
117
117
|
- lib/beespew/form_builder.rb
|
@@ -186,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
186
186
|
version: '0'
|
187
187
|
requirements: []
|
188
188
|
rubyforge_project:
|
189
|
-
rubygems_version: 2.6
|
189
|
+
rubygems_version: 2.7.6
|
190
190
|
signing_key:
|
191
191
|
specification_version: 4
|
192
192
|
summary: Beespew is a naive spam protection plugin for rails using a honeypot
|
@@ -1,144 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ..
|
3
|
-
specs:
|
4
|
-
beespew (1.1.0)
|
5
|
-
rails (>= 4.0, < 5.2)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
actionmailer (4.2.5)
|
11
|
-
actionpack (= 4.2.5)
|
12
|
-
actionview (= 4.2.5)
|
13
|
-
activejob (= 4.2.5)
|
14
|
-
mail (~> 2.5, >= 2.5.4)
|
15
|
-
rails-dom-testing (~> 1.0, >= 1.0.5)
|
16
|
-
actionpack (4.2.5)
|
17
|
-
actionview (= 4.2.5)
|
18
|
-
activesupport (= 4.2.5)
|
19
|
-
rack (~> 1.6)
|
20
|
-
rack-test (~> 0.6.2)
|
21
|
-
rails-dom-testing (~> 1.0, >= 1.0.5)
|
22
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
23
|
-
actionview (4.2.5)
|
24
|
-
activesupport (= 4.2.5)
|
25
|
-
builder (~> 3.1)
|
26
|
-
erubis (~> 2.7.0)
|
27
|
-
rails-dom-testing (~> 1.0, >= 1.0.5)
|
28
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
29
|
-
activejob (4.2.5)
|
30
|
-
activesupport (= 4.2.5)
|
31
|
-
globalid (>= 0.3.0)
|
32
|
-
activemodel (4.2.5)
|
33
|
-
activesupport (= 4.2.5)
|
34
|
-
builder (~> 3.1)
|
35
|
-
activerecord (4.2.5)
|
36
|
-
activemodel (= 4.2.5)
|
37
|
-
activesupport (= 4.2.5)
|
38
|
-
arel (~> 6.0)
|
39
|
-
activesupport (4.2.5)
|
40
|
-
i18n (~> 0.7)
|
41
|
-
json (~> 1.7, >= 1.7.7)
|
42
|
-
minitest (~> 5.1)
|
43
|
-
thread_safe (~> 0.3, >= 0.3.4)
|
44
|
-
tzinfo (~> 1.1)
|
45
|
-
appraisal (2.1.0)
|
46
|
-
bundler
|
47
|
-
rake
|
48
|
-
thor (>= 0.14.0)
|
49
|
-
arel (6.0.3)
|
50
|
-
builder (3.2.2)
|
51
|
-
concurrent-ruby (1.0.0)
|
52
|
-
diff-lcs (1.2.5)
|
53
|
-
erubis (2.7.0)
|
54
|
-
globalid (0.3.6)
|
55
|
-
activesupport (>= 4.1.0)
|
56
|
-
i18n (0.7.0)
|
57
|
-
json (1.8.3)
|
58
|
-
loofah (2.0.3)
|
59
|
-
nokogiri (>= 1.5.9)
|
60
|
-
mail (2.6.3)
|
61
|
-
mime-types (>= 1.16, < 3)
|
62
|
-
mime-types (2.99)
|
63
|
-
mini_portile2 (2.0.0)
|
64
|
-
minitest (5.8.3)
|
65
|
-
nokogiri (1.6.7)
|
66
|
-
mini_portile2 (~> 2.0.0.rc2)
|
67
|
-
rack (1.6.4)
|
68
|
-
rack-test (0.6.3)
|
69
|
-
rack (>= 1.0)
|
70
|
-
rails (4.2.5)
|
71
|
-
actionmailer (= 4.2.5)
|
72
|
-
actionpack (= 4.2.5)
|
73
|
-
actionview (= 4.2.5)
|
74
|
-
activejob (= 4.2.5)
|
75
|
-
activemodel (= 4.2.5)
|
76
|
-
activerecord (= 4.2.5)
|
77
|
-
activesupport (= 4.2.5)
|
78
|
-
bundler (>= 1.3.0, < 2.0)
|
79
|
-
railties (= 4.2.5)
|
80
|
-
sprockets-rails
|
81
|
-
rails-deprecated_sanitizer (1.0.3)
|
82
|
-
activesupport (>= 4.2.0.alpha)
|
83
|
-
rails-dom-testing (1.0.7)
|
84
|
-
activesupport (>= 4.2.0.beta, < 5.0)
|
85
|
-
nokogiri (~> 1.6.0)
|
86
|
-
rails-deprecated_sanitizer (>= 1.0.1)
|
87
|
-
rails-html-sanitizer (1.0.2)
|
88
|
-
loofah (~> 2.0)
|
89
|
-
railties (4.2.5)
|
90
|
-
actionpack (= 4.2.5)
|
91
|
-
activesupport (= 4.2.5)
|
92
|
-
rake (>= 0.8.7)
|
93
|
-
thor (>= 0.18.1, < 2.0)
|
94
|
-
rake (10.4.2)
|
95
|
-
rspec (3.4.0)
|
96
|
-
rspec-core (~> 3.4.0)
|
97
|
-
rspec-expectations (~> 3.4.0)
|
98
|
-
rspec-mocks (~> 3.4.0)
|
99
|
-
rspec-core (3.4.1)
|
100
|
-
rspec-support (~> 3.4.0)
|
101
|
-
rspec-expectations (3.4.0)
|
102
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
103
|
-
rspec-support (~> 3.4.0)
|
104
|
-
rspec-html-matchers (0.7.0)
|
105
|
-
nokogiri (~> 1)
|
106
|
-
rspec (~> 3)
|
107
|
-
rspec-mocks (3.4.0)
|
108
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
109
|
-
rspec-support (~> 3.4.0)
|
110
|
-
rspec-rails (3.4.0)
|
111
|
-
actionpack (>= 3.0, < 4.3)
|
112
|
-
activesupport (>= 3.0, < 4.3)
|
113
|
-
railties (>= 3.0, < 4.3)
|
114
|
-
rspec-core (~> 3.4.0)
|
115
|
-
rspec-expectations (~> 3.4.0)
|
116
|
-
rspec-mocks (~> 3.4.0)
|
117
|
-
rspec-support (~> 3.4.0)
|
118
|
-
rspec-support (3.4.1)
|
119
|
-
sprockets (3.5.2)
|
120
|
-
concurrent-ruby (~> 1.0)
|
121
|
-
rack (> 1, < 3)
|
122
|
-
sprockets-rails (2.3.3)
|
123
|
-
actionpack (>= 3.0)
|
124
|
-
activesupport (>= 3.0)
|
125
|
-
sprockets (>= 2.8, < 4.0)
|
126
|
-
sqlite3 (1.3.11)
|
127
|
-
thor (0.19.1)
|
128
|
-
thread_safe (0.3.5)
|
129
|
-
tzinfo (1.2.2)
|
130
|
-
thread_safe (~> 0.1)
|
131
|
-
|
132
|
-
PLATFORMS
|
133
|
-
ruby
|
134
|
-
|
135
|
-
DEPENDENCIES
|
136
|
-
appraisal
|
137
|
-
beespew!
|
138
|
-
rails (~> 4.2.0)
|
139
|
-
rspec-html-matchers
|
140
|
-
rspec-rails (>= 3.0.0)
|
141
|
-
sqlite3
|
142
|
-
|
143
|
-
BUNDLED WITH
|
144
|
-
1.15.4
|