wally 0.0.45 → 0.0.46
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/.rvmrc +1 -1
- data/README.md +17 -0
- data/bin/wally +3 -3
- data/lib/wally/version.rb +1 -1
- data/lib/wally/views/progress.haml +1 -1
- metadata +2 -2
data/.rvmrc
CHANGED
@@ -1 +1 @@
|
|
1
|
-
rvm 1.9.2@wally
|
1
|
+
rvm 1.9.2@wally --create
|
data/README.md
CHANGED
@@ -35,3 +35,20 @@ Many of the ideas have been borrowed from Matt Wynne's Relish product, but we;
|
|
35
35
|
|
36
36
|
## Wally?
|
37
37
|
If you walk in to a British fish shop and ask for a wally you'll receive a [pickled gherkin](https://github.com/cucumber/cucumber/wiki/Gherkin).
|
38
|
+
|
39
|
+
# Heroku
|
40
|
+
Add this to a config.ru:
|
41
|
+
|
42
|
+
```
|
43
|
+
require "wally"
|
44
|
+
run Sinatra::Application
|
45
|
+
```
|
46
|
+
|
47
|
+
Add this to a Gemfile:
|
48
|
+
|
49
|
+
```
|
50
|
+
source :rubygems
|
51
|
+
gem "wally"
|
52
|
+
```
|
53
|
+
|
54
|
+
Run ```bundle``` in that directory, commit this all to a git repo and push to Heroku!
|
data/bin/wally
CHANGED
@@ -19,8 +19,8 @@ elsif ARGV[0] == "push"
|
|
19
19
|
end
|
20
20
|
features << {:path => feature_path, :gherkin => gherkin}
|
21
21
|
end
|
22
|
-
RestClient.put "#{ARGV[1]}/features/?authentication_code=#{File.read(".wally")}", features.to_json, {:content_type => :json, :accept => :json}
|
22
|
+
RestClient.put "#{ARGV[1]}/features/?authentication_code=#{File.read(".wally").strip}", features.to_json, {:content_type => :json, :accept => :json}
|
23
23
|
elsif ARGV[0] == "destroy"
|
24
24
|
require "restclient"
|
25
|
-
RestClient.delete ARGV[1]
|
26
|
-
end
|
25
|
+
RestClient.delete "#{ARGV[1]}?authentication_code=#{File.read(".wally").strip}"
|
26
|
+
end
|
data/lib/wally/version.rb
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
- tag_count.each do |tag, count|
|
8
8
|
- ratio = (count.to_f / scenario_count) * 100
|
9
9
|
%li{:class => "#{tag.downcase.gsub("@", "")}"}
|
10
|
-
%a{:href => "/search?q=#{tag}"}
|
10
|
+
%a{:href => "/projects/#{current_project.name}/search?q=#{tag}"}
|
11
11
|
= "#{tag} (#{ratio.ceil}%)"
|
12
12
|
%span{:class => "count #{tag}"}
|
13
13
|
= ratio.ceil
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wally
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.46
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-05-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rest-client
|