git-start 0.2.0 → 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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2a9a95b2ce4c521709ba75de6f1b75fa3d0e1efc
4
- data.tar.gz: 8854acf737bb91c71ccfb1c8f1e52c32d11116b2
3
+ metadata.gz: fa77f196a5c6c5bde1bb767336e2fc09d96f6014
4
+ data.tar.gz: f3fd57c3db6513ed9f0ce1343f6e12ff110a1511
5
5
  SHA512:
6
- metadata.gz: 2c28802958aff3fe2540ef2d18a2c99b1e95c72d7c514230829b9d5dc87fec7d5893e19105c3e39b725d6619d03778010e9f3e886cc5342b2dd2f3e959f0acfb
7
- data.tar.gz: 2c7e46edea63203033394f99c97914b100f3d46445ac6c8fc9bf743de0d37719381ecd7214c9ab545c174cd4e9581ba5643a7912034d409b0e70c3e7b4582d87
6
+ metadata.gz: 63cbdba8b877d191988da4e1aaa9250c6439bc6c0fc040a61e6353499c12ee05d0b5ebf7b3bd2c423034e2b144203e6ae422b933eabc67211f27b8819750a442
7
+ data.tar.gz: 32eb74993b0260b053bde063ec01116f2601e5cfad6669b31c8cd88a888dcd28b7a75686b08c0e9ba0f3a6934455ed000804fe818e732d30fe8abbdf411593f6
@@ -1,6 +1,12 @@
1
1
  # Changelog
2
2
 
3
3
 
4
+ ## 0.2.1
5
+
6
+ * #2: A Chore story in PivotalTracker needs to be set to “accepted” rather than “finished”
7
+
8
+
9
+
4
10
  ## 0.2.0
5
11
 
6
12
  * Set PivotalTracker story to finished when done
data/README.md CHANGED
@@ -3,10 +3,11 @@
3
3
  `git start`—a Git workflow helper that:
4
4
 
5
5
  * Shows all your PivotalTracker stories
6
- * Creates feature/bug/chore branches for a chosen story
6
+ * Creates feature/bug/chore branches (e.g. feature/4711-create-profile) for a chosen story
7
7
  **Bonus:** you can also create a new story in the command line
8
+ * Asks to estimate the story if needed
8
9
  * Sets the story started
9
- * _Optional:_ Outputs a summary of the story to the command line
10
+ * _Optional:_ Outputs a summary of the story to the command line (incl. description, tasks, and link to story)
10
11
 
11
12
  `git finish`—to call after you finished the story:
12
13
 
@@ -16,6 +17,9 @@
16
17
  * _Optional:_ Opens a GitHub pull request (incl. link to the corresponding PivotalTracker story)
17
18
  * Checks out *master*
18
19
 
20
+ The first questions will only be asked once:
21
+ ![git-start-demo](https://cloud.githubusercontent.com/assets/103399/5758653/6e2229c4-9cc7-11e4-9b49-c05e87817499.png)
22
+ ![git-start-pull-request](https://cloud.githubusercontent.com/assets/103399/5758752/5f7af6de-9cc8-11e4-8e04-f968ee6acf94.png)
19
23
 
20
24
  ## Setup
21
25
 
@@ -24,3 +28,24 @@ gem install git-start
24
28
  ```
25
29
 
26
30
  Other configuration happens on the fly. All information will be requested when needed.
31
+
32
+
33
+ ## Work in Progress
34
+
35
+ This is brand new but at [Homify](https://www.homify.co.uk) we’re using it for our workflows. It is mostly done, feedback is welcome, and [GitHub issues integration](https://github.com/hagenburger/git-start/issues/1) as alternative to PivotalTracker is in the planning. Other tools should be easy to integrate. Have a look into the source or ping me [on Twitter](https://twitter.com/hagenburger). If you have a better name for this, let me know ;)
36
+
37
+
38
+ ## Contributing
39
+
40
+ 1. Fork it
41
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
42
+ 3. Commit your changes (`git commit -am 'add some awesome feature'`)
43
+ 4. Push to the branch (`git push origin my-new-feature`)
44
+ 5. Create new Pull Request
45
+
46
+
47
+ ## Copyright
48
+
49
+ Copyright 2015 [Nico Hagenburger](http://www.hagenburger.net).
50
+ See [MIT-LICENSE.txt](MIT-LICENSE.txt) for details.
51
+ Get in touch with [@hagenburger](http://twitter.com/hagenburger) on Twitter or [open an issue](https://github.com/hagenburger/git-start/issues/new).
@@ -36,7 +36,8 @@ before_finish do
36
36
  end
37
37
 
38
38
  after_finish do
39
- update_story @story.id, current_state: :finished
39
+ new_state = @story.story_type == 'chore' ? 'accepted' : 'finished'
40
+ update_story @story.id, current_state: new_state
40
41
  end
41
42
 
42
43
 
@@ -1,5 +1,5 @@
1
1
  module Git
2
2
  module Start
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-start
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nico Hagenburger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-15 00:00:00.000000000 Z
11
+ date: 2015-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hooks