enjoy_cms_seo 0.4.0.beta3 → 0.4.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: e45f47795595d6cea18a1f735406e49def31f7d2
4
- data.tar.gz: 3e7be364730a306fbf380140b8e64cdc748f75cb
3
+ metadata.gz: d6d77c08ab7915b41542f34dc968ed608bb1f63c
4
+ data.tar.gz: 33b517895edf2b70f5ab215ee82b3b216957c0a0
5
5
  SHA512:
6
- metadata.gz: c213a4dd03cdbd04cff23c3f600d0e5dfc59c3e602a799de25893fd9f15d563b46c9c2e32f3af3613f265ef1e7fcf524fe38e47c9450ee730bde494188493f64
7
- data.tar.gz: cd350acf9d14bdb1a66863a33f7099654146b4f11b4672f069ab02211c828cb59dc0da5f746380dcbad232707430ff375bb5c8b4e94ffaff3128406b41eaeeaa
6
+ metadata.gz: b8c5aa7966671b317167e04e20428b123620a64d18674c255ec8cbfa5ae2dba0861df5973c12b2fcdb675eeaebb4e4744b4ee98d10340e450f6f020d9b137fd6
7
+ data.tar.gz: ae1ab10e14982971936438a81783626b5f5847a79d1d18159fa61a8daeac96d88b60f8e90fd7adf91bdf4a8a3288754b40b79adf779d719e334951f8926df6a7
@@ -8,8 +8,8 @@ module Enjoy::Seo::SeoHelper
8
8
  end
9
9
  def render_enjoy_counters(opts = {})
10
10
  ret = []
11
- ym_counter_id = opts[:ym_counter_id] || Settings.ym_counter_id
12
- ga_counter_id = opts[:ga_counter_id] || Settings.ga_counter_id
11
+ ym_counter_id = opts[:ym_counter_id] || Settings.ym_counter_id(default: '', kind: :string, title: 'Yandex Метрика ID').strip
12
+ ga_counter_id = opts[:ga_counter_id] || Settings.ga_counter_id(default: '', kind: :string, title: 'Google Analitics ID').strip
13
13
  ret << enjoy_ym_counter_tag(ym_counter_id) unless ym_counter_id.blank?
14
14
  ret << enjoy_ga_counter_tag(ga_counter_id) unless ga_counter_id.blank?
15
15
  ret.join
@@ -30,12 +30,8 @@ Gem::Specification.new do |spec|
30
30
  spec.add_development_dependency "bundler", "~> 1.10"
31
31
  spec.add_development_dependency "rake", "~> 10.0"
32
32
 
33
- spec.add_dependency 'enjoy_cms', "~> 0.4.0.beta1"
33
+ spec.add_dependency 'enjoy_cms', "~> 0.4.0"
34
34
 
35
35
  spec.add_dependency "sitemap_generator"
36
36
  spec.add_dependency "rails_admin_sitemap"
37
-
38
- spec.add_dependency "image_optim"
39
- spec.add_dependency "paperclip-optimizer"
40
-
41
37
  end
@@ -1,5 +1,5 @@
1
1
  module Enjoy
2
2
  module Seo
3
- VERSION = "0.4.0.beta3"
3
+ VERSION = "0.4.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enjoy_cms_seo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0.beta3
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Kiseliev
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-07-04 00:00:00.000000000 Z
11
+ date: 2016-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.4.0.beta1
47
+ version: 0.4.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.4.0.beta1
54
+ version: 0.4.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: sitemap_generator
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -80,34 +80,6 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: image_optim
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :runtime
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: paperclip-optimizer
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :runtime
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
83
  description: 'enjoy_cms_seo '
112
84
  email:
113
85
  - dev@enjoycreate.ru
@@ -170,9 +142,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
170
142
  version: '0'
171
143
  required_rubygems_version: !ruby/object:Gem::Requirement
172
144
  requirements:
173
- - - ">"
145
+ - - ">="
174
146
  - !ruby/object:Gem::Version
175
- version: 1.3.1
147
+ version: '0'
176
148
  requirements: []
177
149
  rubyforge_project:
178
150
  rubygems_version: 2.5.1