bushido 0.0.30 → 0.0.31

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. data/Gemfile +1 -5
  2. data/Rakefile +3 -6
  3. data/app/controllers/bushido/data_controller.rb +19 -10
  4. data/app/controllers/bushido/envs_controller.rb +3 -11
  5. data/config/routes.rb +1 -0
  6. data/lib/bushido/data.rb +4 -25
  7. data/lib/bushido/middleware.rb +1 -3
  8. data/lib/bushido/models.rb +8 -93
  9. data/lib/bushido/version.rb +1 -1
  10. data/lib/bushido.rb +0 -2
  11. data/lib/engine.rb +8 -5
  12. data/test/executable_test.rb +10 -0
  13. data/test/routes_test.rb +12 -0
  14. data/test/test_helper.rb +1 -2
  15. metadata +59 -134
  16. data/lib/bushido/ido_schema.rb +0 -17
  17. data/lib/rails/#routes.rb# +0 -16
  18. data/test/controllers/envs_controller_test.rb +0 -21
  19. data/test/rails_app/Rakefile +0 -9
  20. data/test/rails_app/app/controllers/application_controller.rb +0 -7
  21. data/test/rails_app/app/helpers/application_helper.rb +0 -2
  22. data/test/rails_app/app/views/application/index.html.erb +0 -1
  23. data/test/rails_app/app/views/layouts/application.html.erb +0 -14
  24. data/test/rails_app/config/application.rb +0 -50
  25. data/test/rails_app/config/boot.rb +0 -10
  26. data/test/rails_app/config/database.yml +0 -22
  27. data/test/rails_app/config/environment.rb +0 -5
  28. data/test/rails_app/config/environments/development.rb +0 -26
  29. data/test/rails_app/config/environments/production.rb +0 -49
  30. data/test/rails_app/config/environments/test.rb +0 -35
  31. data/test/rails_app/config/initializers/backtrace_silencers.rb +0 -7
  32. data/test/rails_app/config/initializers/inflections.rb +0 -10
  33. data/test/rails_app/config/initializers/mime_types.rb +0 -5
  34. data/test/rails_app/config/initializers/secret_token.rb +0 -7
  35. data/test/rails_app/config/initializers/session_store.rb +0 -8
  36. data/test/rails_app/config/locales/en.yml +0 -5
  37. data/test/rails_app/config/routes.rb +0 -62
  38. data/test/rails_app/config.ru +0 -4
  39. data/test/rails_app/db/development.sqlite3 +0 -0
  40. data/test/rails_app/db/test.sqlite3 +0 -0
  41. data/test/rails_app/log/development.log +0 -66
  42. data/test/rails_app/log/production.log +0 -0
  43. data/test/rails_app/log/server.log +0 -0
  44. data/test/rails_app/log/test.log +0 -0
  45. data/test/rails_app/public/404.html +0 -26
  46. data/test/rails_app/public/422.html +0 -26
  47. data/test/rails_app/public/500.html +0 -26
  48. data/test/rails_app/public/favicon.ico +0 -0
  49. data/test/rails_app/public/javascripts/application.js +0 -2
  50. data/test/rails_app/public/javascripts/controls.js +0 -965
  51. data/test/rails_app/public/javascripts/dragdrop.js +0 -974
  52. data/test/rails_app/public/javascripts/effects.js +0 -1123
  53. data/test/rails_app/public/javascripts/prototype.js +0 -6001
  54. data/test/rails_app/public/javascripts/rails.js +0 -191
  55. data/test/rails_app/public/stylesheets/.gitkeep +0 -0
  56. data/test/rails_app/script/rails +0 -6
data/Gemfile CHANGED
@@ -21,8 +21,4 @@ platforms :ruby do
21
21
  # gem "mongoid", "2.0.1"
22
22
  # gem "bson_ext", "~> 1.3.0"
23
23
  # end
24
- end
25
-
26
- group :development do
27
- gem 'ci_reporter'
28
- end
24
+ end
data/Rakefile CHANGED
@@ -1,15 +1,12 @@
1
1
  require 'rake/testtask'
2
2
  require 'bundler'
3
- require 'ci/reporter/rake/test_unit'
4
-
5
3
  Bundler::GemHelper.install_tasks
6
4
 
7
5
  task :default => :test
8
6
 
9
7
  desc "Run bushido tests"
10
8
  Rake::TestTask.new(:test) do |t|
11
- t.libs << 'lib'
12
- t.libs << 'test'
13
- t.pattern = 'test/**/*_test.rb'
9
+ t.libs += ["lib", "test"]
10
+ t.test_files = FileList['test/*_test.rb']
14
11
  t.verbose = true
15
- end
12
+ end
@@ -1,9 +1,9 @@
1
1
  module Bushido
2
2
  class DataController < ApplicationController
3
-
3
+
4
4
  # POST /bushido/data/
5
5
  def index
6
- @key = params.delete(:key)
6
+ @key = params.delete("key")
7
7
  if ENV["BUSHIDO_APP_KEY"] != @key
8
8
  respond_to do |format|
9
9
  format.html { render :layout => false, :text => true, :status => :forbidden }
@@ -11,14 +11,23 @@ module Bushido
11
11
  return
12
12
  end
13
13
  end
14
-
15
- puts "OMG GOT DATA FROM BUSHIBUS"
16
- puts params.inspect
17
- puts params[:category].inspect
18
- Bushido::Data.fire(params, "#{params[:category]}.#{params[:event]}")
19
- respond_to do |format|
20
- format.json {render :json => {'acknowledged' => true}, :status => 200}
21
- end
14
+
15
+ puts "Bushibus Data rec'd"
16
+ puts params.inspect
17
+ puts params["category"].inspect
18
+
19
+ hook_data = {}
20
+ hook_data["category"] = params["category"]
21
+ hook_data["event"] = params["event"]
22
+ hook_data["data"] = params["data"]
23
+
24
+ puts "Firing with: #{hook_data.inspect}"
25
+
26
+ Bushido::Data.fire(hook_data, "#{params['category']}.#{params['event']}")
27
+
28
+ respond_to do |format|
29
+ format.json {render :json => {'acknowledged' => true}, :status => 200}
30
+ end
22
31
  end
23
32
  end
24
33
  end
@@ -2,11 +2,7 @@ module Bushido
2
2
  class EnvsController < ApplicationController
3
3
  # PUT /bushido/envs/:id
4
4
  def update
5
- logger.info "Updating ENV vars!"
6
- logger.info "params: #{params.inspect}"
7
-
8
- if Bushido::Platform.key != params[:key] or params[:id] == Bushido::Platform.key
9
- logger.info "key didn't match! #{Bushido::Platform.key} != #{params[:key]}"
5
+ if ENV["BUSHIDO_KEY"] != params[:key] or params[:id] == "BUSHIDO_KEY"
10
6
  respond_to do |format|
11
7
  format.html { render :layout => false, :text => true, :status => :forbidden }
12
8
  format.json { render :status => :unprocessable_entity }
@@ -14,20 +10,16 @@ module Bushido
14
10
  end
15
11
  end
16
12
 
17
- logger.info "next: #{params[:id]} = #{ENV[params[:id]]}"
18
-
19
13
  ENV[params[:id]] = params[:value]
20
14
  @value = ENV[params[:id]]
21
-
22
- logger.info "next: #{params[:id]} = #{ENV[params[:id]]}"
23
-
15
+
24
16
  respond_to do |format|
25
17
  if @value != ENV[params[:id]]
26
18
  format.html{render :layout => false, :text => true, :status => :unprocessable_entity}
27
19
  format.json{render :status => :unprocessable_entity}
28
20
  else
29
21
  puts "Firing update hooks method from controller"
30
- Bushido::Envs.fire(params[:id], {params[:id] => ENV[params[:id]]})
22
+ Bushido::Hooks.fire(params[:id], {params[:id] => ENV[params[:id]]})
31
23
  format.html{render :text => true}
32
24
  format.json{render :json => {params[:id] => ENV[params[:id]]}}
33
25
  end
data/config/routes.rb ADDED
@@ -0,0 +1 @@
1
+
data/lib/bushido/data.rb CHANGED
@@ -9,41 +9,20 @@ module Bushido
9
9
  # register the hooks, and this does that.
10
10
  end
11
11
 
12
- def bushido_data(model, model_data)
13
- puts "prepping publish data..."
12
+
13
+ def publish(model, model_data)
14
+ # POST to /apps/:id/bus
14
15
  data = {}
15
16
  data[:key] = Bushido::Platform.key
16
17
 
17
-
18
18
  data["data"] = model_data
19
- puts data.inspect
20
19
  data["data"]["ido_model"] = model
21
20
  puts "Publishing Ido model"
22
21
  puts data.to_json
23
22
  puts Bushido::Platform.publish_url
24
23
 
25
- return data
26
- end
27
-
28
-
29
- def publish(model, model_data, verb=:post)
30
- puts "in the Data::Publish method"
31
- # POST to /apps/:id/bus
32
- data = bushido_data(model, model_data)
33
-
34
- puts "got the data"
35
- url = Bushido::Platform.publish_url
36
- puts "url: #{url} , verb #{verb}"
37
-
38
- if verb == :delete
39
- verb = :put
40
- url += "/#{data['data']['ido_id']}"
41
- end
42
-
43
- puts "Publishing to: #{url}"
44
-
45
24
  # TODO: Catch non-200 response code
46
- response = JSON.parse(RestClient.send(verb, url, data.to_json, :content_type => :json, :accept => :json))
25
+ response = JSON.parse(RestClient.post(Bushido::Platform.publish_url, data.to_json, :content_type => :json, :accept => :json))
47
26
  if response['ido_id'].nil? or response['ido_version'].nil?
48
27
  return false
49
28
  end
@@ -15,8 +15,6 @@ module Bushido
15
15
  end
16
16
 
17
17
  def call(env)
18
- @bushido_claimed = (ENV['BUSHIDO_CLAIMED'].nil? or ENV['BUSHIDO_CLAIMED'].blank?) ? false : true
19
-
20
18
  status, headers, response = @app.call(env)
21
19
 
22
20
  unless @bushido_app_name.empty?
@@ -31,7 +29,7 @@ module Bushido
31
29
  var _bushido_metrics_token = '#{@bushido_metrics_token}';
32
30
  (function() {
33
31
  var bushido = document.createElement('script'); bushido.type = 'text/javascript'; bushido.async = true;
34
- bushido.src = '#{BUSHIDO_JS_URL}?ts=#{::Bushido::VERSION.gsub('.', '')}';
32
+ bushido.src = '#{BUSHIDO_JS_URL}?#{::Bushido::VERSION.gsub('.', '')}';
35
33
  var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(bushido, s);
36
34
  })();
37
35
  </script>
@@ -4,51 +4,7 @@ module Bushido
4
4
  base.extend ClassMethods
5
5
  end
6
6
 
7
- def posh
8
- puts "posh"
9
- end
10
-
11
- def to_ido
12
- data = {}
13
-
14
- self.class.ido_schema.each do |schema_field|
15
- data[schema_field] = self.send(schema_field.to_sym)
16
- end
17
-
18
- data
19
- end
20
-
21
-
22
- def ido_destroy
23
- unless self.ido_id.nil?
24
- puts "Global IdoData, publishing destroy event to Bushido databus"
25
-
26
- data = self.to_ido
27
-
28
- puts "This is the data I *want* to publish: #{data.inspect}"
29
-
30
- begin
31
- response = Bushido::Data.publish(self.class.class_variable_get("@@ido_model"), data, :delete)
32
- rescue => e
33
- puts e.inspect
34
- # TODO: Catch specific exceptions and bubble up errors (e.g. 'bushido is down', 'model is malformed', etc.)
35
- return false
36
- end
37
-
38
- self.ido_version = response["ido_version"]
39
- self.ido_id ||= response["ido_id"]
40
-
41
- puts response.inspect
42
- else
43
- puts "Remote change, not publishing to Bushido databus"
44
- end
45
-
46
- return true
47
- end
48
-
49
-
50
-
51
- def ido_save
7
+ def bushido_save
52
8
  # It's possible we're saving an item just handed to us by Bushido, so we
53
9
  # don't want to re-publish it. We can detect it using the version.
54
10
 
@@ -58,24 +14,15 @@ module Bushido
58
14
  puts "new_record? #{self.new_record?}"
59
15
  puts "self.id = #{self.id}"
60
16
  puts "ido_id.nil? #{ido_id.nil?}"
61
- unless self.new_record?
62
- puts "ido_version == self.class.find(self.id).ido_version ? #{ido_version == self.class.find(self.id).ido_version}"
63
- puts "#{self.ido_version} == #{self.class.find(self.id).ido_version} ? #{ido_version == self.class.find(self.id).ido_version}"
64
- end
17
+ puts "ido_version == self.class.find(self.id).ido_version ? #{ido_version == self.class.find(self.id).ido_version}" unless self.new_record?
65
18
  if self.ido_id.nil? or (not self.new_record? and self.ido_version == self.class.find(self.id).ido_version)
66
19
  puts "Local change, publishing to Bushido databus"
67
20
 
68
- puts "Converting to Ido format..."
69
- data = self.to_ido
70
-
71
- puts "Publishing: #{data}"
21
+ data = self.to_bushido
72
22
 
73
23
  begin
74
- print "About to publish"
75
- response = Bushido::Data.publish(self.class.class_variable_get("@@ido_model"), data)
76
- puts "done!"
24
+ response = Bushido::Data.publish(self.class.class_variable_get("@@bushi_model"), data)
77
25
  rescue => e
78
- puts "ERROR!"
79
26
  puts e.inspect
80
27
  # TODO: Catch specific exceptions and bubble up errors (e.g. 'bushido is down', 'model is malformed', etc.)
81
28
  return false
@@ -93,51 +40,19 @@ module Bushido
93
40
  end
94
41
 
95
42
  module ClassMethods
96
- def ido model
97
- self.class_variable_set("@@ido_model", model)
43
+ def bushido model
44
+ self.class_variable_set("@@bushi_model", model)
98
45
 
99
46
  [:create, :update, :destroy].each do |event|
100
47
  puts "Hooking into #{model}.#{event}..."
101
48
 
102
49
  Bushido::Data.listen("#{model}.#{event}") do |data, hook|
103
50
  puts "#{hook}.) Firing off #{model}.#{event} now with data: #{data}"
104
- self.send("on_ido_#{event}".to_sym, self.from_ido(data))
51
+ self.send("on_bushido_#{event}".to_sym, self.from_bushido(data))
105
52
  end
106
53
  end
107
54
 
108
- before_save :ido_save
109
- before_destroy :ido_destroy
110
- end
111
-
112
- def from_ido(incoming_json)
113
- model = self.new
114
- puts model.inspect
115
-
116
- ido_schema.each do |schema_field|
117
- puts "Setting#{schema_field}= #{incoming_json[schema_field]}"
118
- model.send("#{schema_field}=".to_sym, incoming_json[schema_field])
119
- end
120
-
121
- model
122
- end
123
-
124
-
125
- def on_ido_create(ido_app)
126
- ido_app.save
127
- end
128
-
129
- def on_ido_update(ido_app)
130
- app = self.find_or_create_by_ido_id(ido_app.ido_id)
131
-
132
- ido_schema.each do |schema_field|
133
- app.send("#{schema_field}=".to_sym, ido_app[schema_field])
134
- end
135
-
136
- app.save
137
- end
138
-
139
- def on_ido_destroy(ido_app)
140
- self.find_by_ido_id(ido_app.ido_id).try(:destroy)
55
+ before_save :bushido_save
141
56
  end
142
57
  end
143
58
  end
@@ -1,4 +1,4 @@
1
1
  module Bushido
2
2
  # Current version of the Bushido gem
3
- VERSION = "0.0.30"
3
+ VERSION = "0.0.31"
4
4
  end
data/lib/bushido.rb CHANGED
@@ -12,7 +12,6 @@ module Bushido #:nodoc:
12
12
  require "bushido/hooks"
13
13
  require "bushido/platform"
14
14
  require "bushido/utils"
15
- require "bushido/hooks"
16
15
  require "bushido/command"
17
16
  require "bushido/app"
18
17
  require "bushido/user"
@@ -23,7 +22,6 @@ module Bushido #:nodoc:
23
22
  require "bushido/middleware"
24
23
  require "bushido/models"
25
24
  require "bushido/schema"
26
- require "bushido/ido_schema"
27
25
 
28
26
  # Default way to setup Bushido. Run rails generate bushido_install to create
29
27
  # a fresh initializer with all configuration values.
data/lib/engine.rb CHANGED
@@ -4,12 +4,15 @@ require 'rails/routes'
4
4
 
5
5
  module Bushido
6
6
  class Engine < Rails::Engine
7
-
7
+
8
8
  initializer "bushido.add_middleware" do |app|
9
-
10
- #Only include our middleware if its on our platform
11
- app.middleware.use Bushido::Middleware unless ENV['BUSHIDO_APP'].nil?
9
+
10
+ # Only include our middleware if its on our platform
11
+ unless ENV['BUSHIDO_APP'].nil?
12
+ app.middleware.use Bushido::Middleware
13
+ end
14
+
12
15
  end
13
-
16
+
14
17
  end
15
18
  end
@@ -0,0 +1,10 @@
1
+ require 'test/unit'
2
+
3
+ class TestExecutable < Test::Unit::TestCase #:nodoc:
4
+ EXECUTABLE =
5
+ def test_complains_with_no_args
6
+ output = %x{#{File.expand_path('../../bin/bushido', __FILE__)}}
7
+ assert output =~ /See bushido -h for more detailed instructions/
8
+ end
9
+ end
10
+
@@ -0,0 +1,12 @@
1
+ require 'test_helper'
2
+
3
+ class DefaultRoutingTest < ActionController::TestCase
4
+ test 'set passed variable' do
5
+ assert_recognizes({:controller => 'bushido', :action => 'index'}, {:path => 'bushido', :method => :post})
6
+ end
7
+
8
+ test 'get passed variable' do
9
+ assert_recognizes({:controller => 'bushido', :action => 'index'}, {:path => 'bushido', :method => :get})
10
+ end
11
+
12
+ end
data/test/test_helper.rb CHANGED
@@ -1,9 +1,8 @@
1
1
  ENV["RAILS_ENV"] = "test"
2
- ENV["BUSHIDO_APP_KEY"] = "bushidoappkey"
3
2
  require "rubygems"
4
3
  require "bundler"
5
4
  Bundler.setup
6
5
 
7
- require "rails_app/config/environment"
6
+ require "dummy/config/environment"
8
7
  require "rails/test_help"
9
8
  require "rails/generators/test_case"
metadata CHANGED
@@ -1,71 +1,74 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: bushido
3
- version: !ruby/object:Gem::Version
4
- version: 0.0.30
3
+ version: !ruby/object:Gem::Version
5
4
  prerelease:
5
+ version: 0.0.31
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Sean Grove
9
9
  - Kev Zettler
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2011-07-20 00:00:00.000000000 -07:00
13
+
14
+ date: 2011-07-26 00:00:00 -07:00
14
15
  default_executable:
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
16
+ dependencies:
17
+ - !ruby/object:Gem::Dependency
17
18
  name: rest-client
18
- requirement: &2151803600 !ruby/object:Gem::Requirement
19
+ prerelease: false
20
+ requirement: &id001 !ruby/object:Gem::Requirement
19
21
  none: false
20
- requirements:
21
- - - ! '>='
22
- - !ruby/object:Gem::Version
22
+ requirements:
23
+ - - ">="
24
+ - !ruby/object:Gem::Version
23
25
  version: 1.6.1
24
26
  type: :runtime
25
- prerelease: false
26
- version_requirements: *2151803600
27
- - !ruby/object:Gem::Dependency
27
+ version_requirements: *id001
28
+ - !ruby/object:Gem::Dependency
28
29
  name: json
29
- requirement: &2151801420 !ruby/object:Gem::Requirement
30
+ prerelease: false
31
+ requirement: &id002 !ruby/object:Gem::Requirement
30
32
  none: false
31
- requirements:
32
- - - ! '>='
33
- - !ruby/object:Gem::Version
33
+ requirements:
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
34
36
  version: 1.4.6
35
37
  type: :runtime
36
- prerelease: false
37
- version_requirements: *2151801420
38
- - !ruby/object:Gem::Dependency
38
+ version_requirements: *id002
39
+ - !ruby/object:Gem::Dependency
39
40
  name: highline
40
- requirement: &2151800220 !ruby/object:Gem::Requirement
41
+ prerelease: false
42
+ requirement: &id003 !ruby/object:Gem::Requirement
41
43
  none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
45
47
  version: 1.6.1
46
48
  type: :runtime
47
- prerelease: false
48
- version_requirements: *2151800220
49
- - !ruby/object:Gem::Dependency
49
+ version_requirements: *id003
50
+ - !ruby/object:Gem::Dependency
50
51
  name: orm_adapter
51
- requirement: &2151798860 !ruby/object:Gem::Requirement
52
+ prerelease: false
53
+ requirement: &id004 !ruby/object:Gem::Requirement
52
54
  none: false
53
- requirements:
55
+ requirements:
54
56
  - - ~>
55
- - !ruby/object:Gem::Version
57
+ - !ruby/object:Gem::Version
56
58
  version: 0.0.3
57
59
  type: :runtime
58
- prerelease: false
59
- version_requirements: *2151798860
60
+ version_requirements: *id004
60
61
  description: A module for integrating the Bushido platform into a rails app
61
- email:
62
+ email:
62
63
  - support@bushi.do
63
64
  - s@bushi.do
64
- executables:
65
+ executables:
65
66
  - bushido
66
67
  extensions: []
68
+
67
69
  extra_rdoc_files: []
68
- files:
70
+
71
+ files:
69
72
  - .gitignore
70
73
  - Gemfile
71
74
  - Rakefile
@@ -73,6 +76,7 @@ files:
73
76
  - app/controllers/bushido/envs_controller.rb
74
77
  - bin/bushido
75
78
  - bushido.gemspec
79
+ - config/routes.rb
76
80
  - lib/bushido.rb
77
81
  - lib/bushido/app.rb
78
82
  - lib/bushido/command.rb
@@ -80,7 +84,6 @@ files:
80
84
  - lib/bushido/envs.rb
81
85
  - lib/bushido/event.rb
82
86
  - lib/bushido/hooks.rb
83
- - lib/bushido/ido_schema.rb
84
87
  - lib/bushido/middleware.rb
85
88
  - lib/bushido/models.rb
86
89
  - lib/bushido/orm/active_record.rb
@@ -99,117 +102,39 @@ files:
99
102
  - lib/generators/mongoid/bushido_generator.rb
100
103
  - lib/generators/templates/README
101
104
  - lib/generators/templates/bushido.rb
102
- - lib/rails/#routes.rb#
103
105
  - lib/rails/routes.rb
104
- - test/controllers/envs_controller_test.rb
105
- - test/rails_app/Rakefile
106
- - test/rails_app/app/controllers/application_controller.rb
107
- - test/rails_app/app/helpers/application_helper.rb
108
- - test/rails_app/app/views/application/index.html.erb
109
- - test/rails_app/app/views/layouts/application.html.erb
110
- - test/rails_app/config.ru
111
- - test/rails_app/config/application.rb
112
- - test/rails_app/config/boot.rb
113
- - test/rails_app/config/database.yml
114
- - test/rails_app/config/environment.rb
115
- - test/rails_app/config/environments/development.rb
116
- - test/rails_app/config/environments/production.rb
117
- - test/rails_app/config/environments/test.rb
118
- - test/rails_app/config/initializers/backtrace_silencers.rb
119
- - test/rails_app/config/initializers/inflections.rb
120
- - test/rails_app/config/initializers/mime_types.rb
121
- - test/rails_app/config/initializers/secret_token.rb
122
- - test/rails_app/config/initializers/session_store.rb
123
- - test/rails_app/config/locales/en.yml
124
- - test/rails_app/config/routes.rb
125
- - test/rails_app/db/development.sqlite3
126
- - test/rails_app/db/test.sqlite3
127
- - test/rails_app/log/development.log
128
- - test/rails_app/log/production.log
129
- - test/rails_app/log/server.log
130
- - test/rails_app/log/test.log
131
- - test/rails_app/public/404.html
132
- - test/rails_app/public/422.html
133
- - test/rails_app/public/500.html
134
- - test/rails_app/public/favicon.ico
135
- - test/rails_app/public/javascripts/application.js
136
- - test/rails_app/public/javascripts/controls.js
137
- - test/rails_app/public/javascripts/dragdrop.js
138
- - test/rails_app/public/javascripts/effects.js
139
- - test/rails_app/public/javascripts/prototype.js
140
- - test/rails_app/public/javascripts/rails.js
141
- - test/rails_app/public/stylesheets/.gitkeep
142
- - test/rails_app/script/rails
106
+ - test/executable_test.rb
107
+ - test/routes_test.rb
143
108
  - test/test_helper.rb
144
109
  has_rdoc: true
145
110
  homepage: https://github.com/sgrove/bushidogem
146
111
  licenses: []
112
+
147
113
  post_install_message:
148
114
  rdoc_options: []
149
- require_paths:
115
+
116
+ require_paths:
150
117
  - lib
151
- required_ruby_version: !ruby/object:Gem::Requirement
118
+ required_ruby_version: !ruby/object:Gem::Requirement
152
119
  none: false
153
- requirements:
154
- - - ! '>='
155
- - !ruby/object:Gem::Version
156
- version: '0'
157
- segments:
158
- - 0
159
- hash: 1185013954013927202
160
- required_rubygems_version: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: "0"
124
+ required_rubygems_version: !ruby/object:Gem::Requirement
161
125
  none: false
162
- requirements:
163
- - - ! '>='
164
- - !ruby/object:Gem::Version
165
- version: '0'
166
- segments:
167
- - 0
168
- hash: 1185013954013927202
126
+ requirements:
127
+ - - ">="
128
+ - !ruby/object:Gem::Version
129
+ version: "0"
169
130
  requirements: []
131
+
170
132
  rubyforge_project: bushido
171
133
  rubygems_version: 1.6.2
172
134
  signing_key:
173
135
  specification_version: 3
174
136
  summary: Bushido integration
175
- test_files:
176
- - test/controllers/envs_controller_test.rb
177
- - test/rails_app/Rakefile
178
- - test/rails_app/app/controllers/application_controller.rb
179
- - test/rails_app/app/helpers/application_helper.rb
180
- - test/rails_app/app/views/application/index.html.erb
181
- - test/rails_app/app/views/layouts/application.html.erb
182
- - test/rails_app/config.ru
183
- - test/rails_app/config/application.rb
184
- - test/rails_app/config/boot.rb
185
- - test/rails_app/config/database.yml
186
- - test/rails_app/config/environment.rb
187
- - test/rails_app/config/environments/development.rb
188
- - test/rails_app/config/environments/production.rb
189
- - test/rails_app/config/environments/test.rb
190
- - test/rails_app/config/initializers/backtrace_silencers.rb
191
- - test/rails_app/config/initializers/inflections.rb
192
- - test/rails_app/config/initializers/mime_types.rb
193
- - test/rails_app/config/initializers/secret_token.rb
194
- - test/rails_app/config/initializers/session_store.rb
195
- - test/rails_app/config/locales/en.yml
196
- - test/rails_app/config/routes.rb
197
- - test/rails_app/db/development.sqlite3
198
- - test/rails_app/db/test.sqlite3
199
- - test/rails_app/log/development.log
200
- - test/rails_app/log/production.log
201
- - test/rails_app/log/server.log
202
- - test/rails_app/log/test.log
203
- - test/rails_app/public/404.html
204
- - test/rails_app/public/422.html
205
- - test/rails_app/public/500.html
206
- - test/rails_app/public/favicon.ico
207
- - test/rails_app/public/javascripts/application.js
208
- - test/rails_app/public/javascripts/controls.js
209
- - test/rails_app/public/javascripts/dragdrop.js
210
- - test/rails_app/public/javascripts/effects.js
211
- - test/rails_app/public/javascripts/prototype.js
212
- - test/rails_app/public/javascripts/rails.js
213
- - test/rails_app/public/stylesheets/.gitkeep
214
- - test/rails_app/script/rails
137
+ test_files:
138
+ - test/executable_test.rb
139
+ - test/routes_test.rb
215
140
  - test/test_helper.rb