diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a331e59 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +*.sqlite3 +*.sqlite +*.log +*.gem +tmp/* +Manifest +pkg +.bundle diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..1adb237 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,131 @@ +PATH + remote: . + specs: + micro_sessions (0.1.1) + rails (~> 3.0.0) + +GEM + remote: http://rubygems.org/ + specs: + abstract (1.0.0) + actionmailer (3.0.12) + actionpack (= 3.0.12) + mail (~> 2.2.19) + actionpack (3.0.12) + activemodel (= 3.0.12) + activesupport (= 3.0.12) + builder (~> 2.1.2) + erubis (~> 2.6.6) + i18n (~> 0.5.0) + rack (~> 1.2.5) + rack-mount (~> 0.6.14) + rack-test (~> 0.5.7) + tzinfo (~> 0.3.23) + activemodel (3.0.12) + activesupport (= 3.0.12) + builder (~> 2.1.2) + i18n (~> 0.5.0) + activerecord (3.0.12) + activemodel (= 3.0.12) + activesupport (= 3.0.12) + arel (~> 2.0.10) + tzinfo (~> 0.3.23) + activeresource (3.0.12) + activemodel (= 3.0.12) + activesupport (= 3.0.12) + activesupport (3.0.12) + appraisal (0.4.1) + bundler + rake + arel (2.0.10) + builder (2.1.2) + capybara (1.1.2) + mime-types (>= 1.16) + nokogiri (>= 1.3.3) + rack (>= 1.0.0) + rack-test (>= 0.5.4) + selenium-webdriver (~> 2.0) + xpath (~> 0.1.4) + childprocess (0.3.1) + ffi (~> 1.0.6) + cucumber (1.0.6) + builder (>= 2.1.2) + diff-lcs (>= 1.1.2) + gherkin (~> 2.4.18) + json (>= 1.4.6) + term-ansicolor (>= 1.0.6) + diff-lcs (1.1.3) + erubis (2.6.6) + abstract (>= 1.0.0) + ffi (1.0.11) + gherkin (2.4.21) + json (>= 1.4.6) + i18n (0.5.0) + json (1.6.6) + mail (2.2.19) + activesupport (>= 2.3.6) + i18n (>= 0.4.0) + mime-types (~> 1.16) + treetop (~> 1.4.8) + mime-types (1.18) + multi_json (1.2.0) + nokogiri (1.5.2) + polyglot (0.3.3) + rack (1.2.5) + rack-mount (0.6.14) + rack (>= 1.0.0) + rack-test (0.5.7) + rack (>= 1.0) + rails (3.0.12) + actionmailer (= 3.0.12) + actionpack (= 3.0.12) + activerecord (= 3.0.12) + activeresource (= 3.0.12) + activesupport (= 3.0.12) + bundler (~> 1.0) + railties (= 3.0.12) + railties (3.0.12) + actionpack (= 3.0.12) + activesupport (= 3.0.12) + rake (>= 0.8.7) + rdoc (~> 3.4) + thor (~> 0.14.4) + rake (0.9.2.2) + rdoc (3.12) + json (~> 1.4) + rspec (2.9.0) + rspec-core (~> 2.9.0) + rspec-expectations (~> 2.9.0) + rspec-mocks (~> 2.9.0) + rspec-core (2.9.0) + rspec-expectations (2.9.0) + diff-lcs (~> 1.1.3) + rspec-mocks (2.9.0) + rubyzip (0.9.6.1) + selenium-webdriver (2.20.0) + childprocess (>= 0.2.5) + ffi (~> 1.0) + multi_json (~> 1.0) + rubyzip + sqlite3 (1.3.5) + term-ansicolor (1.0.7) + thor (0.14.6) + treetop (1.4.10) + polyglot + polyglot (>= 0.3.1) + tzinfo (0.3.32) + xpath (0.1.4) + nokogiri (~> 1.3) + +PLATFORMS + ruby + +DEPENDENCIES + appraisal (~> 0.4.0) + capybara (~> 1.1.0) + cucumber (~> 1.0.4) + micro_sessions! + rake + rdoc (~> 3.12) + rspec (~> 2.0) + sqlite3 (~> 1.3.4) diff --git a/features/step_definitions/cukigem_steps.rb b/features/step_definitions/cukigem_steps.rb index 5034eb5..c34dcf9 100644 --- a/features/step_definitions/cukigem_steps.rb +++ b/features/step_definitions/cukigem_steps.rb @@ -30,7 +30,7 @@ When %r{the rails application is running} do Dir.chdir(Cukagem.app_root) do - require "config/environment" + require File.expand_path("config/environment.rb") if Object.const_defined?(:Capybara) require "capybara/rails" diff --git a/micro_sessions.gemspec b/micro_sessions.gemspec index 194a0ab..cca4d1b 100644 --- a/micro_sessions.gemspec +++ b/micro_sessions.gemspec @@ -17,6 +17,12 @@ Gem::Specification.new do |s| s.rubyforge_project = s.name s.required_rubygems_version = ">= 1.3.4" - s.add_dependency("actionpack", [">= 3.0.0"]) - s.add_dependency("activesupport", [">= 3.0.0"]) -end \ No newline at end of file + s.add_dependency("rails", ["~> 3.0.0"]) + s.add_development_dependency("rspec", ["~> 2.0"]) + s.add_development_dependency("cucumber", ["~> 1.0.4"]) + s.add_development_dependency("capybara", ["~> 1.1.0"]) + s.add_development_dependency("sqlite3", ["~> 1.3.4"]) + s.add_development_dependency('appraisal', ["~> 0.4.0"]) + s.add_development_dependency("rdoc", ["~> 3.12"]) + s.add_development_dependency "rake" +end