Skip to content

Commit

Permalink
remove railtie
Browse files Browse the repository at this point in the history
  • Loading branch information
phoet committed Mar 11, 2012
1 parent 98e6b52 commit 6b1a614
Show file tree
Hide file tree
Showing 9 changed files with 64 additions and 53 deletions.
1 change: 0 additions & 1 deletion .gitignore
@@ -1,5 +1,4 @@
*.gem
*.zip
.bundle
Gemfile.lock
pkg/*
4 changes: 4 additions & 0 deletions CHANGELOG.rdoc
@@ -1,3 +1,7 @@
== next

* remove rails railtie

== 0.4.1

* remove direct httpclient dependency
Expand Down
57 changes: 57 additions & 0 deletions Gemfile.lock
@@ -0,0 +1,57 @@
PATH
remote: .
specs:
karotz (0.4.1)
crack (~> 0.3)
httpi (~> 0.9)

GEM
remote: http://rubygems.org/
specs:
addressable (2.2.7)
coderay (1.0.5)
crack (0.3.1)
diff-lcs (1.1.3)
ffi (1.0.11)
guard (1.0.1)
ffi (>= 0.5.0)
thor (~> 0.14.6)
guard-rspec (0.6.0)
guard (>= 0.10.0)
httpclient (2.2.4)
httpi (0.9.6)
rack
method_source (0.7.1)
pry (0.9.8.4)
coderay (~> 1.0.5)
method_source (~> 0.7.1)
slop (>= 2.4.4, < 3)
rack (1.4.1)
rake (0.9.2.2)
rspec (2.8.0)
rspec-core (~> 2.8.0)
rspec-expectations (~> 2.8.0)
rspec-mocks (~> 2.8.0)
rspec-core (2.8.0)
rspec-expectations (2.8.0)
diff-lcs (~> 1.1.2)
rspec-mocks (2.8.0)
slop (2.4.4)
thor (0.14.6)
vcr (1.11.3)
webmock (1.8.2)
addressable (>= 2.2.7)
crack (>= 0.1.7)

PLATFORMS
ruby

DEPENDENCIES
guard-rspec
httpclient (~> 2.2)
karotz!
pry
rake
rspec
vcr (= 1.11.3)
webmock
9 changes: 0 additions & 9 deletions README.rdoc
Expand Up @@ -61,15 +61,6 @@ via Bundler:
[...]
karotz.stop

== Railtie

The gem comes with two example Rake tasks, that are automatically included into your Rails application:

rake karotz:build:failed
rake karotz:build:normal

Both Tasks are examples of how you could use your Karotz in a CI system like Jenkins.

== Changes

See CHANGELOG file.
Expand Down
3 changes: 1 addition & 2 deletions karotz.gemspec
Expand Up @@ -17,14 +17,13 @@ Gem::Specification.new do |s|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]

s.add_development_dependency "rails", "~> 3.0"
s.add_development_dependency "httpclient", "~> 2.2"
s.add_development_dependency "rake"
s.add_development_dependency "pry"
s.add_development_dependency "guard-rspec"
s.add_development_dependency "rspec"
s.add_development_dependency "webmock"
s.add_development_dependency "vcr"
s.add_development_dependency "vcr", "1.11.3"

s.add_runtime_dependency "httpi", "~> 0.9"
s.add_runtime_dependency "crack", "~> 0.3"
Expand Down
2 changes: 0 additions & 2 deletions lib/karotz.rb
Expand Up @@ -4,5 +4,3 @@
require "karotz/color"
require "karotz/language"
require "karotz/client"

require "karotz/rails/railtie.rb" if defined?(Rails)
2 changes: 2 additions & 0 deletions lib/karotz/client.rb
Expand Up @@ -57,6 +57,8 @@ def tts(interactive_id, params={})
request :tts, interactive_id, {:action => :speak, :text => "test", :lang => Language::ENGLISH}.merge(params)
end
alias :speak :tts
alias :say :tts
alias :talk :tts

#============ASR================

Expand Down
30 changes: 0 additions & 30 deletions lib/karotz/rails/karotz.rake

This file was deleted.

9 changes: 0 additions & 9 deletions lib/karotz/rails/railtie.rb

This file was deleted.

0 comments on commit 6b1a614

Please sign in to comment.