simplekiss 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -40,9 +40,9 @@ If you want to turn off this behaviour, to stop polluting you stats with every p
40
40
 
41
41
 
42
42
  == TODO/Feedback
43
- * Tests: yeah, I know. Feel free to help me out here
43
+ * Tests: yeah, I know. Feel free to help me out here
44
44
 
45
45
 
46
46
  == Copyright
47
47
 
48
- Copyright (c) 2010 Jamie Lawrence. See LICENSE for details (MIT licence).
48
+ Copyright (c) 2010 Jamie Lawrence. See LICENSE for details (MIT licence).
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.2.0
@@ -1,8 +1,9 @@
1
1
  module SimpleKiss
2
2
  def kissmetrics(use_default = true)
3
- slug = CONFIG[controller_name][action_name]
3
+ controller_slugs = CONFIG[controller_name]
4
+ slug = controller_slugs[action_name] unless controller_slugs.nil?
4
5
  slug ||= "#{controller_name}/#{action_name}" if use_default
5
- apikey = CONFIG['apikey'] #"f07d00f8f9e6049d5c106a14612fa1614d4f3d40"
6
+ apikey = CONFIG['apikey']
6
7
 
7
8
  (slug) ?
8
9
  " <script type=\"text/javascript\">
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{simplekiss}
8
- s.version = "0.1.0"
8
+ s.version = "0.2.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jamie Lawrence"]
12
- s.date = %q{2010-02-19}
12
+ s.date = %q{2010-02-22}
13
13
  s.description = %q{A simple library which adds KISSMetrics javascript to your pages, based on a YAML config file}
14
14
  s.email = %q{jamie@shutterscouts.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simplekiss
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamie Lawrence
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-02-19 00:00:00 +00:00
12
+ date: 2010-02-22 00:00:00 +00:00
13
13
  default_executable:
14
14
  dependencies: []
15
15