behave 0.2 → 0.2.1

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.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- behave (0.1)
4
+ behave (0.2)
5
5
  rest-client
6
6
  rubyzip
7
7
 
File without changes
data/examples/Rakefile ADDED
@@ -0,0 +1,20 @@
1
+ require 'rake'
2
+ require 'rubygems'
3
+ require 'behave'
4
+
5
+ desc "Fetch features"
6
+ task :fetch do
7
+ b = Behave::FeatureDownloader.new({
8
+ 'host' => 'http://qa.hindsighttesting.com',
9
+ 'user' => 'beccy',
10
+ 'pass' => 'tvitest',
11
+ 'key' => 'BBCE',
12
+ 'dir' => 'features',
13
+ 'manual' => true
14
+ })
15
+ end
16
+
17
+ desc "Run cucumber"
18
+ task :default => :fetch do
19
+
20
+ end
@@ -1,3 +1,3 @@
1
1
  module Behave
2
- VERSION = "0.2"
2
+ VERSION = "0.2.1"
3
3
  end
data/lib/behave.rb CHANGED
@@ -20,7 +20,7 @@ module Behave
20
20
  if @host.nil? or key.nil?
21
21
  puts '--------------------------------------------------------------'
22
22
  puts 'Must set at least Jira host URI and project key'
23
- puts 'if running from command line, use "behave-cli --help"'
23
+ puts 'if running from command line, use "behave --help"'
24
24
  puts '--------------------------------------------------------------'
25
25
  exit 1
26
26
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: behave
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: "0.2"
5
+ version: 0.2.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jack Bastow
@@ -49,7 +49,7 @@ description: Behave for Jira CLI
49
49
  email:
50
50
  - jack.bastow@hindsightsoftware.co.uk
51
51
  executables:
52
- - behave-cli
52
+ - behave
53
53
  extensions: []
54
54
 
55
55
  extra_rdoc_files: []
@@ -61,9 +61,9 @@ files:
61
61
  - LICENSE.txt
62
62
  - README.md
63
63
  - Rakefile
64
- - behave-0.1.gem
65
64
  - behave.gemspec
66
- - bin/behave-cli
65
+ - bin/behave
66
+ - examples/Rakefile
67
67
  - lib/behave.rb
68
68
  - lib/behave/version.rb
69
69
  - pkg/behave-0.0.1.gem
data/behave-0.1.gem DELETED
Binary file