rack_clicky 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +13 -2
- data/VERSION +1 -1
- data/rack_clicky.gemspec +54 -0
- metadata +4 -3
data/README.rdoc
CHANGED
@@ -1,6 +1,17 @@
|
|
1
|
-
=
|
1
|
+
= Rack::Clicky
|
2
2
|
|
3
|
-
|
3
|
+
Rack Middleware to embed the Clicky (http://www.getclicky.com) tracking code.
|
4
|
+
|
5
|
+
== Usage
|
6
|
+
gem install rack_clicky
|
7
|
+
require 'rack_clicky'
|
8
|
+
use Rack::Clicky, '000000'
|
9
|
+
app = lambda { |env| [200, { 'Content-Type' => 'text/html' }, '<html><body><p>Awesome Body</p></body></html>'] }
|
10
|
+
run app
|
11
|
+
|
12
|
+
== TODO
|
13
|
+
* It probably wouldn't hurt to have more tests.
|
14
|
+
* Add support for embedding the asynchronous tracking code.
|
4
15
|
|
5
16
|
== Note on Patches/Pull Requests
|
6
17
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1
|
data/rack_clicky.gemspec
ADDED
@@ -0,0 +1,54 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{rack_clicky}
|
8
|
+
s.version = "1.0.1"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Mark Turner"]
|
12
|
+
s.date = %q{2010-06-29}
|
13
|
+
s.description = %q{Embeds the Clicky tracking code at the end of your HTML}
|
14
|
+
s.email = %q{mark@amerine.net}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE",
|
17
|
+
"README.rdoc"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".document",
|
21
|
+
".gitignore",
|
22
|
+
"LICENSE",
|
23
|
+
"README.rdoc",
|
24
|
+
"Rakefile",
|
25
|
+
"VERSION",
|
26
|
+
"lib/rack_clicky.rb",
|
27
|
+
"rack_clicky.gemspec",
|
28
|
+
"test/helper.rb",
|
29
|
+
"test/test_rack_clicky.rb"
|
30
|
+
]
|
31
|
+
s.homepage = %q{http://github.com/amerine/rack_clicky}
|
32
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
33
|
+
s.require_paths = ["lib"]
|
34
|
+
s.rubygems_version = %q{1.3.7}
|
35
|
+
s.summary = %q{Clicky Analytics for your Rack Apps}
|
36
|
+
s.test_files = [
|
37
|
+
"test/helper.rb",
|
38
|
+
"test/test_rack_clicky.rb"
|
39
|
+
]
|
40
|
+
|
41
|
+
if s.respond_to? :specification_version then
|
42
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
43
|
+
s.specification_version = 3
|
44
|
+
|
45
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
46
|
+
s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
47
|
+
else
|
48
|
+
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
49
|
+
end
|
50
|
+
else
|
51
|
+
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack_clicky
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 1
|
10
|
+
version: 1.0.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Mark Turner
|
@@ -49,6 +49,7 @@ files:
|
|
49
49
|
- Rakefile
|
50
50
|
- VERSION
|
51
51
|
- lib/rack_clicky.rb
|
52
|
+
- rack_clicky.gemspec
|
52
53
|
- test/helper.rb
|
53
54
|
- test/test_rack_clicky.rb
|
54
55
|
has_rdoc: true
|