pickler 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.rdoc +14 -3
  2. data/lib/pickler/runner.rb +5 -2
  3. data/pickler.gemspec +4 -4
  4. metadata +18 -12
@@ -27,7 +27,8 @@ feature's body. Keep this in mind when entering stories into Pivotal Tracker.
27
27
 
28
28
  pickler pull
29
29
 
30
- Download all well formed stories to the features/ directory.
30
+ Download all well formed stories (those in valid Cucumber syntax with at least
31
+ one scenario in them) to the features/ directory.
31
32
 
32
33
  pickler push
33
34
 
@@ -37,9 +38,16 @@ Upload all features with a tracker url in a comment on the first line.
37
38
 
38
39
  List all stories matching the given query.
39
40
 
40
- pickler start <story>
41
+ pickler start <story> <name>
41
42
 
42
- Pull a given feature and change its state to started.
43
+ Pull a given feature to features/<name>.feature and change its state to
44
+ started.
45
+
46
+ pickler start <story> -
47
+
48
+ Pull a given feature to a file name based on the title and change its state to
49
+ started. (I use this more than any other command, and you probably should,
50
+ too).
43
51
 
44
52
  pickler finish <story>
45
53
 
@@ -59,6 +67,9 @@ Pull requests will be ignored if they don't follow the Git convention of
59
67
  a 50 character or less subject and optional paragraphs wrapped to 72
60
68
  characters. See http://stopwritingramblingcommitmessages.com/.
61
69
 
70
+ If I provide you with feedback on your pull request, generally you should
71
+ squash your changes into the previous commit when submitting a second request.
72
+
62
73
  == Disclaimer
63
74
 
64
75
  No warranties, expressed or implied.
@@ -156,7 +156,7 @@ class Pickler
156
156
  story.notes.each do |note|
157
157
  puts
158
158
  puts " #{colorize('01', note.author)} (#{note.date})"
159
- puts *note.lines(72).map {|l| " #{l}".rstrip}
159
+ puts(*note.lines(72).map {|l| " #{l}".rstrip})
160
160
  end
161
161
  end
162
162
 
@@ -314,7 +314,10 @@ new stories.
314
314
  banner_arguments "[story] ..."
315
315
  summary "Download stories"
316
316
  description <<-EOF
317
- Download the given story or all well formed stories to the features/ directory.
317
+ Download the given story story to the features/ directory. With no arguments,
318
+ downloads all stories that look like Cucumber features (with "Scenario:" and
319
+ valid Cucumber syntax). The version without arguments is mainly useful for
320
+ syncing existing features.
318
321
  EOF
319
322
 
320
323
  process do |*args|
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "pickler"
3
- s.version = "0.1.7"
3
+ s.version = "0.1.8"
4
4
 
5
5
  s.summary = "PIvotal traCKer Liaison to cucumbER"
6
6
  s.description = "Synchronize between Cucumber and Pivotal Tracker"
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
24
24
  "lib/pickler/tracker/note.rb"
25
25
  ]
26
26
  s.add_runtime_dependency("crack", [">= 0.1.8"])
27
- s.add_runtime_dependency("cucumber", ["~> 0.8.5"])
28
- s.add_development_dependency("rspec", ["~> 1.3.0"])
29
- s.add_development_dependency("fakeweb", ["~> 1.2.0"])
27
+ s.add_runtime_dependency("cucumber", ["~> 0.9.2"])
28
+ s.add_development_dependency("rspec", ["~> 2.0.0"])
29
+ s.add_development_dependency("fakeweb", ["~> 1.3.0"])
30
30
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 7
9
- version: 0.1.7
8
+ - 8
9
+ version: 0.1.8
10
10
  platform: ruby
11
11
  authors:
12
12
  - Tim Pope
@@ -14,13 +14,14 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-08-19 00:00:00 -04:00
17
+ date: 2010-11-17 00:00:00 -05:00
18
18
  default_executable: pickler
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: crack
22
22
  prerelease: false
23
23
  requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
24
25
  requirements:
25
26
  - - ">="
26
27
  - !ruby/object:Gem::Version
@@ -35,42 +36,45 @@ dependencies:
35
36
  name: cucumber
36
37
  prerelease: false
37
38
  requirement: &id002 !ruby/object:Gem::Requirement
39
+ none: false
38
40
  requirements:
39
41
  - - ~>
40
42
  - !ruby/object:Gem::Version
41
43
  segments:
42
44
  - 0
43
- - 8
44
- - 5
45
- version: 0.8.5
45
+ - 9
46
+ - 2
47
+ version: 0.9.2
46
48
  type: :runtime
47
49
  version_requirements: *id002
48
50
  - !ruby/object:Gem::Dependency
49
51
  name: rspec
50
52
  prerelease: false
51
53
  requirement: &id003 !ruby/object:Gem::Requirement
54
+ none: false
52
55
  requirements:
53
56
  - - ~>
54
57
  - !ruby/object:Gem::Version
55
58
  segments:
56
- - 1
57
- - 3
59
+ - 2
58
60
  - 0
59
- version: 1.3.0
61
+ - 0
62
+ version: 2.0.0
60
63
  type: :development
61
64
  version_requirements: *id003
62
65
  - !ruby/object:Gem::Dependency
63
66
  name: fakeweb
64
67
  prerelease: false
65
68
  requirement: &id004 !ruby/object:Gem::Requirement
69
+ none: false
66
70
  requirements:
67
71
  - - ~>
68
72
  - !ruby/object:Gem::Version
69
73
  segments:
70
74
  - 1
71
- - 2
75
+ - 3
72
76
  - 0
73
- version: 1.2.0
77
+ version: 1.3.0
74
78
  type: :development
75
79
  version_requirements: *id004
76
80
  description: Synchronize between Cucumber and Pivotal Tracker
@@ -104,6 +108,7 @@ rdoc_options: []
104
108
  require_paths:
105
109
  - lib
106
110
  required_ruby_version: !ruby/object:Gem::Requirement
111
+ none: false
107
112
  requirements:
108
113
  - - ">="
109
114
  - !ruby/object:Gem::Version
@@ -111,6 +116,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
111
116
  - 0
112
117
  version: "0"
113
118
  required_rubygems_version: !ruby/object:Gem::Requirement
119
+ none: false
114
120
  requirements:
115
121
  - - ">="
116
122
  - !ruby/object:Gem::Version
@@ -120,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
126
  requirements: []
121
127
 
122
128
  rubyforge_project:
123
- rubygems_version: 1.3.6
129
+ rubygems_version: 1.3.7
124
130
  signing_key:
125
131
  specification_version: 3
126
132
  summary: PIvotal traCKer Liaison to cucumbER