is_bot 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +2 -2
- data/Gemfile.lock +75 -59
- data/HISTORY +16 -0
- data/VERSION +1 -1
- data/is_bot.gemspec +36 -28
- data/lib/is_bot/is_bot.rb +1 -1
- data/pkg/is_bot-0.2.0.gem +0 -0
- data/spec/spec_helper.rb +3 -2
- metadata +10 -30
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,83 +1,99 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
rack (~> 1.
|
15
|
-
rack-mount (~> 0.
|
16
|
-
rack-test (~> 0.
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
4
|
+
actionmailer (3.1.0.rc4)
|
5
|
+
actionpack (= 3.1.0.rc4)
|
6
|
+
mail (~> 2.3.0)
|
7
|
+
actionpack (3.1.0.rc4)
|
8
|
+
activemodel (= 3.1.0.rc4)
|
9
|
+
activesupport (= 3.1.0.rc4)
|
10
|
+
builder (~> 3.0.0)
|
11
|
+
erubis (~> 2.7.0)
|
12
|
+
i18n (~> 0.6)
|
13
|
+
rack (~> 1.3.0)
|
14
|
+
rack-cache (~> 1.0.1)
|
15
|
+
rack-mount (~> 0.8.1)
|
16
|
+
rack-test (~> 0.6.0)
|
17
|
+
sprockets (~> 2.0.0.beta.10)
|
18
|
+
tzinfo (~> 0.3.27)
|
19
|
+
activemodel (3.1.0.rc4)
|
20
|
+
activesupport (= 3.1.0.rc4)
|
21
|
+
bcrypt-ruby (~> 2.1.4)
|
22
|
+
builder (~> 3.0.0)
|
23
|
+
i18n (~> 0.6)
|
24
|
+
activerecord (3.1.0.rc4)
|
25
|
+
activemodel (= 3.1.0.rc4)
|
26
|
+
activesupport (= 3.1.0.rc4)
|
27
|
+
arel (~> 2.1.1)
|
28
|
+
tzinfo (~> 0.3.27)
|
29
|
+
activeresource (3.1.0.rc4)
|
30
|
+
activemodel (= 3.1.0.rc4)
|
31
|
+
activesupport (= 3.1.0.rc4)
|
32
|
+
activesupport (3.1.0.rc4)
|
33
|
+
multi_json (~> 1.0)
|
34
|
+
arel (2.1.1)
|
35
|
+
bcrypt-ruby (2.1.4)
|
36
|
+
builder (3.0.0)
|
33
37
|
diff-lcs (1.1.2)
|
34
|
-
erubis (2.
|
35
|
-
|
36
|
-
i18n (0.
|
37
|
-
mail (2.
|
38
|
-
activesupport (>= 2.3.6)
|
38
|
+
erubis (2.7.0)
|
39
|
+
hike (1.1.0)
|
40
|
+
i18n (0.6.0)
|
41
|
+
mail (2.3.0)
|
39
42
|
i18n (>= 0.4.0)
|
40
43
|
mime-types (~> 1.16)
|
41
44
|
treetop (~> 1.4.8)
|
42
45
|
mime-types (1.16)
|
46
|
+
multi_json (1.0.3)
|
43
47
|
polyglot (0.3.1)
|
44
|
-
rack (1.
|
45
|
-
rack-
|
48
|
+
rack (1.3.0)
|
49
|
+
rack-cache (1.0.2)
|
50
|
+
rack (>= 0.4)
|
51
|
+
rack-mount (0.8.1)
|
46
52
|
rack (>= 1.0.0)
|
47
|
-
rack-
|
53
|
+
rack-ssl (1.3.2)
|
54
|
+
rack
|
55
|
+
rack-test (0.6.0)
|
48
56
|
rack (>= 1.0)
|
49
|
-
rails (3.0.
|
50
|
-
actionmailer (= 3.0.
|
51
|
-
actionpack (= 3.0.
|
52
|
-
activerecord (= 3.0.
|
53
|
-
activeresource (= 3.0.
|
54
|
-
activesupport (= 3.0.
|
57
|
+
rails (3.1.0.rc4)
|
58
|
+
actionmailer (= 3.1.0.rc4)
|
59
|
+
actionpack (= 3.1.0.rc4)
|
60
|
+
activerecord (= 3.1.0.rc4)
|
61
|
+
activeresource (= 3.1.0.rc4)
|
62
|
+
activesupport (= 3.1.0.rc4)
|
55
63
|
bundler (~> 1.0)
|
56
|
-
railties (= 3.0.
|
57
|
-
railties (3.0.
|
58
|
-
actionpack (= 3.0.
|
59
|
-
activesupport (= 3.0.
|
64
|
+
railties (= 3.1.0.rc4)
|
65
|
+
railties (3.1.0.rc4)
|
66
|
+
actionpack (= 3.1.0.rc4)
|
67
|
+
activesupport (= 3.1.0.rc4)
|
68
|
+
rack-ssl (~> 1.3.2)
|
60
69
|
rake (>= 0.8.7)
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
rspec-
|
67
|
-
|
68
|
-
|
70
|
+
rdoc (~> 3.4)
|
71
|
+
thor (~> 0.14.6)
|
72
|
+
rake (0.9.2)
|
73
|
+
rdoc (3.6.1)
|
74
|
+
rspec (2.6.0)
|
75
|
+
rspec-core (~> 2.6.0)
|
76
|
+
rspec-expectations (~> 2.6.0)
|
77
|
+
rspec-mocks (~> 2.6.0)
|
78
|
+
rspec-core (2.6.4)
|
79
|
+
rspec-expectations (2.6.0)
|
69
80
|
diff-lcs (~> 1.1.2)
|
70
|
-
rspec-mocks (2.
|
81
|
+
rspec-mocks (2.6.0)
|
82
|
+
sprockets (2.0.0.beta.10)
|
83
|
+
hike (~> 1.0)
|
84
|
+
rack (~> 1.0)
|
85
|
+
tilt (!= 1.3.0, ~> 1.1)
|
71
86
|
sqlite3 (1.3.3)
|
72
87
|
thor (0.14.6)
|
88
|
+
tilt (1.3.2)
|
73
89
|
treetop (1.4.9)
|
74
90
|
polyglot (>= 0.3.1)
|
75
|
-
tzinfo (0.3.
|
91
|
+
tzinfo (0.3.28)
|
76
92
|
|
77
93
|
PLATFORMS
|
78
94
|
ruby
|
79
95
|
|
80
96
|
DEPENDENCIES
|
81
|
-
rails (= 3.0.
|
82
|
-
rspec (= 2.
|
97
|
+
rails (= 3.1.0.rc4)
|
98
|
+
rspec (= 2.6.0)
|
83
99
|
sqlite3 (= 1.3.3)
|
data/HISTORY
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
19 June 2011
|
2
|
+
---------------
|
3
|
+
|
4
|
+
* Upgraded to Rails 3.1.0.rc4
|
5
|
+
* Upgraded to Rspec 2.6.0
|
6
|
+
* class_inheritable_accessor changed to class_attribute
|
7
|
+
|
8
|
+
|
9
|
+
23 January 2011
|
10
|
+
---------------
|
11
|
+
|
12
|
+
* Moved to Ruby 1.9.2
|
13
|
+
* Upgraded to Rails3
|
14
|
+
* Upgraded to Bundler
|
15
|
+
* Cleaned up code
|
16
|
+
* Slightly improved the specs
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.3.0
|
data/is_bot.gemspec
CHANGED
@@ -1,55 +1,63 @@
|
|
1
1
|
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{is_bot}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.3.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Anuj Dutta"]
|
12
|
-
s.date = %q{
|
12
|
+
s.date = %q{2011-06-19}
|
13
13
|
s.description = %q{Simple gem to reduce the spam attacks on sign-up, sign-in and other similar sorts of forms.}
|
14
14
|
s.email = %q{anuj@andhapp.com}
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE",
|
17
|
-
|
17
|
+
"README.markdown"
|
18
18
|
]
|
19
19
|
s.files = [
|
20
|
-
".
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
20
|
+
".rspec",
|
21
|
+
"Gemfile",
|
22
|
+
"Gemfile.lock",
|
23
|
+
"HISTORY",
|
24
|
+
"LICENSE",
|
25
|
+
"README.markdown",
|
26
|
+
"Rakefile",
|
27
|
+
"VERSION",
|
28
|
+
"init.rb",
|
29
|
+
"is_bot.gemspec",
|
30
|
+
"lib/is_bot.rb",
|
31
|
+
"lib/is_bot/is_bot.rb",
|
32
|
+
"pkg/is_bot-0.1.0.gem",
|
33
|
+
"pkg/is_bot-0.2.0.gem",
|
34
|
+
"spec/database.yml",
|
35
|
+
"spec/is_bot_spec.rb",
|
36
|
+
"spec/models.rb",
|
37
|
+
"spec/schema.db",
|
38
|
+
"spec/spec_helper.rb"
|
34
39
|
]
|
35
40
|
s.homepage = %q{http://github.com/andhapp/is_bot}
|
36
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
37
41
|
s.require_paths = ["lib"]
|
38
|
-
s.rubygems_version = %q{1.
|
42
|
+
s.rubygems_version = %q{1.6.2}
|
39
43
|
s.summary = %q{Fight the bot.}
|
40
|
-
s.test_files = [
|
41
|
-
"spec/is_bot_spec.rb",
|
42
|
-
"spec/models.rb",
|
43
|
-
"spec/spec_helper.rb"
|
44
|
-
]
|
45
44
|
|
46
45
|
if s.respond_to? :specification_version then
|
47
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
48
46
|
s.specification_version = 3
|
49
47
|
|
50
|
-
if Gem::Version.new(Gem::
|
48
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
49
|
+
s.add_runtime_dependency(%q<rails>, ["= 3.1.0.rc4"])
|
50
|
+
s.add_runtime_dependency(%q<rspec>, ["= 2.6.0"])
|
51
|
+
s.add_runtime_dependency(%q<sqlite3>, ["= 1.3.3"])
|
51
52
|
else
|
53
|
+
s.add_dependency(%q<rails>, ["= 3.1.0.rc4"])
|
54
|
+
s.add_dependency(%q<rspec>, ["= 2.6.0"])
|
55
|
+
s.add_dependency(%q<sqlite3>, ["= 1.3.3"])
|
52
56
|
end
|
53
57
|
else
|
58
|
+
s.add_dependency(%q<rails>, ["= 3.1.0.rc4"])
|
59
|
+
s.add_dependency(%q<rspec>, ["= 2.6.0"])
|
60
|
+
s.add_dependency(%q<sqlite3>, ["= 1.3.3"])
|
54
61
|
end
|
55
62
|
end
|
63
|
+
|
data/lib/is_bot/is_bot.rb
CHANGED
Binary file
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,12 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: is_bot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 2
|
8
|
-
- 0
|
9
|
-
version: 0.2.0
|
4
|
+
prerelease:
|
5
|
+
version: 0.3.0
|
10
6
|
platform: ruby
|
11
7
|
authors:
|
12
8
|
- Anuj Dutta
|
@@ -14,7 +10,7 @@ autorequire:
|
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
12
|
|
17
|
-
date: 2011-
|
13
|
+
date: 2011-06-19 00:00:00 +01:00
|
18
14
|
default_executable:
|
19
15
|
dependencies:
|
20
16
|
- !ruby/object:Gem::Dependency
|
@@ -24,11 +20,7 @@ dependencies:
|
|
24
20
|
requirements:
|
25
21
|
- - "="
|
26
22
|
- !ruby/object:Gem::Version
|
27
|
-
|
28
|
-
- 3
|
29
|
-
- 0
|
30
|
-
- 3
|
31
|
-
version: 3.0.3
|
23
|
+
version: 3.1.0.rc4
|
32
24
|
type: :runtime
|
33
25
|
prerelease: false
|
34
26
|
version_requirements: *id001
|
@@ -39,11 +31,7 @@ dependencies:
|
|
39
31
|
requirements:
|
40
32
|
- - "="
|
41
33
|
- !ruby/object:Gem::Version
|
42
|
-
|
43
|
-
- 2
|
44
|
-
- 4
|
45
|
-
- 0
|
46
|
-
version: 2.4.0
|
34
|
+
version: 2.6.0
|
47
35
|
type: :runtime
|
48
36
|
prerelease: false
|
49
37
|
version_requirements: *id002
|
@@ -54,10 +42,6 @@ dependencies:
|
|
54
42
|
requirements:
|
55
43
|
- - "="
|
56
44
|
- !ruby/object:Gem::Version
|
57
|
-
segments:
|
58
|
-
- 1
|
59
|
-
- 3
|
60
|
-
- 3
|
61
45
|
version: 1.3.3
|
62
46
|
type: :runtime
|
63
47
|
prerelease: false
|
@@ -75,6 +59,7 @@ files:
|
|
75
59
|
- .rspec
|
76
60
|
- Gemfile
|
77
61
|
- Gemfile.lock
|
62
|
+
- HISTORY
|
78
63
|
- LICENSE
|
79
64
|
- README.markdown
|
80
65
|
- Rakefile
|
@@ -84,6 +69,7 @@ files:
|
|
84
69
|
- lib/is_bot.rb
|
85
70
|
- lib/is_bot/is_bot.rb
|
86
71
|
- pkg/is_bot-0.1.0.gem
|
72
|
+
- pkg/is_bot-0.2.0.gem
|
87
73
|
- spec/database.yml
|
88
74
|
- spec/is_bot_spec.rb
|
89
75
|
- spec/models.rb
|
@@ -103,25 +89,19 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
103
89
|
requirements:
|
104
90
|
- - ">="
|
105
91
|
- !ruby/object:Gem::Version
|
106
|
-
segments:
|
107
|
-
- 0
|
108
92
|
version: "0"
|
109
93
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
110
94
|
none: false
|
111
95
|
requirements:
|
112
96
|
- - ">="
|
113
97
|
- !ruby/object:Gem::Version
|
114
|
-
segments:
|
115
|
-
- 0
|
116
98
|
version: "0"
|
117
99
|
requirements: []
|
118
100
|
|
119
101
|
rubyforge_project:
|
120
|
-
rubygems_version: 1.
|
102
|
+
rubygems_version: 1.6.2
|
121
103
|
signing_key:
|
122
104
|
specification_version: 3
|
123
105
|
summary: Fight the bot.
|
124
|
-
test_files:
|
125
|
-
|
126
|
-
- spec/models.rb
|
127
|
-
- spec/spec_helper.rb
|
106
|
+
test_files: []
|
107
|
+
|