combustion 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,4 @@
1
+ *.gem
2
+ .bundle
3
+ Gemfile.lock
4
+ pkg/*
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source "http://rubygems.org"
2
+
3
+ gemspec
data/HISTORY ADDED
@@ -0,0 +1,2 @@
1
+ 0.1.0 - August 19th 2011
2
+ - First release, extracted from Dobro for HyperTiny.
data/LICENCE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011 Pat Allan
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.
@@ -0,0 +1,7 @@
1
+ h1. Combustion
2
+
3
+ More information/documentation coming soon.
4
+
5
+ h2. Credits
6
+
7
+ Combustion is developed and maintained by Pat Allan, and is released under the open MIT Licence.
@@ -0,0 +1 @@
1
+ require 'bundler/gem_tasks'
@@ -0,0 +1,22 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path('../lib', __FILE__)
3
+ require 'combustion/version'
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = 'combustion'
7
+ s.version = Combustion::VERSION
8
+ s.authors = ['Pat Allan']
9
+ s.email = ['pat@freelancing-gods.com']
10
+ s.homepage = ''
11
+ s.summary = 'Elegant Rails Engine Testing'
12
+ s.description = 'Test your Rails Engines without needing a full Rails app'
13
+
14
+ s.rubyforge_project = 'combustion'
15
+
16
+ s.files = `git ls-files`.split("\n")
17
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
+ s.require_paths = ['lib']
20
+
21
+ s.add_runtime_dependency 'rails', '>= 3.1.0.rc5'
22
+ end
@@ -0,0 +1,17 @@
1
+ require 'rails'
2
+ require 'active_support/dependencies'
3
+ require 'active_record/railtie'
4
+ require 'action_controller/railtie'
5
+
6
+ module Combustion
7
+ def self.initialize!
8
+ Combustion::Application.initialize!
9
+
10
+ silence_stream(STDOUT) do
11
+ load "#{Rails.root}/db/schema.rb"
12
+ end
13
+ end
14
+ end
15
+
16
+ require 'combustion/application'
17
+ require 'combustion/version'
@@ -0,0 +1,26 @@
1
+ Rails.env = 'test'
2
+
3
+ class Combustion::Application < Rails::Application
4
+ config.root = File.expand_path File.join(Dir.pwd, 'spec', 'internal')
5
+
6
+ # Core Settings
7
+ config.cache_classes = true
8
+ config.whiny_nils = true
9
+ config.consider_all_requests_local = true
10
+ config.secret_token = Digest::SHA1.hexdigest Time.now.to_s
11
+
12
+ # ActiveSupport Settings
13
+ config.active_support.deprecation = :stderr
14
+
15
+ # Action Controller and Action Dispatch
16
+ config.action_dispatch.show_exceptions = false
17
+ config.action_controller.perform_caching = false
18
+ config.action_controller.allow_forgery_protection = false
19
+
20
+ # Action Mailer Settings
21
+ # config.action_mailer.delivery_method = :test
22
+ # config.action_mailer.default_url_options = {:host => 'www.example.com'}
23
+
24
+ # Asset Settings
25
+ config.assets.enabled = true
26
+ end
@@ -0,0 +1,3 @@
1
+ module Combustion
2
+ VERSION = '0.1.0'
3
+ end
metadata ADDED
@@ -0,0 +1,66 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: combustion
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Pat Allan
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2011-08-19 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: &2151813200 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: 3.1.0.rc5
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *2151813200
25
+ description: Test your Rails Engines without needing a full Rails app
26
+ email:
27
+ - pat@freelancing-gods.com
28
+ executables: []
29
+ extensions: []
30
+ extra_rdoc_files: []
31
+ files:
32
+ - .gitignore
33
+ - Gemfile
34
+ - HISTORY
35
+ - LICENCE
36
+ - README.textile
37
+ - Rakefile
38
+ - combustion.gemspec
39
+ - lib/combustion.rb
40
+ - lib/combustion/application.rb
41
+ - lib/combustion/version.rb
42
+ homepage: ''
43
+ licenses: []
44
+ post_install_message:
45
+ rdoc_options: []
46
+ require_paths:
47
+ - lib
48
+ required_ruby_version: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ required_rubygems_version: !ruby/object:Gem::Requirement
55
+ none: false
56
+ requirements:
57
+ - - ! '>='
58
+ - !ruby/object:Gem::Version
59
+ version: '0'
60
+ requirements: []
61
+ rubyforge_project: combustion
62
+ rubygems_version: 1.8.6
63
+ signing_key:
64
+ specification_version: 3
65
+ summary: Elegant Rails Engine Testing
66
+ test_files: []