checklister 0.9.5 → 0.9.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2c4f8292b102faa5816ffb45782ddea41d891861
4
- data.tar.gz: 969a43bbbd9d81141e21ba2fccf6b0eebd8fe41f
3
+ metadata.gz: 8d92fa9a6032808dad696f66b30035e18ab4d147
4
+ data.tar.gz: e3b58c1b41cbc79d4c5c4a475d4fec7356eafeb1
5
5
  SHA512:
6
- metadata.gz: 8b59c8df39e808d2e79f8db3b65603b0c882df0cfc44adb0e5b0d2a1d92fa216eeedb99c40a2d9e8fdd26ddadf52a618b9f2dd8a4cdcf01211b683ffa4925dd7
7
- data.tar.gz: 1e344a97012d2242142782923a7f3c880d33173778caad9775b881882c19acd6e931ca3426815369254272dd391bea067fd4ddc3a608ced5cd2fc0c5b3022e01
6
+ metadata.gz: 536e179b42b17e1a3a05f16918283b358e77520b8ab593251bdef7cb9ede85e2b912b81265be7cc3e8b804ffaed3327bd4affc86406a8d88877325441ce42516
7
+ data.tar.gz: 2e84eb8d43fdd27ade4825b40bc9b233d61e4ef68de05424b51c0aee1a15656a36143c029d9a980f511cf081394e187598af11095dd0ebdd0490d474ba30064e
data/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.
3
3
 
4
4
  NOTE: the project follows [Semantic Versioning](http://semver.org/).
5
5
 
6
+ ## 0.9.6 - 2015-09-30
7
+
8
+ - [improvement] When displaying a list of projects to select from, display and pick index instead of project's id
9
+
6
10
  ## 0.9.5 - 2015-09-29
7
11
 
8
12
  ### Added
data/README.md CHANGED
@@ -34,6 +34,18 @@ Source: http://atulgawande.com/book/the-checklist-manifesto/
34
34
  * RubyGems 1.9+
35
35
  * a Gitlab and/or Github user authentication token
36
36
 
37
+ #### Find your Github token
38
+
39
+ [Follow this video tutorial.](https://www.dropbox.com/s/smnc1qdklwadvzu/Github%20token.mp4?dl=0)
40
+
41
+ #### Find your Gitlab token (v7)
42
+
43
+ [Follow this video tutorial.](https://www.dropbox.com/s/cob01skd1jbp2ha/Old%20Gitbal%20token.mp4?dl=0)
44
+
45
+ #### Find your Gitlab token (v8)
46
+
47
+ [Follow this video tutorial.](https://www.dropbox.com/s/e12pmlk5416hlac/Gitlab%20token.mp4?dl=0)
48
+
37
49
  ### Install/Update gem
38
50
 
39
51
  ```bash
@@ -60,12 +72,6 @@ $ checklister settings
60
72
  $ checklister new --checklist /path/to/simple-checklist.md
61
73
  ```
62
74
 
63
- or for a remote path (NOT IMPLEMENTED YET)
64
-
65
- ```bash
66
- $ checklister new --checklist https://raw.githubusercontent.com/benichu/checklister/master/examples/simple-checklist.md
67
- ```
68
-
69
75
  In this example, the initial markdown file at `https://raw.githubusercontent.com/benichu/checklister/master/examples/simple-checklist.md` is the following :
70
76
 
71
77
  ![Simple Checklist](http://i.imgur.com/KUXThqu.png)
@@ -137,7 +143,7 @@ To prepare a release, run `script/release`. This will package a new version of t
137
143
 
138
144
  ### Version 1.0
139
145
 
140
- - [ ] [improvements] CLI improvements based on first test run with real users
146
+ - [x] [improvements] CLI improvements based on first test run with real users
141
147
  - [ ] [documentation] Yard documentation updated
142
148
  - [x] [feature] Connect to github account
143
149
 
data/bin/checklister CHANGED
@@ -127,12 +127,12 @@ command :new do |c|
127
127
  project_like = STDIN.gets.chomp
128
128
  projects = project_client.filtered_by_name(project_like)
129
129
  default_project_id = projects.first[:id]
130
- projects.each do |project|
131
- puts "%-5s %-100s" % ["[#{project[:id]}]", project[:name]]
130
+ projects.each_with_index do |project, index|
131
+ puts "%-5s %-100s" % ["[#{index}]", project[:name]]
132
132
  end
133
- puts "* Pick your project Id, defaults to [#{default_project_id}]"
133
+ puts "* Pick your project, defaults to [0]"
134
134
  choice = STDIN.gets.chomp
135
- project_id = choice == "" ? default_project_id : choice
135
+ project_id = choice == "" ? default_project_id : projects[choice.to_i][:id]
136
136
  project = project_client.get(project_id)
137
137
  puts "* Creating a checklist issue from #{checklist_path}"
138
138
  puts " to the project: #{project[:name]}"
@@ -1,3 +1,3 @@
1
1
  module Checklister
2
- VERSION = "0.9.5"
2
+ VERSION = "0.9.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: checklister
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.5
4
+ version: 0.9.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Thouret