hoptoad_notifier 2.3.3 → 2.3.4

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,10 @@
1
+ Version 2.3.4 - 2010-08-10
2
+ ===============================================================================
3
+
4
+ Tristan Dunn (1):
5
+ Only include the JS notifier in public environments.
6
+
7
+
1
8
  Version 2.3.3 - 2010-08-04
2
9
  ===============================================================================
3
10
 
@@ -183,3 +190,4 @@ Nick Quaranto (3):
183
190
 
184
191
 
185
192
 
193
+
@@ -8,6 +8,7 @@ module HoptoadNotifier
8
8
  private
9
9
 
10
10
  def insert_hoptoad_javascript_notifier
11
+ return unless HoptoadNotifier.configuration.public?
11
12
  return unless HoptoadNotifier.configuration.js_notifier
12
13
 
13
14
  path = File.join(File.dirname(__FILE__), '..', '..', 'templates', 'javascript_notifier.erb')
@@ -1,3 +1,3 @@
1
1
  module HoptoadNotifier
2
- VERSION = "2.3.3".freeze
2
+ VERSION = "2.3.4".freeze
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hoptoad_notifier
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 2
8
8
  - 3
9
- - 3
10
- version: 2.3.3
9
+ - 4
10
+ version: 2.3.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - thoughtbot, inc
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-08-04 00:00:00 -04:00
18
+ date: 2010-08-10 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency