bdd-rails 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: acb273293509fd065a1d3b3491a37a91a91fb51d
4
- data.tar.gz: dd9a4a74294373554e6c6fa8f4deb2473e47b3b5
3
+ metadata.gz: 8f0697d3a3c6ada781aa0ea675cbd5e64bc37e26
4
+ data.tar.gz: 9c080524f04884b191b5ca05a415338887c5ac8c
5
5
  SHA512:
6
- metadata.gz: cf88cb8750ecd7df50dc84103639f7c239ed1cde8f1b40baed06c2ca5e9e2560207e3e418342a9a1e39b392a736b5a6fec1d26a36ce28caf0a5c4c71e9d5f222
7
- data.tar.gz: 273b07db1276e1d350c38005e6df29859ff8095c7b5918b1b32f47956249f95e23f64b0db5f8b47bf1429211a4fdff0d87d7a4ddadc7404fefa72cd995d5e2f2
6
+ metadata.gz: 1835ba210209d3b1a04827b47b911a52d3bda7b6d1ba9740f2ad3e0fc4bc4b65382461898e3d69412ff59e13d9f65ed822400de1b56d00232031c8ddea5c6713
7
+ data.tar.gz: 52248a9512f5bb8671c8a1e9134853f0c99ccb672f07d41d0df177a75ff57833be0974e8098c06cb3e3fa1cdf8b1051a0c3dcdf0a96c072dca9d4a8441b79bb8
data/.travis.yml CHANGED
@@ -1,6 +1,8 @@
1
1
  rvm:
2
2
  - 2.1
3
3
  - 2.2
4
- script: sh test.sh
4
+
5
+ script: sh spec/installing_spec.sh
6
+
5
7
  notifications:
6
8
  slack: madetechteam:be3g1qE6so2p2UcqQiOGBRUs
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bdd-rails (0.1.2)
4
+ bdd-rails (0.1.3)
5
5
  bundler
6
6
  rails
7
7
 
data/README.md CHANGED
@@ -51,12 +51,18 @@ echo "gem 'bdd-rails', path: '../../'" >> Gemfile
51
51
  bundle
52
52
  ```
53
53
 
54
- And finally we want to install our BDD setup in your rails app:
54
+ We want to install our BDD setup in your rails app:
55
55
 
56
56
  ```
57
57
  bundle exec rails g bdd_rails:install
58
58
  ```
59
59
 
60
+ And setup our DB:
61
+
62
+ ```
63
+ bundle exec rake db:migrate
64
+ ```
65
+
60
66
  Now you can run your (empty) test suite:
61
67
 
62
68
  ```
data/lib/bdd-rails.rb CHANGED
@@ -1 +1 @@
1
- require 'bdd_rails'
1
+ require 'bdd_rails/railtie'
@@ -19,6 +19,7 @@ module BddRails
19
19
  gem 'rspec-its'
20
20
  gem 'rspec-rails'
21
21
  gem 'vcr'
22
+ gem 'webmock'
22
23
  end
23
24
 
24
25
  bundle_command :install
@@ -1,7 +1,7 @@
1
1
  require 'vcr'
2
2
 
3
3
  VCR.configure do |c|
4
- c.hook_into :webmock, :excon
4
+ c.hook_into :webmock
5
5
  c.cassette_library_dir = 'spec/fixtures/cassettes'
6
6
  c.default_cassette_options = { record: :new_episodes }
7
7
  c.ignore_localhost = true
@@ -1,3 +1,3 @@
1
1
  module BddRails
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
3
3
  end
@@ -1,3 +1,7 @@
1
+ # Fairly ironic this isn't a BDD feature test isn't it?
2
+ #
3
+ # Life's too short :)
4
+ #
1
5
  set -e
2
6
 
3
7
  rm -rf test_app
@@ -5,4 +9,7 @@ bundle exec rails new --skip-test-unit test_app
5
9
  cd test_app
6
10
  echo "gem 'bdd-rails', path: '../'" >> Gemfile
7
11
  bundle
12
+ bundle exec spring stop
8
13
  bundle exec rails g bdd_rails:install
14
+ bundle exec rake db:migrate
15
+ bundle exec rspec
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bdd-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luke Morton
@@ -67,7 +67,6 @@ files:
67
67
  - Rakefile
68
68
  - bdd-rails.gemspec
69
69
  - lib/bdd-rails.rb
70
- - lib/bdd_rails.rb
71
70
  - lib/bdd_rails/install_generator.rb
72
71
  - lib/bdd_rails/railtie.rb
73
72
  - lib/bdd_rails/templates/.rspec
@@ -85,7 +84,7 @@ files:
85
84
  - lib/bdd_rails/templates/spec/support/rspec_run_conditions.rb
86
85
  - lib/bdd_rails/templates/spec/support/vcr.rb
87
86
  - lib/bdd_rails/version.rb
88
- - test.sh
87
+ - spec/installing_spec.sh
89
88
  homepage: https://github.com/madetech/bdd-rails
90
89
  licenses:
91
90
  - MIT
data/lib/bdd_rails.rb DELETED
@@ -1 +0,0 @@
1
- require 'bdd_rails/railtie'