integra 0.0.2 → 0.0.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: 5ab57b047463589dcfd550fcd362f59c62b3a106
4
- data.tar.gz: a38e442a774b3d617dd7e31f583dd8c63c84fc80
3
+ metadata.gz: f8346f3fb796113fe37f325b411e8ceec1db1951
4
+ data.tar.gz: 264f04cf1b3ca2647f8c47f96fd90ef21c7dd57e
5
5
  SHA512:
6
- metadata.gz: 88f6a51aecfe6e7f10f0adf87b868416fff308279bf09f21dbda1c22842c69aafd0da153c105c395a361f82adfe24428d9d804bd0414f9d2f0fe64d47d4784a5
7
- data.tar.gz: 9f4a92ccb28deb13ad295ce499d6e19429883fb3b8bead1cad7a8047c29ff8494f058829baa475b75b70f271ae9b2dee309ad093a5404d28315eb7a7b68ed90c
6
+ metadata.gz: 28ceec58e124ecadd54ab010612ed773c3c01b3e3eb988c915e4f60b64a273c36305e743ff87888d9ee43df2625ff0d164b307e6490d5d691b04a093270cf142
7
+ data.tar.gz: c80d834b90b81921cfe04ca60962563f9d4f4e1023505c0dc129028b72b22be66a316b306436461387d53e39a8f74916bea8187ea32915429cab375165fdf0bc
data/README.md CHANGED
@@ -34,6 +34,10 @@ the `--lang=` option:
34
34
 
35
35
  $ integra init --lang=pt
36
36
 
37
+ ## + info
38
+
39
+ - [capybara cheat sheet](https://gist.github.com/zhengjia/428105)
40
+
37
41
  ## Default toolset
38
42
 
39
43
  - [rspec](https://github.com/rspec/rspec)
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["Endel Dreyer"]
10
10
  spec.email = ["endel.dreyer@gmail.com"]
11
11
 
12
- spec.description = %q{A nice set of defaults for integration tests, no matter what language your application is written in.}
13
- spec.summary = %q{Integration testing tools.}
12
+ spec.description = %q{A nice set of defaults for webapp integration tests, no matter what language your application is written in.}
13
+ spec.summary = %q{Integration testing tools for webapps.}
14
14
  spec.homepage = "https://github.com/endel/integra"
15
15
  spec.license = "MIT"
16
16
 
@@ -15,6 +15,14 @@ module Integra
15
15
  @logger = Logger.new
16
16
  @config = Config.new(options)
17
17
 
18
+ #
19
+ # When user enters with a path or file as argument, just run it.
20
+ #
21
+ unless Commands.respond_to?(options[:command])
22
+ options[:args] << options[:command]
23
+ options[:command] = :run
24
+ end
25
+
18
26
  Commands.send(options[:command], options)
19
27
  end
20
28
 
@@ -1,9 +1,4 @@
1
1
  require 'integra'
2
-
3
- #
4
- # simulate rspec command call for rspec autorun
5
- #
6
- $0 = 'rspec'
7
2
  require 'rspec/autorun'
8
3
 
9
4
  require "turnip"
@@ -4,6 +4,13 @@ module Integra
4
4
 
5
5
  def run(options)
6
6
  Integra.logger.log("Running: #{Integra.config.app_host}", :green)
7
+
8
+ #
9
+ # simulate rspec command call for rspec autorun
10
+ #
11
+ $0 = "rspec"
12
+ ARGV.concat options[:args]
13
+
7
14
  require 'integra/autorun'
8
15
  end
9
16
 
@@ -1,4 +1,4 @@
1
1
  module Integra
2
2
  NAME = 'integra'
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: integra
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Endel Dreyer
@@ -136,7 +136,7 @@ dependencies:
136
136
  - - '>='
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
- description: A nice set of defaults for integration tests, no matter what language
139
+ description: A nice set of defaults for webapp integration tests, no matter what language
140
140
  your application is written in.
141
141
  email:
142
142
  - endel.dreyer@gmail.com
@@ -191,6 +191,6 @@ rubyforge_project:
191
191
  rubygems_version: 2.1.8
192
192
  signing_key:
193
193
  specification_version: 4
194
- summary: Integration testing tools.
194
+ summary: Integration testing tools for webapps.
195
195
  test_files: []
196
196
  has_rdoc: