alchemy-ajax-form 1.2.1 → 2.0.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
  SHA256:
3
- metadata.gz: 36a4acac3687f6041a55b8efc1c4d445ca213185a2fe6ed368d0fa887d8b8f98
4
- data.tar.gz: 2ef67b1ec3ca05197248fbfb2ee2e236dd9a133e0105cbf67dafef8a3c6be9be
3
+ metadata.gz: 6752e54a42dbc7d871f6038a7156c9eb9948ed20222bf037aa26e743190ab81e
4
+ data.tar.gz: 5fd38d7d483d866c3cccb0ce2339087310502c101b2baf47a3eb39fcf1afa489
5
5
  SHA512:
6
- metadata.gz: d5b4509ac463fa1a0f0262870b5f41bf8219c6fb1836296a57c4dab68020f472e83c59c97dba7f6dfed379a12087789ff1e82b48fd5f38be244a963ff11c1a3e
7
- data.tar.gz: 23a6006f76f29528cd5583d4ae09acefbd81640fa049cef3a3f6b8ebe640ab44a84dc7ab525929b1a0213ec7062e831ee6cec90ff9beae12b8b353c7711a5155
6
+ metadata.gz: c5aeeb09e1c3ac37fc3908ad062e50033e2ad24ba661eb7f7440b35c781cd3b2ff4c2d610cd8c22a8fc8c445aeeab094f41a141a886c4d2c556af0b9d544e9cb
7
+ data.tar.gz: 820b3e3038ed3a9254c623fd6c7249dbabbe1b6b390f84491bee853eb3bd5375e81acb7030f6802f864acf1a5c8dafbc3c316dc617062b9ebe96bb8d5a2d9961
@@ -139,7 +139,7 @@
139
139
 
140
140
  var widget_id = grecaptcha.render(container_div[0], {
141
141
  'sitekey': '<%= Recaptcha.configuration.site_key! %>',
142
- 'badge': '<%= Alchemy::Ajax::Form.recaptcha_badge %>',
142
+ 'badge': 'inline',
143
143
  'size': 'invisible',
144
144
  'callback': function () {
145
145
  submit_function(form, method, action);
@@ -1,7 +1,7 @@
1
1
  module Alchemy
2
2
  module Ajax
3
3
  module Form
4
- VERSION = '1.2.1'
4
+ VERSION = '2.0.0'
5
5
  end
6
6
  end
7
7
  end
@@ -10,10 +10,8 @@ module Alchemy
10
10
  module Ajax
11
11
  module Form
12
12
  # Your code goes here...
13
- mattr_accessor :enable_mjml, :recaptcha_badge
13
+ mattr_accessor :enable_mjml
14
14
  @@enable_mjml = true
15
- @@recaptcha_badge = 'inline'
16
-
17
15
 
18
16
  end
19
17
  end
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alchemy-ajax-form
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alessandro Baccanelli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-28 00:00:00.000000000 Z
11
+ date: 2021-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '5.0'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '7.0'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: '5.0'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '7.0'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: js-routes
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -44,28 +50,28 @@ dependencies:
44
50
  requirements:
45
51
  - - "~>"
46
52
  - !ruby/object:Gem::Version
47
- version: '5.0'
53
+ version: '6.0'
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
51
57
  requirements:
52
58
  - - "~>"
53
59
  - !ruby/object:Gem::Version
54
- version: '5.0'
60
+ version: '6.0'
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: alchemy_cms
57
63
  requirement: !ruby/object:Gem::Requirement
58
64
  requirements:
59
65
  - - "~>"
60
66
  - !ruby/object:Gem::Version
61
- version: '4.0'
67
+ version: '5.0'
62
68
  type: :runtime
63
69
  prerelease: false
64
70
  version_requirements: !ruby/object:Gem::Requirement
65
71
  requirements:
66
72
  - - "~>"
67
73
  - !ruby/object:Gem::Version
68
- version: '4.0'
74
+ version: '5.0'
69
75
  - !ruby/object:Gem::Dependency
70
76
  name: recaptcha
71
77
  requirement: !ruby/object:Gem::Requirement