refinerycms-inquiries 3.1.0 → 4.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
  SHA1:
3
- metadata.gz: d9ddb0e6c028b0f09330b4acbaf76bc8ceed1d9d
4
- data.tar.gz: 486b3df780a2b9784ba0a1fa464037a1900ceb2e
3
+ metadata.gz: 9ab506a2254d9ac6e5fbfff3d931aa7a3af9574a
4
+ data.tar.gz: 7f37e5362c3a012ed33f54c101ceab5668cd567d
5
5
  SHA512:
6
- metadata.gz: fd919f169f626caf18e06f165b91618e89b6713087024976ea929e2c1f6b6b83961b8bbacf9b2e44a1a57b8cdbfc8e7e9747b14f8370a33a025b253f08750ba5
7
- data.tar.gz: d04451a99c47567cdbe5fd275b685a917316236fcec87b8691ec1dd1051c87699ec8e9a3371985d1a1200c85c89614d4887610bb53bed08ebec3316a06cda0fc
6
+ metadata.gz: b3d0ed0390005dd4f6e21c002487f519bf99655fb7150471d5c766802b066b214272c02b0746bed666fd16a5db7fb3011c62492ec74148991d113041b5df1d4f
7
+ data.tar.gz: 1e6f1d25c4f198c5baaa0d4add25123040c81cc890f60496d37166a2ed8e32022fcb5e0a829b89325a1540b56905100da585bb526a7c9c179d22302ef8273602
@@ -1 +1 @@
1
- (��:�[mg�
1
+ .�V���5�|�̴���a�p�?z�_��O���;��>�j,��C���ܚz=� �j�&*d�����Q��(�t��ek%o�ʚM-Ci�?uU�3UC���L�m c.qB�v�&3�3 k�gaW)�M�'$e�o�w��TՉ�p��1����$=q��zR��@��'��`��!��2��4͔�5I>����[
data.tar.gz.sig CHANGED
Binary file
@@ -25,5 +25,6 @@ env:
25
25
  - DB=postgresql
26
26
  - DB=mysql
27
27
  rvm:
28
- - 2.1
29
- - 2.0.0
28
+ - 2.4.2
29
+ - 2.3.5
30
+ - 2.2.8
data/Gemfile CHANGED
@@ -2,12 +2,20 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
5
- gem 'refinerycms', ["~> 3.0", ">= 3.0.3"]
6
- gem 'refinerycms-settings', "~> 3.0"
5
+ git "https://github.com/refinery/refinerycms", branch: "master" do
6
+ gem "refinerycms"
7
+
8
+ group :test do
9
+ gem "refinerycms-testing"
10
+ end
11
+ end
12
+
13
+ group :development do
14
+ gem 'listen'
15
+ end
7
16
 
8
17
  group :test do
9
- gem 'refinerycms-testing', ["~> 3.0", ">= 3.0.3"]
10
- gem 'capybara-email', '~> 2.4.0'
18
+ gem 'capybara-email', '~> 2.5'
11
19
  gem 'poltergeist'
12
20
  end
13
21
 
@@ -29,8 +37,11 @@ if !ENV['TRAVIS'] || ENV['DB'] == 'postgresql'
29
37
  end
30
38
 
31
39
  # Refinery/rails should pull in the proper versions of these
32
- gem 'sass-rails'
33
- gem 'coffee-rails'
40
+ group :assets do
41
+ gem "sass-rails"
42
+ gem "coffee-rails"
43
+ gem "uglifier"
44
+ end
34
45
 
35
46
  # Load local gems according to Refinery developer preference.
36
47
  if File.exist? local_gemfile = File.expand_path('../.gemfile', __FILE__)
@@ -27,7 +27,7 @@ module Refinery
27
27
  find_inquiry
28
28
  @inquiry.toggle!(:spam)
29
29
 
30
- redirect_to :back
30
+ redirect_back fallback_location: root_path
31
31
  end
32
32
 
33
33
  protected
@@ -16,7 +16,7 @@ module Refinery
16
16
  unless request.xhr? or from_dialog?
17
17
  redirect_back_or_default(refinery.inquiries_admin_inquiries_path)
18
18
  else
19
- render text: "<script type='text/javascript'>parent.window.location = '#{refinery.inquiries_admin_inquiries_path}';</script>"
19
+ render html: "<script type='text/javascript'>parent.window.location = '#{refinery.inquiries_admin_inquiries_path}';</script>".html_safe
20
20
  end
21
21
  end
22
22
 
data/bin/rails CHANGED
@@ -1,5 +1,11 @@
1
1
  #!/usr/bin/env ruby
2
- # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
2
+ # This command will automatically be run when you run "rails" with Rails gems
3
+ # installed from the root of your application.
3
4
 
4
- ENGINE_PATH = File.expand_path('../..', __FILE__)
5
- load File.expand_path('../../spec/dummy/bin/rails', __FILE__)
5
+ begin
6
+ load File.join(File.expand_path('../../', __FILE__), 'spec/dummy/bin/rails')
7
+ rescue LoadError => load_error
8
+ warn "No dummy Rails application found! \n" \
9
+ "To create one in spec/dummy, please run: \n\n" \
10
+ " rake refinery:testing:dummy_app"
11
+ end
@@ -1,21 +1,21 @@
1
1
  -----BEGIN CERTIFICATE-----
2
2
  MIIDhjCCAm6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBNMQ0wCwYDVQQDDARnZW1z
3
3
  MREwDwYKCZImiZPyLGQBGRYBcDEVMBMGCgmSJomT8ixkARkWBWFybmR0MRIwEAYK
4
- CZImiZPyLGQBGRYCaW8wHhcNMTYwNjEwMDMwNjQyWhcNMTcwNjEwMDMwNjQyWjBN
4
+ CZImiZPyLGQBGRYCaW8wHhcNMTcwNzI1MTMxMjIwWhcNMTgwNzI1MTMxMjIwWjBN
5
5
  MQ0wCwYDVQQDDARnZW1zMREwDwYKCZImiZPyLGQBGRYBcDEVMBMGCgmSJomT8ixk
6
6
  ARkWBWFybmR0MRIwEAYKCZImiZPyLGQBGRYCaW8wggEiMA0GCSqGSIb3DQEBAQUA
7
- A4IBDwAwggEKAoIBAQDMLLiiRX/NrRDQxcNO/bPNe51IhKeyACDjTTx0VGCG696t
8
- qdD23FjUrAYuQTW5P7Auh9qdcCnvPHJSwf31m+EGTshy/hcNYz2k/mrbwAfdytv3
9
- GAR+sFnMYtWvVQNeHBWXIaYMiSDP0WtbT6QqQx3SuA6ZpXNXD1dbm64MzHgMHqXP
10
- uHnLf2s0VCnTLorPH2J6CO5Y+Sx+IBqJi9/nO2oEEIXQCQRLgRevHk+TovDisW5V
11
- OMEPX7fo29R5J2T7mjkNLGJ5Ae1KiU9A60LsMco37HMWE8DM90pg1ues5tg6MfJT
12
- yuX4N0rJWdIC5ciHDsyJ4pi21s8fdUulk0YmJALDAgMBAAGjcTBvMAkGA1UdEwQC
13
- MAAwCwYDVR0PBAQDAgS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HUYZ2IbhRnuW
16
+ 4uydNRvKDPdwzjChnOI0POGpcL8O1s1gh+19o/ITq6zRfTLhkwR2ir7XfwHJNppJ
17
+ yg48wbdL5gpZwggKWggKX5G9pqv9LjRsSAew6r0WB+5KW+ArCl/iNo9+AdeR3nUx
18
+ I+L/QiUxYU6XAXSrczL/i7kF5Xc3ZXQYuFsyGW9plA3i9faWUMvGKQc6pvUHIUZC
19
+ jOQmH9VbgbfUrXYM1YOKdlwW5sPR1f4PKLDlvEE+bppIUgKOgLOIv3i7KwrGvFOq
20
+ 5r7Wz/HY31SM47mkK21saPJG4NvUFEycf0wlpzP657Pl9aVo47aKKbxX
21
21
  -----END CERTIFICATE-----
@@ -5,6 +5,8 @@ ru:
5
5
  title: Запросы
6
6
  description: Предоставляет форму обратной связи и хранит запросы
7
7
  inquiries:
8
+ spam_filter:
9
+ captcha_invalid: К сожалению, мы не смогли подтвердить, что вы не робот
8
10
  config:
9
11
  from_name: "%{name} - %{site_name}"
10
12
  inquiries:
@@ -1,4 +1,4 @@
1
- class CreateInquiries < ActiveRecord::Migration
1
+ class CreateInquiries < ActiveRecord::Migration[4.2]
2
2
  def up
3
3
  unless ::Refinery::Inquiries::Inquiry.table_exists?
4
4
  create_table :refinery_inquiries_inquiries, :force => true do |t|
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{refinerycms-inquiries}
5
- s.version = %q{3.1.0}
5
+ s.version = %q{4.0.0}
6
6
  s.summary = %q{Inquiry handling functionality for the Refinery CMS project.}
7
7
  s.description = %q{Inquiry handling functionality extracted from Refinery CMS to allow you to have a contact form and manage inquiries in the Refinery backend.}
8
8
  s.homepage = %q{http://refinerycms.com}
@@ -14,10 +14,10 @@ Gem::Specification.new do |s|
14
14
  s.files = `git ls-files`.split("\n")
15
15
  s.test_files = `git ls-files -- spec/*`.split("\n")
16
16
 
17
- s.add_dependency 'refinerycms-core', '~> 3.0.0'
18
- s.add_dependency 'refinerycms-settings', '~> 3.0.0'
17
+ s.add_dependency 'refinerycms-core', '~> 4.0'
18
+ s.add_dependency 'refinerycms-settings', '~> 4.0'
19
19
  s.add_dependency 'filters_spam', '~> 0.2'
20
- s.add_dependency 'actionmailer', '~> 4.2.4'
20
+ s.add_dependency 'actionmailer', ['>= 5.1.0', '< 5.2']
21
21
  s.add_dependency 'httpclient'
22
22
 
23
23
  s.cert_chain = [File.expand_path("../certs/parndt.pem", __FILE__)]
@@ -7,6 +7,7 @@ module Refinery
7
7
  before do
8
8
  FactoryGirl.create(:page, :link_url => Refinery::Inquiries.page_path_new)
9
9
 
10
+ allow(ActionMailer::Base).to receive(:delivery_method).and_return(:test)
10
11
  allow(Refinery::Inquiries::Setting).to receive(:notification_recipients)
11
12
  .and_return("rspec@refinerycms.com")
12
13
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinerycms-inquiries
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Uģis Ozols
@@ -14,25 +14,25 @@ cert_chain:
14
14
  -----BEGIN CERTIFICATE-----
15
15
  MIIDhjCCAm6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBNMQ0wCwYDVQQDDARnZW1z
16
16
  MREwDwYKCZImiZPyLGQBGRYBcDEVMBMGCgmSJomT8ixkARkWBWFybmR0MRIwEAYK
17
- CZImiZPyLGQBGRYCaW8wHhcNMTYwNjEwMDMwNjQyWhcNMTcwNjEwMDMwNjQyWjBN
17
+ CZImiZPyLGQBGRYCaW8wHhcNMTcwNzI1MTMxMjIwWhcNMTgwNzI1MTMxMjIwWjBN
18
18
  MQ0wCwYDVQQDDARnZW1zMREwDwYKCZImiZPyLGQBGRYBcDEVMBMGCgmSJomT8ixk
19
19
  ARkWBWFybmR0MRIwEAYKCZImiZPyLGQBGRYCaW8wggEiMA0GCSqGSIb3DQEBAQUA
20
- A4IBDwAwggEKAoIBA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nOXpPPMdAK4ApGHxbzS+/u77p
29
- V8gLBJX4hKMpbMNmdI+n6YsqvG6kMljgYBamucfrAkKdmHWn9ydST3o8RQAcYxS8
30
- bz49gD3c4Nm4P6eEVKFmebO9/MoiM7rMb0lk/xH1drtey/9ulohrg8Dz+BoQJ+9T
31
- m2lJzojOU7w461lPVZtKlDlseu68KvEQ2AdUBBa1b6w3S/EFkcdhErOT7dyQpePI
32
- +wsbjPvdIWsjWQMn6MasZYIVTnenwP2jg+z9HSNxW0NL2vZx8VabpsWGWfrb+koj
33
- rE1h12GTgwaC3r9FOkdnSpClgPYAzTTCJ8kD74qO2zC9pGegrUXdWFM6
28
+ bmR0LmlvMA0GCSqGSIb3DQEBBQUAA4IBAQB12WMsC+yuuIeM0Ib6HUYZ2IbhRnuW
29
+ 4uydNRvKDPdwzjChnOI0POGpcL8O1s1gh+19o/ITq6zRfTLhkwR2ir7XfwHJNppJ
30
+ yg48wbdL5gpZwggKWggKX5G9pqv9LjRsSAew6r0WB+5KW+ArCl/iNo9+AdeR3nUx
31
+ I+L/QiUxYU6XAXSrczL/i7kF5Xc3ZXQYuFsyGW9plA3i9faWUMvGKQc6pvUHIUZC
32
+ jOQmH9VbgbfUrXYM1YOKdlwW5sPR1f4PKLDlvEE+bppIUgKOgLOIv3i7KwrGvFOq
33
+ 5r7Wz/HY31SM47mkK21saPJG4NvUFEycf0wlpzP657Pl9aVo47aKKbxX
34
34
  -----END CERTIFICATE-----
35
- date: 2016-12-31 00:00:00.000000000 Z
35
+ date: 2018-05-20 00:00:00.000000000 Z
36
36
  dependencies:
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: refinerycms-core
@@ -40,28 +40,28 @@ dependencies:
40
40
  requirements:
41
41
  - - "~>"
42
42
  - !ruby/object:Gem::Version
43
- version: 3.0.0
43
+ version: '4.0'
44
44
  type: :runtime
45
45
  prerelease: false
46
46
  version_requirements: !ruby/object:Gem::Requirement
47
47
  requirements:
48
48
  - - "~>"
49
49
  - !ruby/object:Gem::Version
50
- version: 3.0.0
50
+ version: '4.0'
51
51
  - !ruby/object:Gem::Dependency
52
52
  name: refinerycms-settings
53
53
  requirement: !ruby/object:Gem::Requirement
54
54
  requirements:
55
55
  - - "~>"
56
56
  - !ruby/object:Gem::Version
57
- version: 3.0.0
57
+ version: '4.0'
58
58
  type: :runtime
59
59
  prerelease: false
60
60
  version_requirements: !ruby/object:Gem::Requirement
61
61
  requirements:
62
62
  - - "~>"
63
63
  - !ruby/object:Gem::Version
64
- version: 3.0.0
64
+ version: '4.0'
65
65
  - !ruby/object:Gem::Dependency
66
66
  name: filters_spam
67
67
  requirement: !ruby/object:Gem::Requirement
@@ -80,16 +80,22 @@ dependencies:
80
80
  name: actionmailer
81
81
  requirement: !ruby/object:Gem::Requirement
82
82
  requirements:
83
- - - "~>"
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ version: 5.1.0
86
+ - - "<"
84
87
  - !ruby/object:Gem::Version
85
- version: 4.2.4
88
+ version: '5.2'
86
89
  type: :runtime
87
90
  prerelease: false
88
91
  version_requirements: !ruby/object:Gem::Requirement
89
92
  requirements:
90
- - - "~>"
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: 5.1.0
96
+ - - "<"
91
97
  - !ruby/object:Gem::Version
92
- version: 4.2.4
98
+ version: '5.2'
93
99
  - !ruby/object:Gem::Dependency
94
100
  name: httpclient
95
101
  requirement: !ruby/object:Gem::Requirement
@@ -202,7 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
202
208
  version: '0'
203
209
  requirements: []
204
210
  rubyforge_project:
205
- rubygems_version: 2.5.2
211
+ rubygems_version: 2.6.13
206
212
  signing_key:
207
213
  specification_version: 4
208
214
  summary: Inquiry handling functionality for the Refinery CMS project.
metadata.gz.sig CHANGED
Binary file