lopata 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f64b8036dc374deda6880db4c21ee9070596e2c2
4
- data.tar.gz: 2f18c399b0ba1790c67d55441816c30456b1984b
3
+ metadata.gz: e26df680a41e14c87ded9047e26c6c938c145217
4
+ data.tar.gz: df8407c48848524675f24e2bea098e50feb5794c
5
5
  SHA512:
6
- metadata.gz: 136fc50e9a317b8febbf9c91c00854af1870194174bc35493b4016e5e35dd1595d07f28a3f4d9aba411d81d32123998505dfba33a3799df565a112027d5ff5ca
7
- data.tar.gz: 5da48bfffc6f5a3d4e1bc3e6d5e66ac3ac645b9ae9942936c082158e40baeb3813369ab0122987c05b987801d2dc8508efca6ec479a6575a7fbcd27267584187
6
+ metadata.gz: 891bc34971a2fe31c6e34539f5cf59f573b6c80280ce02c6fac4fd3552448f1f504f3747414369678396fffe550f3e47284df496a8503c3a995ace5759d6b472
7
+ data.tar.gz: 3df4ad38a579aa16eaaf2d5ccc5737388e74489d97ac928a07f862a4c9c826beefb930413025e0c805aac919850184b0039710ec2db77d7b38da0666bd1910e1
data/README.md CHANGED
@@ -1,2 +1,22 @@
1
1
  # Lopata - functional acceptance testing
2
2
 
3
+ Motivation: use RSpec for functional testing.
4
+
5
+ ## Installation
6
+
7
+ gem install lopata
8
+
9
+ ## Usage
10
+
11
+ Create new lopata project:
12
+
13
+ lopata new <project-name>
14
+
15
+ Setup environment: edit <project-name>/config/environments/qa.yml for setup project for testing.
16
+
17
+ Write tests: puts RSpec tests in <project-name>/spec folder.
18
+
19
+ Run tests:
20
+
21
+ cd <project-name>
22
+ lopata
data/exe/lopata CHANGED
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env ruby
2
- require 'bundler/setup' # TODO - remove after debugging
2
+ require 'bundler/setup'
3
3
  require_relative '../lib/lopata/runner'
4
4
  Lopata::Runner.start ARGV
@@ -1,7 +1,7 @@
1
1
  module Lopata
2
2
  module RSpec
3
3
  module Version
4
- STRING = '0.0.3'
4
+ STRING = '0.0.4'
5
5
  end
6
6
  end
7
7
  end
data/lib/lopata/runner.rb CHANGED
@@ -35,6 +35,8 @@ module Lopata
35
35
  end
36
36
  end
37
37
 
38
- raise 'No Lopatafile found in running dir' unless File.exists?('./Lopatafile')
39
- eval File.binread('./Lopatafile')
38
+ unless ARGV.first == 'new'
39
+ raise 'No Lopatafile found in running dir' unless File.exists?('./Lopatafile')
40
+ eval File.binread('./Lopatafile')
41
+ end
40
42
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lopata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexey Volochnev
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-03-01 00:00:00.000000000 Z
11
+ date: 2016-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -62,7 +62,7 @@ files:
62
62
  - lib/lopata/rspec/role.rb
63
63
  - lib/lopata/rspec/version.rb
64
64
  - lib/lopata/runner.rb
65
- homepage:
65
+ homepage: https://github.com/avolochnev/lopata
66
66
  licenses:
67
67
  - MIT
68
68
  metadata: {}
@@ -85,5 +85,5 @@ rubyforge_project:
85
85
  rubygems_version: 2.2.5
86
86
  signing_key:
87
87
  specification_version: 4
88
- summary: lopata-0.0.3
88
+ summary: lopata-0.0.4
89
89
  test_files: []