acts_as_textcaptcha 4.5.0 → 4.5.1
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 +4 -4
- data/.travis.yml +20 -4
- data/Appraisals +9 -4
- data/CHANGELOG.md +10 -3
- data/README.md +5 -6
- data/Rakefile +0 -1
- data/acts_as_textcaptcha.gemspec +2 -3
- data/gemfiles/rails_3.gemfile +1 -1
- data/gemfiles/rails_4.gemfile +1 -1
- data/gemfiles/rails_5.gemfile +2 -2
- data/gemfiles/rails_6.gemfile +8 -0
- data/lib/acts_as_textcaptcha.rb +1 -0
- data/lib/acts_as_textcaptcha/railtie.rb +9 -0
- data/lib/{tasks → acts_as_textcaptcha/tasks}/textcaptcha.rake +0 -0
- data/lib/acts_as_textcaptcha/version.rb +1 -1
- metadata +17 -15
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 89b5380123d522fb06c431390095fb4951af1a1e13fa69bcf45811d149ffbe76
|
|
4
|
+
data.tar.gz: 9296bc8181a53b53e03ad1bb7d96bc46e5a361121fab81f886837106e41202b2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ce337bec11d7705873e901ce7237035d7d4311439c466e7ae4ea7df086fedb2561d614269daeca32e693a80cd95fd2d0a9206b1edc844e4a5dfd5ab30e8f0f88
|
|
7
|
+
data.tar.gz: da354e827ca5bde17521e60075d4e431f33b7a8b77dbbb26db8033dae969e00721f3eb9b5258207ccb6a2bbb7a8144b74f6bd7c8cba2b66c44072c047dda4941
|
data/.travis.yml
CHANGED
|
@@ -5,14 +5,30 @@ gemfile:
|
|
|
5
5
|
- gemfiles/rails_3.gemfile
|
|
6
6
|
- gemfiles/rails_4.gemfile
|
|
7
7
|
- gemfiles/rails_5.gemfile
|
|
8
|
+
- gemfiles/rails_6.gemfile
|
|
8
9
|
|
|
9
10
|
rvm:
|
|
10
|
-
- 2.
|
|
11
|
-
- 2.
|
|
12
|
-
- 2.
|
|
13
|
-
- 2.
|
|
11
|
+
- 2.4.9
|
|
12
|
+
- 2.5.7
|
|
13
|
+
- 2.6.5
|
|
14
|
+
- 2.7.0
|
|
14
15
|
- ruby-head
|
|
15
16
|
|
|
17
|
+
matrix:
|
|
18
|
+
allow_failures:
|
|
19
|
+
- rvm: ruby-head
|
|
20
|
+
exclude:
|
|
21
|
+
- rvm: 2.4.9
|
|
22
|
+
gemfile: gemfiles/rails_6.gemfile
|
|
23
|
+
- rvm: 2.7.0
|
|
24
|
+
gemfile: gemfiles/rails_3.gemfile
|
|
25
|
+
- rvm: 2.7.0
|
|
26
|
+
gemfile: gemfiles/rails_4.gemfile
|
|
27
|
+
- rvm: ruby-head
|
|
28
|
+
gemfile: gemfiles/rails_3.gemfile
|
|
29
|
+
- rvm: ruby-head
|
|
30
|
+
gemfile: gemfiles/rails_4.gemfile
|
|
31
|
+
|
|
16
32
|
deploy:
|
|
17
33
|
provider: rubygems
|
|
18
34
|
api_key:
|
data/Appraisals
CHANGED
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
appraise "rails-3" do
|
|
2
2
|
gem "rails", "3.2.22.5"
|
|
3
|
-
gem "sqlite3", "~> 1.3.
|
|
3
|
+
gem "sqlite3", "~> 1.3.5"
|
|
4
4
|
end
|
|
5
5
|
|
|
6
6
|
appraise "rails-4" do
|
|
7
7
|
gem "rails", "4.2.11.1"
|
|
8
|
-
gem "sqlite3", "~> 1.3.
|
|
8
|
+
gem "sqlite3", "~> 1.3.5"
|
|
9
9
|
end
|
|
10
10
|
|
|
11
11
|
appraise "rails-5" do
|
|
12
|
-
gem "rails", "5.2.
|
|
13
|
-
gem "sqlite3", "~> 1.
|
|
12
|
+
gem "rails", "5.2.4.1"
|
|
13
|
+
gem "sqlite3", "~> 1.4.2"
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
appraise "rails-6" do
|
|
17
|
+
gem "rails", "6.0.2.1"
|
|
18
|
+
gem "sqlite3", "~> 1.4.2"
|
|
14
19
|
end
|
data/CHANGELOG.md
CHANGED
|
@@ -2,13 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
-
The format is based on [Keep a Changelog]
|
|
6
|
-
adheres to [Semantic Versioning]
|
|
5
|
+
The format is based on [Keep a Changelog][KeepAChangelog] and this project
|
|
6
|
+
adheres to [Semantic Versioning][Semver].
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
10
|
- Your contribution here!
|
|
11
11
|
|
|
12
|
+
## [4.5.1] - 2020-01-28
|
|
13
|
+
### Fixed
|
|
14
|
+
- add Rails Railtie to fix rake task loading
|
|
15
|
+
### Removed
|
|
16
|
+
- Support for Ruby < 2.4 (EOL versions not supported)
|
|
17
|
+
|
|
12
18
|
## [4.5.0] - 2019-04-22
|
|
13
19
|
### Added
|
|
14
20
|
- `# frozen_string_literal: true` to all Ruby files
|
|
@@ -82,7 +88,8 @@ adheres to [Semantic Versioning](Semver).
|
|
|
82
88
|
- README updated.
|
|
83
89
|
- Test coverage improved.
|
|
84
90
|
|
|
85
|
-
[Unreleased]: https://github.com/matthutchinson/acts_as_textcaptcha/compare/v4.5.
|
|
91
|
+
[Unreleased]: https://github.com/matthutchinson/acts_as_textcaptcha/compare/v4.5.1...HEAD
|
|
92
|
+
[4.5.1]: https://github.com/matthutchinson/acts_as_textcaptcha/compare/v4.5.0...v4.5.1
|
|
86
93
|
[4.5.0]: https://github.com/matthutchinson/acts_as_textcaptcha/compare/v4.4.1...v4.5.0
|
|
87
94
|
[4.4.1]: https://github.com/matthutchinson/acts_as_textcaptcha/compare/v4.3.0...v4.4.1
|
|
88
95
|
[4.3.0]: https://github.com/matthutchinson/acts_as_textcaptcha/compare/v4.2.0...v4.3.0
|
data/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
## ActAsTextcaptcha
|
|
2
2
|
|
|
3
3
|
[](http://rubygems.org/gems/acts_as_textcaptcha)
|
|
4
|
-
[](https://travis-ci.
|
|
4
|
+
[](https://travis-ci.com/matthutchinson/acts_as_textcaptcha)
|
|
5
5
|
[](https://depfu.com/github/matthutchinson/acts_as_textcaptcha)
|
|
6
6
|
[](https://codeclimate.com/github/matthutchinson/acts_as_textcaptcha/maintainability)
|
|
7
7
|
[](https://codeclimate.com/github/matthutchinson/acts_as_textcaptcha/test_coverage)
|
|
@@ -18,15 +18,14 @@ are a good idea visit [textcaptcha.com](http://textcaptcha.com).
|
|
|
18
18
|
|
|
19
19
|
## Requirements
|
|
20
20
|
|
|
21
|
-
* [Ruby](http://ruby-lang.org/) >= 2.
|
|
21
|
+
* [Ruby](http://ruby-lang.org/) >= 2.4
|
|
22
22
|
* [Rails](http://github.com/rails/rails) >= 3
|
|
23
23
|
* [Rails.cache](http://guides.rubyonrails.org/caching_with_rails.html#cache-stores)
|
|
24
24
|
|
|
25
25
|
## Demo
|
|
26
26
|
|
|
27
27
|
Try a [working demo here](https://acts-as-textcaptcha-demo.herokuapp.com)!
|
|
28
|
-
|
|
29
|
-
[here](https://github.com/matthutchinson/acts_as_textcaptcha_demo) for details.
|
|
28
|
+
Or one-click deploy your own [demo app](https://github.com/matthutchinson/acts_as_textcaptcha_demo) to Heroku.
|
|
30
29
|
|
|
31
30
|
[](https://www.heroku.com/deploy?template=https://github.com/matthutchinson/acts_as_textcaptcha_demo/tree/master)
|
|
32
31
|
|
|
@@ -218,7 +217,7 @@ Bug [reports](https://github.com/matthutchinson/acts_as_textcaptcha/issues) and
|
|
|
218
217
|
[pull requests](https://github.com/matthutchinson/acts_as_textcaptcha/pulls) are
|
|
219
218
|
welcome on GitHub. When submitting pull requests, remember to add tests covering
|
|
220
219
|
any new behaviour, and ensure all tests are passing on
|
|
221
|
-
[Travis](https://travis-ci.
|
|
220
|
+
[Travis](https://travis-ci.com/matthutchinson/acts_as_textcaptcha). Read the
|
|
222
221
|
[contributing
|
|
223
222
|
guidelines](https://github.com/matthutchinson/acts_as_textcaptcha/blob/master/CONTRIBUTING.md)
|
|
224
223
|
for more details.
|
|
@@ -247,7 +246,7 @@ The code is available as open source under the terms of
|
|
|
247
246
|
## Links
|
|
248
247
|
|
|
249
248
|
* [Demo](https://acts-as-textcaptcha-demo.herokuapp.com)
|
|
250
|
-
* [Travis CI](http://travis-ci.
|
|
249
|
+
* [Travis CI](http://travis-ci.com/matthutchinson/acts_as_textcaptcha)
|
|
251
250
|
* [Maintainability](https://codeclimate.com/github/matthutchinson/acts_as_textcaptcha/maintainability)
|
|
252
251
|
* [Test Coverage](https://codeclimate.com/github/matthutchinson/acts_as_textcaptcha/test_coverage)
|
|
253
252
|
* [RDoc](http://rdoc.info/projects/matthutchinson/acts_as_textcaptcha)
|
data/Rakefile
CHANGED
data/acts_as_textcaptcha.gemspec
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
1
|
lib = File.expand_path('../lib', __FILE__)
|
|
3
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
3
|
require "acts_as_textcaptcha/version"
|
|
@@ -37,7 +36,7 @@ Gem::Specification.new do |spec|
|
|
|
37
36
|
spec.rdoc_options << "--title" << "ActAsTextcaptcha" << "--main" << "README.md" << "-ri"
|
|
38
37
|
|
|
39
38
|
# non-gem dependecies
|
|
40
|
-
spec.required_ruby_version = ">= 2.
|
|
39
|
+
spec.required_ruby_version = ">= 2.4"
|
|
41
40
|
|
|
42
41
|
# dev gems
|
|
43
42
|
spec.add_development_dependency('bundler')
|
|
@@ -48,8 +47,8 @@ Gem::Specification.new do |spec|
|
|
|
48
47
|
spec.add_development_dependency('rdoc')
|
|
49
48
|
|
|
50
49
|
# testing
|
|
50
|
+
spec.add_development_dependency('rails', '~> 6.0.2.1')
|
|
51
51
|
spec.add_development_dependency('minitest')
|
|
52
|
-
spec.add_development_dependency('rails', '~> 5.2.3')
|
|
53
52
|
spec.add_development_dependency('sqlite3')
|
|
54
53
|
spec.add_development_dependency('webmock')
|
|
55
54
|
spec.add_development_dependency('simplecov')
|
data/gemfiles/rails_3.gemfile
CHANGED
data/gemfiles/rails_4.gemfile
CHANGED
data/gemfiles/rails_5.gemfile
CHANGED
data/lib/acts_as_textcaptcha.rb
CHANGED
|
File without changes
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: acts_as_textcaptcha
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.5.
|
|
4
|
+
version: 4.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matthew Hutchinson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-01-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -67,33 +67,33 @@ dependencies:
|
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: '0'
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
|
-
name:
|
|
70
|
+
name: rails
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
|
-
- - "
|
|
73
|
+
- - "~>"
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version:
|
|
75
|
+
version: 6.0.2.1
|
|
76
76
|
type: :development
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
|
-
- - "
|
|
80
|
+
- - "~>"
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
|
-
version:
|
|
82
|
+
version: 6.0.2.1
|
|
83
83
|
- !ruby/object:Gem::Dependency
|
|
84
|
-
name:
|
|
84
|
+
name: minitest
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
|
86
86
|
requirements:
|
|
87
|
-
- - "
|
|
87
|
+
- - ">="
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
|
-
version:
|
|
89
|
+
version: '0'
|
|
90
90
|
type: :development
|
|
91
91
|
prerelease: false
|
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
|
93
93
|
requirements:
|
|
94
|
-
- - "
|
|
94
|
+
- - ">="
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
|
-
version:
|
|
96
|
+
version: '0'
|
|
97
97
|
- !ruby/object:Gem::Dependency
|
|
98
98
|
name: sqlite3
|
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -181,16 +181,18 @@ files:
|
|
|
181
181
|
- gemfiles/rails_3.gemfile
|
|
182
182
|
- gemfiles/rails_4.gemfile
|
|
183
183
|
- gemfiles/rails_5.gemfile
|
|
184
|
+
- gemfiles/rails_6.gemfile
|
|
184
185
|
- lib/acts_as_textcaptcha.rb
|
|
185
186
|
- lib/acts_as_textcaptcha/errors.rb
|
|
186
187
|
- lib/acts_as_textcaptcha/framework/rails.rb
|
|
188
|
+
- lib/acts_as_textcaptcha/railtie.rb
|
|
189
|
+
- lib/acts_as_textcaptcha/tasks/textcaptcha.rake
|
|
187
190
|
- lib/acts_as_textcaptcha/textcaptcha.rb
|
|
188
191
|
- lib/acts_as_textcaptcha/textcaptcha_api.rb
|
|
189
192
|
- lib/acts_as_textcaptcha/textcaptcha_cache.rb
|
|
190
193
|
- lib/acts_as_textcaptcha/textcaptcha_config.rb
|
|
191
194
|
- lib/acts_as_textcaptcha/textcaptcha_helper.rb
|
|
192
195
|
- lib/acts_as_textcaptcha/version.rb
|
|
193
|
-
- lib/tasks/textcaptcha.rake
|
|
194
196
|
homepage: http://github.com/matthutchinson/acts_as_textcaptcha
|
|
195
197
|
licenses:
|
|
196
198
|
- MIT
|
|
@@ -213,14 +215,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
213
215
|
requirements:
|
|
214
216
|
- - ">="
|
|
215
217
|
- !ruby/object:Gem::Version
|
|
216
|
-
version: '2.
|
|
218
|
+
version: '2.4'
|
|
217
219
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
218
220
|
requirements:
|
|
219
221
|
- - ">="
|
|
220
222
|
- !ruby/object:Gem::Version
|
|
221
223
|
version: '0'
|
|
222
224
|
requirements: []
|
|
223
|
-
rubygems_version: 3.
|
|
225
|
+
rubygems_version: 3.1.2
|
|
224
226
|
signing_key:
|
|
225
227
|
specification_version: 4
|
|
226
228
|
summary: A text-based logic question captcha for Rails
|