simple_captcha2 0.2.2 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 40a94a9f7b06d1682d552fccde16744716a2ed9d
4
- data.tar.gz: 57b831bcae4cba87737ab8f23a63be22a77c2e56
3
+ metadata.gz: 0401ddefd37ff7c64933e59e0e566eaee4e08a1c
4
+ data.tar.gz: b99fdd1ed6cfe0ec1c7a3be92350088519eb7ffa
5
5
  SHA512:
6
- metadata.gz: b95cd13230184ba24940cb90247536b19cb8884061ac45ac5b66aa9289fef84eaa6a750f1700e34cde3dd15a25c106f6ed638c4c222cb6b5f16116955929cf67
7
- data.tar.gz: 15420b7450d248ebd165725fd07f274df0f12da4ae257bc4090a0b6790bfcfb862a528007f1ae9962f8912809dcc4e625865836e59ce2ca733a8d3d7848eb5d4
6
+ metadata.gz: 3ae6e1789366fa57acf8b79ce513b89a9ccd5883758f4c13744added5ed67ec5a26277f53b20c595619b9ea010a04710f8b652146e5fafd9e950e3e5775802ac
7
+ data.tar.gz: 4621447431ab5dfef36657bbcbe682287470c7cfdb1e039401d8377bae871446a7e7c716111a6eb5a5f758c0787508aa93a6f11f0436c59a2c0fc0a3d5b919de
@@ -2,7 +2,7 @@ require 'rails/generators'
2
2
 
3
3
  class SimpleCaptchaGenerator < Rails::Generators::Base
4
4
  include Rails::Generators::Migration
5
-
5
+
6
6
  def self.source_root
7
7
  @source_root ||= File.expand_path(File.join(File.dirname(__FILE__), 'templates/'))
8
8
  end
@@ -10,12 +10,12 @@ class SimpleCaptchaGenerator < Rails::Generators::Base
10
10
  def self.next_migration_number(dirname)
11
11
  Time.now.strftime("%Y%m%d%H%M%S")
12
12
  end
13
-
13
+
14
14
  def create_partial
15
15
  template "partial.erb", File.join('app/views', 'simple_captcha', "_simple_captcha.erb")
16
16
  end
17
-
18
- def create_migration
17
+
18
+ def create_captcha_migration
19
19
  migration_template "migration.rb", File.join('db/migrate', "create_simple_captcha_data.rb")
20
20
  end
21
21
  end
@@ -1,3 +1,3 @@
1
1
  module SimpleCaptcha
2
- VERSION = "0.2.2".freeze
2
+ VERSION = "0.3.0".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_captcha2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavlo Galeta
@@ -17,9 +17,6 @@ dependencies:
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
19
  - - ">="
20
- - !ruby/object:Gem::Version
21
- version: '3.1'
22
- - - "<"
23
20
  - !ruby/object:Gem::Version
24
21
  version: '4.1'
25
22
  type: :runtime
@@ -27,9 +24,6 @@ dependencies:
27
24
  version_requirements: !ruby/object:Gem::Requirement
28
25
  requirements:
29
26
  - - ">="
30
- - !ruby/object:Gem::Version
31
- version: '3.1'
32
- - - "<"
33
27
  - !ruby/object:Gem::Version
34
28
  version: '4.1'
35
29
  - !ruby/object:Gem::Dependency