kosmas58-pickler 0.0.9.10 → 0.0.9.11
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/lib/pickler.rb +4 -5
- data/pickler.gemspec +1 -1
- metadata +1 -1
data/lib/pickler.rb
CHANGED
@@ -110,11 +110,10 @@ class Pickler
|
|
110
110
|
def local_features
|
111
111
|
Dir[features_path('**','*.feature')].map {|f|feature(f)}.select {|f|f.pushable?}
|
112
112
|
end
|
113
|
-
|
114
|
-
def scenario_features(
|
115
|
-
|
116
|
-
|
117
|
-
ignored_states.include?(s.current_state)
|
113
|
+
|
114
|
+
def scenario_features(excluded_states = %w(unscheduled unstarted))
|
115
|
+
project.stories(scenario_word, :includedone => true).reject do |s|
|
116
|
+
Array(excluded_states).map {|s| s.to_s}.include?(s.current_state)
|
118
117
|
end.select do |s|
|
119
118
|
s.to_s =~ /^\s*#{Regexp.escape(project.scenario_word)}:/ && project.parser.parse(s.to_s)
|
120
119
|
end
|
data/pickler.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "pickler"
|
3
|
-
s.version = "0.0.9.
|
3
|
+
s.version = "0.0.9.11"
|
4
4
|
s.summary = "PIvotal traCKer Liaison to cucumbER"
|
5
5
|
s.description = "Synchronize between Cucumber and Pivotal Tracker"
|
6
6
|
s.authors = ["Tim Pope", "Liam Morley", "Kamal Fariz Mahyuddin", "Kosmas Schuetz"]
|