charter 0.0.12 → 0.0.13

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: 7fa05234dff0ef11d882739947534ae9be9258d3
4
- data.tar.gz: 554c9c299ef81b4c42ce93742a8a996c41250bf3
3
+ metadata.gz: 3e23c96fd443c26400992cf0930f7756e1b3f34b
4
+ data.tar.gz: be42190dbc2d9361ca1ad54f3544b7d8a07c9cee
5
5
  SHA512:
6
- metadata.gz: f826c2d49e16561a8cce3297da105219411f1ad4d198e7fa89a8cbe75a564c1d9e3c3b592258c7f4e0c24f60675faf4c73eb7381a1f3cf333000739c37d13d98
7
- data.tar.gz: 46f0d3e61e46a97dd48e7e9319419eeb6b0607ebe97bd8ff163d060bf94368e431052f57b94247138de9e597d7b15e2935c6d2d15d3dcff895b9993cd4a7e14e
6
+ metadata.gz: 9189941574fef7e36f602f70e7948e6821e87d6a7f984ed3e5c9903d2a15d25176a886d64a625853444235301dc018df961361ff4bdd6aea9f3073ee41fa3ff1
7
+ data.tar.gz: f8a647ae5bb4a6a75c66c8e379c63bc828ae740a57c358dd8d57dcf4c2a09c4e3674510749fcc97ee6f50f42c5d37458f4e050ec133ba6bd685e43f9d852eb0e
data/README.md CHANGED
@@ -2,12 +2,7 @@
2
2
  Charter was created as a Ruby gem and is available through Rubygems.org. Installation is as simple as:
3
3
  <code>[sudo] gem install charter</code>
4
4
 
5
- After installing the gem, create a ~/.charterrc file and add the following:
6
- ```
7
- ---
8
- session_folder: "/Where/The/Charters/Will/Save/To"
9
- tester: Your Name Here
10
- ```
5
+ After installing the gem, run <code>charter config</code> to set charter up
11
6
  ##Usage
12
7
  charter [global options] command [command options] [arguments...]
13
8
 
@@ -19,7 +14,7 @@ Creating a new charter is as easy as <code>charter start "My charter title here"
19
14
  <code>charter bug "This is my bug"</code> or <code>charter bug -s "My bug"</code> : Add a bug with or without a screenshot
20
15
  <code>charter note</code> : Add a note
21
16
  <code>charter tag "Login"</code> : Add a tag to the charter
22
- <code>charter finish</code> or <code>charter finish -e</code> : Remove any remaining placeholders and optionally export the charter in HTML
17
+ <code>charter finish</code> Remove any remaining placeholders
23
18
  <code>charter find Login</code> : Find all charters with a given tag
24
19
 
25
20
  See an example charter [here](http://testwith.me/charter-example/)
@@ -2,7 +2,8 @@ require 'yaml/store'
2
2
 
3
3
  class ConfigStore
4
4
  def initialize(input = nil)
5
- @store = YAML::Store.new("config.yml")
5
+ Dir.chdir Dir.home
6
+ @store = YAML::Store.new("charter_config.yml")
6
7
  end
7
8
 
8
9
  def write(key,value)
data/lib/charter/doc.rb CHANGED
@@ -80,8 +80,9 @@ class Doc
80
80
 
81
81
  def find_files_with_tags(tag)
82
82
  files = %x(grep -rnw -l --include=*.md #{@config['session_folder']} -e '@#{tag}').split('\n')
83
+ puts "No charters with that tag" unless files.length > 0
83
84
  files.each do |file|
84
- puts file.split('/')[-1]
85
+ puts file.split('/')
85
86
  end
86
87
  end
87
88
 
@@ -1,3 +1,3 @@
1
1
  module Charter
2
- VERSION = '0.0.12'
2
+ VERSION = '0.0.13'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: charter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Grossman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-20 00:00:00.000000000 Z
11
+ date: 2014-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake