rspec-cells 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES.textile ADDED
@@ -0,0 +1,4 @@
1
+ h2. 0.0.2
2
+
3
+ h3. Bugfixes
4
+ * Using a Railtie to correctly load rspec-cells. Caused a dependency problem with capybara before. Thanks to Steve Sloan [CodeMonkeySteve] for fixing and Brandon Dimcheff [bdimcheff] for debugging.
@@ -1,6 +1,6 @@
1
1
  module RSpec # :nodoc:
2
2
  module Cells # :nodoc:
3
- VERSION = '0.0.1'
3
+ VERSION = '0.0.2'
4
4
  end
5
5
  end
6
6
 
@@ -0,0 +1,3 @@
1
+ require 'rspec/rails'
2
+ require 'cell/test_case'
3
+ require 'rspec/rails/example/cell_example_group'
data/lib/rspec-cells.rb CHANGED
@@ -1,13 +1,13 @@
1
- require 'rspec/rails'
2
- require 'cell/test_case'
3
- require 'rspec/rails/example/cell_example_group'
4
-
5
1
  module RSpec
6
2
  module Cells
7
3
  class Railtie < ::Rails::Railtie
8
4
  rake_tasks do
9
5
  load "rspec/cells/tasks.rake"
10
6
  end
7
+
8
+ initializer 'cells.rspec' do |app|
9
+ require 'rspec/cells'
10
+ end
11
11
  end
12
12
  end
13
13
  end
data/rspec-cells.gemspec CHANGED
@@ -1,5 +1,6 @@
1
1
  # -*- encoding: utf-8 -*-
2
- $:.push File.expand_path("../lib", __FILE__)
2
+ $:.unshift File.expand_path("../lib", __FILE__)
3
+ puts $:.inspect
3
4
  require "rspec/cells/version"
4
5
 
5
6
  Gem::Specification.new do |s|
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 1
9
- version: 0.0.1
8
+ - 2
9
+ version: 0.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Nick Sutterer
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-12-11 00:00:00 +01:00
17
+ date: 2010-12-20 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -69,11 +69,13 @@ extensions: []
69
69
  extra_rdoc_files: []
70
70
 
71
71
  files:
72
+ - CHANGES.textile
72
73
  - Gemfile
73
74
  - MIT-LICENSE
74
75
  - README.rdoc
75
76
  - Rakefile
76
77
  - lib/rspec-cells.rb
78
+ - lib/rspec/cells.rb
77
79
  - lib/rspec/cells/tasks.rake
78
80
  - lib/rspec/cells/version.rb
79
81
  - lib/rspec/rails/example/cell_example_group.rb