keen 0.1.0 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. data/Gemfile +19 -0
  2. data/LICENSE.txt +20 -0
  3. data/README.md +20 -1
  4. data/Rakefile +48 -0
  5. data/VERSION.yml +5 -0
  6. data/ext/mkrf_conf.rb +16 -0
  7. data/features/add_event.feature +1 -1
  8. data/features/step_definitions/keen_steps.rb +1 -1
  9. data/features/support/env.rb +15 -0
  10. data/{keen.gemspec → keen.gemspec.old} +3 -9
  11. data/lib/keen/version.rb +18 -2
  12. metadata +124 -125
  13. data/.gitignore +0 -9
  14. data/examples/rails_2/.rvmrc +0 -2
  15. data/examples/rails_2/CoolForums/README +0 -243
  16. data/examples/rails_2/CoolForums/Rakefile +0 -10
  17. data/examples/rails_2/CoolForums/app/controllers/application_controller.rb +0 -33
  18. data/examples/rails_2/CoolForums/app/controllers/forums_controller.rb +0 -83
  19. data/examples/rails_2/CoolForums/app/controllers/users_controller.rb +0 -83
  20. data/examples/rails_2/CoolForums/app/helpers/application_helper.rb +0 -3
  21. data/examples/rails_2/CoolForums/app/helpers/forums_helper.rb +0 -2
  22. data/examples/rails_2/CoolForums/app/helpers/users_helper.rb +0 -2
  23. data/examples/rails_2/CoolForums/app/models/forum.rb +0 -2
  24. data/examples/rails_2/CoolForums/app/models/user.rb +0 -2
  25. data/examples/rails_2/CoolForums/app/views/forums/edit.html.erb +0 -16
  26. data/examples/rails_2/CoolForums/app/views/forums/index.html.erb +0 -20
  27. data/examples/rails_2/CoolForums/app/views/forums/new.html.erb +0 -15
  28. data/examples/rails_2/CoolForums/app/views/forums/show.html.erb +0 -8
  29. data/examples/rails_2/CoolForums/app/views/layouts/forums.html.erb +0 -17
  30. data/examples/rails_2/CoolForums/app/views/layouts/users.html.erb +0 -17
  31. data/examples/rails_2/CoolForums/app/views/users/edit.html.erb +0 -20
  32. data/examples/rails_2/CoolForums/app/views/users/index.html.erb +0 -22
  33. data/examples/rails_2/CoolForums/app/views/users/new.html.erb +0 -19
  34. data/examples/rails_2/CoolForums/app/views/users/show.html.erb +0 -13
  35. data/examples/rails_2/CoolForums/config/boot.rb +0 -114
  36. data/examples/rails_2/CoolForums/config/database.yml +0 -22
  37. data/examples/rails_2/CoolForums/config/environment.rb +0 -41
  38. data/examples/rails_2/CoolForums/config/environments/development.rb +0 -17
  39. data/examples/rails_2/CoolForums/config/environments/production.rb +0 -28
  40. data/examples/rails_2/CoolForums/config/environments/test.rb +0 -28
  41. data/examples/rails_2/CoolForums/config/initializers/backtrace_silencers.rb +0 -7
  42. data/examples/rails_2/CoolForums/config/initializers/cookie_verification_secret.rb +0 -7
  43. data/examples/rails_2/CoolForums/config/initializers/inflections.rb +0 -10
  44. data/examples/rails_2/CoolForums/config/initializers/mime_types.rb +0 -5
  45. data/examples/rails_2/CoolForums/config/initializers/new_rails_defaults.rb +0 -21
  46. data/examples/rails_2/CoolForums/config/initializers/session_store.rb +0 -15
  47. data/examples/rails_2/CoolForums/config/locales/en.yml +0 -5
  48. data/examples/rails_2/CoolForums/config/routes.rb +0 -53
  49. data/examples/rails_2/CoolForums/db/migrate/20120317012301_create_users.rb +0 -15
  50. data/examples/rails_2/CoolForums/db/migrate/20120317012444_create_forums.rb +0 -14
  51. data/examples/rails_2/CoolForums/db/schema.rb +0 -28
  52. data/examples/rails_2/CoolForums/db/seeds.rb +0 -7
  53. data/examples/rails_2/CoolForums/doc/README_FOR_APP +0 -2
  54. data/examples/rails_2/CoolForums/public/404.html +0 -30
  55. data/examples/rails_2/CoolForums/public/422.html +0 -30
  56. data/examples/rails_2/CoolForums/public/500.html +0 -30
  57. data/examples/rails_2/CoolForums/public/favicon.ico +0 -0
  58. data/examples/rails_2/CoolForums/public/images/rails.png +0 -0
  59. data/examples/rails_2/CoolForums/public/index.html +0 -275
  60. data/examples/rails_2/CoolForums/public/javascripts/application.js +0 -2
  61. data/examples/rails_2/CoolForums/public/javascripts/controls.js +0 -963
  62. data/examples/rails_2/CoolForums/public/javascripts/dragdrop.js +0 -973
  63. data/examples/rails_2/CoolForums/public/javascripts/effects.js +0 -1128
  64. data/examples/rails_2/CoolForums/public/javascripts/prototype.js +0 -4320
  65. data/examples/rails_2/CoolForums/public/robots.txt +0 -5
  66. data/examples/rails_2/CoolForums/public/stylesheets/scaffold.css +0 -54
  67. data/examples/rails_2/CoolForums/script/about +0 -4
  68. data/examples/rails_2/CoolForums/script/console +0 -3
  69. data/examples/rails_2/CoolForums/script/dbconsole +0 -3
  70. data/examples/rails_2/CoolForums/script/destroy +0 -3
  71. data/examples/rails_2/CoolForums/script/generate +0 -3
  72. data/examples/rails_2/CoolForums/script/performance/benchmarker +0 -3
  73. data/examples/rails_2/CoolForums/script/performance/profiler +0 -3
  74. data/examples/rails_2/CoolForums/script/plugin +0 -3
  75. data/examples/rails_2/CoolForums/script/runner +0 -3
  76. data/examples/rails_2/CoolForums/script/server +0 -3
  77. data/examples/rails_2/CoolForums/test/fixtures/forums.yml +0 -9
  78. data/examples/rails_2/CoolForums/test/fixtures/users.yml +0 -11
  79. data/examples/rails_2/CoolForums/test/functional/forums_controller_test.rb +0 -45
  80. data/examples/rails_2/CoolForums/test/functional/users_controller_test.rb +0 -45
  81. data/examples/rails_2/CoolForums/test/performance/browsing_test.rb +0 -9
  82. data/examples/rails_2/CoolForums/test/test_helper.rb +0 -38
  83. data/examples/rails_2/CoolForums/test/unit/forum_test.rb +0 -8
  84. data/examples/rails_2/CoolForums/test/unit/helpers/forums_helper_test.rb +0 -4
  85. data/examples/rails_2/CoolForums/test/unit/helpers/users_helper_test.rb +0 -4
  86. data/examples/rails_2/CoolForums/test/unit/user_test.rb +0 -8
  87. data/examples/rails_2/Gemfile +0 -5
  88. data/test/keen_spec.rb +0 -34
data/Gemfile ADDED
@@ -0,0 +1,19 @@
1
+ source "http://rubygems.org"
2
+ # Add dependencies required to use your gem here.
3
+ gem "json", ">= 1.6.5"
4
+ gem "redis"
5
+
6
+ # Add dependencies to develop your gem here.
7
+ # Include everything needed to run rake, tests, features, etc.
8
+ group :development do
9
+ gem "shoulda", ">= 0"
10
+ gem "rdoc", "~> 3.12"
11
+ gem "bundler", ">= 1.1.4"
12
+ gem "jeweler", "~> 1.8.3"
13
+ gem "rspec", ">= 2.9.0"
14
+ gem "cucumber", ">= 1.2.1"
15
+ end
16
+
17
+ if RUBY_VERSION =~ /^1\.8/
18
+ gem "system_timer"
19
+ end
data/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2012 dorkitude
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -4,4 +4,23 @@ Keen Ruby Client Library
4
4
  Usage
5
5
  -----
6
6
 
7
- TBD
7
+ `gem install keen`
8
+
9
+ (docs are on the way -- for now, see the Cucumber and Rspec stuff in /features/ for usage details)
10
+
11
+ Contributing to keen
12
+ --------------------
13
+
14
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
15
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
16
+ * Fork the project.
17
+ * Start a feature/bugfix branch.
18
+ * Commit and push until you are happy with your contribution.
19
+ * Make sure to add tests for it. This is important so we don't break it in a future version unintentionally. If at all possible, please use BDD principles to drive your feature development with Cucumber.
20
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
21
+
22
+ Copyright
23
+ ---------
24
+
25
+ Copyright (c) 2012 Keen Labs, Inc. See LICENSE.txt for further details.
26
+
data/Rakefile ADDED
@@ -0,0 +1,48 @@
1
+ # encoding: utf-8
2
+
3
+ require 'rubygems'
4
+ require 'bundler'
5
+ begin
6
+ Bundler.setup(:default, :development)
7
+ rescue Bundler::BundlerError => e
8
+ $stderr.puts e.message
9
+ $stderr.puts "Run `bundle install` to install missing gems"
10
+ exit e.status_code
11
+ end
12
+ require 'rake'
13
+
14
+ require 'jeweler'
15
+ Jeweler::Tasks.new do |gem|
16
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
+ gem.name = "keen"
18
+ gem.homepage = "http://github.com/dorkitude/keen"
19
+ gem.license = "MIT"
20
+ gem.summary = %Q{A library for batching and sending arbitrary events to the Keen API at http://keen.io}
21
+ gem.description = %Q{See the github repo or examples.rb for usage information.}
22
+ gem.email = "kyle@keen.io"
23
+ gem.authors = ["dorkitude"]
24
+ # dependencies defined in Gemfile
25
+ end
26
+ Jeweler::RubygemsDotOrgTasks.new
27
+
28
+ require 'rake/testtask'
29
+ Rake::TestTask.new(:test) do |test|
30
+ test.libs << 'lib' << 'test'
31
+ test.pattern = 'test/**/test_*.rb'
32
+ test.verbose = true
33
+ end
34
+
35
+ require 'cucumber/rake/task'
36
+ Cucumber::Rake::Task.new(:features)
37
+
38
+ task :default => :test
39
+
40
+ require 'rdoc/task'
41
+ Rake::RDocTask.new do |rdoc|
42
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
43
+
44
+ rdoc.rdoc_dir = 'rdoc'
45
+ rdoc.title = "keen #{version}"
46
+ rdoc.rdoc_files.include('README*')
47
+ rdoc.rdoc_files.include('lib/**/*.rb')
48
+ end
data/VERSION.yml ADDED
@@ -0,0 +1,5 @@
1
+ ---
2
+ :minor: 1
3
+ :build:
4
+ :patch: 3
5
+ :major: 0
data/ext/mkrf_conf.rb ADDED
@@ -0,0 +1,16 @@
1
+ require "rubygems/dependency_installer.rb"
2
+
3
+ begin
4
+ Gem::Command.build_args = ARGV
5
+ rescue NoMethodError
6
+ end
7
+
8
+ inst = Gem::DependencyInstaller.new
9
+
10
+ begin
11
+ if RUBY_VERSION < "1.9"
12
+ inst.install "system_timer", "=> 1.2.4"
13
+ end
14
+ rescue
15
+ exit(1)
16
+ end
@@ -5,6 +5,6 @@ Feature: AddEvent
5
5
  I want to be able to post an event to the Keen Client as a Hash/Dictionary
6
6
 
7
7
  Scenario: Send Event directly to Keen
8
- Given a Keen Client using Direct
8
+ Given a Keen Client in Direct Send mode
9
9
  When I post an event
10
10
  Then the response from the server should be good.
@@ -15,7 +15,7 @@ Given /^a Keen Client using Redis$/ do
15
15
  @starting_queue_size = @client.storage_handler.count_active_queue
16
16
  end
17
17
 
18
- Given /^a Keen Client using Direct$/ do
18
+ Given /^a Keen Client in Direct Send mode$/ do
19
19
  @client = Keen::Client.new(@project_id,
20
20
  @auth_token,
21
21
  :cache_locally => false,
@@ -0,0 +1,15 @@
1
+ require 'bundler'
2
+ begin
3
+ Bundler.setup(:default, :development)
4
+ rescue Bundler::BundlerError => e
5
+ $stderr.puts e.message
6
+ $stderr.puts "Run `bundle install` to install missing gems"
7
+ exit e.status_code
8
+ end
9
+
10
+ $LOAD_PATH.unshift(File.dirname(__FILE__) + '/../../lib')
11
+ require 'keen'
12
+
13
+ require 'test/unit/assertions'
14
+
15
+ World(Test::Unit::Assertions)
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
8
8
  s.authors = ["Kyle Wild"]
9
9
  s.email = ["kyle@keen.io"]
10
10
  s.homepage = "https://github.com/keenlabs/KeenClient-Ruby"
11
- s.summary = "A library for sending events to the keen.io API."
11
+ s.summary = "A library for batching and sending arbitrary events to the Keen API at http://keen.io"
12
12
  s.description = "See the github repo or examples.rb for usage information."
13
13
 
14
14
  s.rubyforge_project = "keen"
@@ -16,21 +16,15 @@ Gem::Specification.new do |s|
16
16
  s.files = `git ls-files`.split("\n")
17
17
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
18
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
+ s.extensions = ["ext/mkrf_conf.rb"]
19
20
  s.require_paths = ["lib"]
20
21
 
21
22
  # specify any dependencies here; for example:
22
23
  # s.add_development_dependency "rspec"
23
24
  # s.add_runtime_dependency "rest-client"
24
25
 
25
- s.add_dependency('json', '>= 1.6.5')
26
- s.add_dependency('rspec', '>= 2.9.0')
27
- s.add_dependency('cucumber', '>= 1.2.1')
28
26
 
29
27
  # This is no longer necessary, since we support several storage modes now:
30
- # s.add_dependency('redis', '>= 2.2.2')
31
-
32
- if RUBY_VERSION < "1.9"
33
- s.add_dependency('system_timer', '>= 1.2.4')
34
- end
28
+ # s.add_dependency("redis", ">= 2.2.2")
35
29
 
36
30
  end
data/lib/keen/version.rb CHANGED
@@ -1,3 +1,19 @@
1
- module Keen
2
- VERSION = "0.1.0"
1
+ require 'keen'
2
+ require 'yaml'
3
+
4
+ # parse VERSION.yml
5
+ yaml_path = File.join(File.expand_path(File.dirname(__FILE__)), '..', '..', 'VERSION.yml')
6
+ version_info = File.open( yaml_path ) { |file| YAML::load( file ) }
7
+
8
+ # build the version string
9
+ version_string = ""
10
+ version_string += "#{version_info[:major]}"
11
+ version_string += "#{version_info[:minor]}"
12
+ version_string += "#{version_info[:patch]}"
13
+
14
+ if version_info[:build]
15
+ version_string += "#{version_info[:build]}"
3
16
  end
17
+
18
+ # set the constant
19
+ Keen::VERSION = version_string
metadata CHANGED
@@ -1,27 +1,28 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keen
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
- - Kyle Wild
13
+ - dorkitude
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-06-17 00:00:00 -07:00
19
- default_executable:
18
+ date: 2012-06-19 00:00:00 -07:00
19
+ default_executable: keen_send
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
- name: json
23
22
  prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
23
+ name: json
24
+ type: :runtime
25
+ version_requirements: &id001 !ruby/object:Gem::Requirement
25
26
  none: false
26
27
  requirements:
27
28
  - - ">="
@@ -32,151 +33,154 @@ dependencies:
32
33
  - 6
33
34
  - 5
34
35
  version: 1.6.5
35
- type: :runtime
36
- version_requirements: *id001
36
+ requirement: *id001
37
37
  - !ruby/object:Gem::Dependency
38
- name: rspec
39
38
  prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
39
+ name: redis
40
+ type: :runtime
41
+ version_requirements: &id002 !ruby/object:Gem::Requirement
41
42
  none: false
42
43
  requirements:
43
44
  - - ">="
44
45
  - !ruby/object:Gem::Version
45
- hash: 43
46
+ hash: 3
46
47
  segments:
47
- - 2
48
- - 9
49
48
  - 0
50
- version: 2.9.0
49
+ version: "0"
50
+ requirement: *id002
51
+ - !ruby/object:Gem::Dependency
52
+ prerelease: false
53
+ name: system_timer
51
54
  type: :runtime
52
- version_requirements: *id002
55
+ version_requirements: &id003 !ruby/object:Gem::Requirement
56
+ none: false
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ hash: 3
61
+ segments:
62
+ - 0
63
+ version: "0"
64
+ requirement: *id003
53
65
  - !ruby/object:Gem::Dependency
54
- name: cucumber
55
66
  prerelease: false
56
- requirement: &id003 !ruby/object:Gem::Requirement
67
+ name: shoulda
68
+ type: :development
69
+ version_requirements: &id004 !ruby/object:Gem::Requirement
57
70
  none: false
58
71
  requirements:
59
72
  - - ">="
60
73
  - !ruby/object:Gem::Version
61
- hash: 29
74
+ hash: 3
75
+ segments:
76
+ - 0
77
+ version: "0"
78
+ requirement: *id004
79
+ - !ruby/object:Gem::Dependency
80
+ prerelease: false
81
+ name: rdoc
82
+ type: :development
83
+ version_requirements: &id005 !ruby/object:Gem::Requirement
84
+ none: false
85
+ requirements:
86
+ - - ~>
87
+ - !ruby/object:Gem::Version
88
+ hash: 31
89
+ segments:
90
+ - 3
91
+ - 12
92
+ version: "3.12"
93
+ requirement: *id005
94
+ - !ruby/object:Gem::Dependency
95
+ prerelease: false
96
+ name: bundler
97
+ type: :development
98
+ version_requirements: &id006 !ruby/object:Gem::Requirement
99
+ none: false
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ hash: 27
62
104
  segments:
63
105
  - 1
64
- - 2
65
106
  - 1
66
- version: 1.2.1
67
- type: :runtime
68
- version_requirements: *id003
107
+ - 4
108
+ version: 1.1.4
109
+ requirement: *id006
110
+ - !ruby/object:Gem::Dependency
111
+ prerelease: false
112
+ name: jeweler
113
+ type: :development
114
+ version_requirements: &id007 !ruby/object:Gem::Requirement
115
+ none: false
116
+ requirements:
117
+ - - ~>
118
+ - !ruby/object:Gem::Version
119
+ hash: 49
120
+ segments:
121
+ - 1
122
+ - 8
123
+ - 3
124
+ version: 1.8.3
125
+ requirement: *id007
126
+ - !ruby/object:Gem::Dependency
127
+ prerelease: false
128
+ name: rspec
129
+ type: :development
130
+ version_requirements: &id008 !ruby/object:Gem::Requirement
131
+ none: false
132
+ requirements:
133
+ - - ">="
134
+ - !ruby/object:Gem::Version
135
+ hash: 43
136
+ segments:
137
+ - 2
138
+ - 9
139
+ - 0
140
+ version: 2.9.0
141
+ requirement: *id008
69
142
  - !ruby/object:Gem::Dependency
70
- name: system_timer
71
143
  prerelease: false
72
- requirement: &id004 !ruby/object:Gem::Requirement
144
+ name: cucumber
145
+ type: :development
146
+ version_requirements: &id009 !ruby/object:Gem::Requirement
73
147
  none: false
74
148
  requirements:
75
149
  - - ">="
76
150
  - !ruby/object:Gem::Version
77
- hash: 23
151
+ hash: 29
78
152
  segments:
79
153
  - 1
80
154
  - 2
81
- - 4
82
- version: 1.2.4
83
- type: :runtime
84
- version_requirements: *id004
155
+ - 1
156
+ version: 1.2.1
157
+ requirement: *id009
85
158
  description: See the github repo or examples.rb for usage information.
86
- email:
87
- - kyle@keen.io
159
+ email: kyle@keen.io
88
160
  executables:
89
161
  - keen_send
90
- extensions: []
91
-
92
- extra_rdoc_files: []
93
-
162
+ extensions:
163
+ - ext/mkrf_conf.rb
164
+ extra_rdoc_files:
165
+ - LICENSE.txt
166
+ - README.md
94
167
  files:
95
- - .gitignore
96
168
  - .rvmrc
169
+ - Gemfile
170
+ - LICENSE.txt
97
171
  - README.md
172
+ - Rakefile
173
+ - VERSION.yml
98
174
  - bin/keen_send
99
175
  - conf/cacert.pem
100
176
  - examples.rb
101
- - examples/rails_2/.rvmrc
102
- - examples/rails_2/CoolForums/README
103
- - examples/rails_2/CoolForums/Rakefile
104
- - examples/rails_2/CoolForums/app/controllers/application_controller.rb
105
- - examples/rails_2/CoolForums/app/controllers/forums_controller.rb
106
- - examples/rails_2/CoolForums/app/controllers/users_controller.rb
107
- - examples/rails_2/CoolForums/app/helpers/application_helper.rb
108
- - examples/rails_2/CoolForums/app/helpers/forums_helper.rb
109
- - examples/rails_2/CoolForums/app/helpers/users_helper.rb
110
- - examples/rails_2/CoolForums/app/models/forum.rb
111
- - examples/rails_2/CoolForums/app/models/user.rb
112
- - examples/rails_2/CoolForums/app/views/forums/edit.html.erb
113
- - examples/rails_2/CoolForums/app/views/forums/index.html.erb
114
- - examples/rails_2/CoolForums/app/views/forums/new.html.erb
115
- - examples/rails_2/CoolForums/app/views/forums/show.html.erb
116
- - examples/rails_2/CoolForums/app/views/layouts/forums.html.erb
117
- - examples/rails_2/CoolForums/app/views/layouts/users.html.erb
118
- - examples/rails_2/CoolForums/app/views/users/edit.html.erb
119
- - examples/rails_2/CoolForums/app/views/users/index.html.erb
120
- - examples/rails_2/CoolForums/app/views/users/new.html.erb
121
- - examples/rails_2/CoolForums/app/views/users/show.html.erb
122
- - examples/rails_2/CoolForums/config/boot.rb
123
- - examples/rails_2/CoolForums/config/database.yml
124
- - examples/rails_2/CoolForums/config/environment.rb
125
- - examples/rails_2/CoolForums/config/environments/development.rb
126
- - examples/rails_2/CoolForums/config/environments/production.rb
127
- - examples/rails_2/CoolForums/config/environments/test.rb
128
- - examples/rails_2/CoolForums/config/initializers/backtrace_silencers.rb
129
- - examples/rails_2/CoolForums/config/initializers/cookie_verification_secret.rb
130
- - examples/rails_2/CoolForums/config/initializers/inflections.rb
131
- - examples/rails_2/CoolForums/config/initializers/mime_types.rb
132
- - examples/rails_2/CoolForums/config/initializers/new_rails_defaults.rb
133
- - examples/rails_2/CoolForums/config/initializers/session_store.rb
134
- - examples/rails_2/CoolForums/config/locales/en.yml
135
- - examples/rails_2/CoolForums/config/routes.rb
136
- - examples/rails_2/CoolForums/db/migrate/20120317012301_create_users.rb
137
- - examples/rails_2/CoolForums/db/migrate/20120317012444_create_forums.rb
138
- - examples/rails_2/CoolForums/db/schema.rb
139
- - examples/rails_2/CoolForums/db/seeds.rb
140
- - examples/rails_2/CoolForums/doc/README_FOR_APP
141
- - examples/rails_2/CoolForums/public/404.html
142
- - examples/rails_2/CoolForums/public/422.html
143
- - examples/rails_2/CoolForums/public/500.html
144
- - examples/rails_2/CoolForums/public/favicon.ico
145
- - examples/rails_2/CoolForums/public/images/rails.png
146
- - examples/rails_2/CoolForums/public/index.html
147
- - examples/rails_2/CoolForums/public/javascripts/application.js
148
- - examples/rails_2/CoolForums/public/javascripts/controls.js
149
- - examples/rails_2/CoolForums/public/javascripts/dragdrop.js
150
- - examples/rails_2/CoolForums/public/javascripts/effects.js
151
- - examples/rails_2/CoolForums/public/javascripts/prototype.js
152
- - examples/rails_2/CoolForums/public/robots.txt
153
- - examples/rails_2/CoolForums/public/stylesheets/scaffold.css
154
- - examples/rails_2/CoolForums/script/about
155
- - examples/rails_2/CoolForums/script/console
156
- - examples/rails_2/CoolForums/script/dbconsole
157
- - examples/rails_2/CoolForums/script/destroy
158
- - examples/rails_2/CoolForums/script/generate
159
- - examples/rails_2/CoolForums/script/performance/benchmarker
160
- - examples/rails_2/CoolForums/script/performance/profiler
161
- - examples/rails_2/CoolForums/script/plugin
162
- - examples/rails_2/CoolForums/script/runner
163
- - examples/rails_2/CoolForums/script/server
164
- - examples/rails_2/CoolForums/test/fixtures/forums.yml
165
- - examples/rails_2/CoolForums/test/fixtures/users.yml
166
- - examples/rails_2/CoolForums/test/functional/forums_controller_test.rb
167
- - examples/rails_2/CoolForums/test/functional/users_controller_test.rb
168
- - examples/rails_2/CoolForums/test/performance/browsing_test.rb
169
- - examples/rails_2/CoolForums/test/test_helper.rb
170
- - examples/rails_2/CoolForums/test/unit/forum_test.rb
171
- - examples/rails_2/CoolForums/test/unit/helpers/forums_helper_test.rb
172
- - examples/rails_2/CoolForums/test/unit/helpers/users_helper_test.rb
173
- - examples/rails_2/CoolForums/test/unit/user_test.rb
174
- - examples/rails_2/Gemfile
177
+ - ext/mkrf_conf.rb
175
178
  - features/add_event.feature
176
179
  - features/redis_queue.feature
177
180
  - features/step_definitions/keen_steps.rb
178
181
  - features/support/before_and_after.rb
179
- - keen.gemspec
182
+ - features/support/env.rb
183
+ - keen.gemspec.old
180
184
  - lib/keen.rb
181
185
  - lib/keen/async.rb
182
186
  - lib/keen/async/job.rb
@@ -190,11 +194,10 @@ files:
190
194
  - lib/keen/utils.rb
191
195
  - lib/keen/version.rb
192
196
  - send.rb
193
- - test/keen_spec.rb
194
197
  has_rdoc: true
195
- homepage: https://github.com/keenlabs/KeenClient-Ruby
196
- licenses: []
197
-
198
+ homepage: http://github.com/dorkitude/keen
199
+ licenses:
200
+ - MIT
198
201
  post_install_message:
199
202
  rdoc_options: []
200
203
 
@@ -220,14 +223,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
220
223
  version: "0"
221
224
  requirements: []
222
225
 
223
- rubyforge_project: keen
226
+ rubyforge_project:
224
227
  rubygems_version: 1.4.2
225
228
  signing_key:
226
229
  specification_version: 3
227
- summary: A library for sending events to the keen.io API.
228
- test_files:
229
- - features/add_event.feature
230
- - features/redis_queue.feature
231
- - features/step_definitions/keen_steps.rb
232
- - features/support/before_and_after.rb
233
- - test/keen_spec.rb
230
+ summary: A library for batching and sending arbitrary events to the Keen API at http://keen.io
231
+ test_files: []
232
+
data/.gitignore DELETED
@@ -1,9 +0,0 @@
1
- *~
2
- *.swp
3
- .DS_Store
4
- Gemfile.lock
5
- examples/rails_2/CoolForums/db/*.sqlite3
6
- examples/rails_2/CoolForums/doc/api
7
- examples/rails_2/CoolForums/doc/app
8
- examples/rails_2/CoolForums/log/*.log
9
- examples/rails_2/CoolForums/tmp/**/*
@@ -1,2 +0,0 @@
1
- rvm ruby-1.8.7-p330@rails2example
2
-