nofxx-pickler 0.1.1 → 0.1.2

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/README.rdoc CHANGED
@@ -16,6 +16,7 @@ containing a tracker.yml file.
16
16
  pickler --help
17
17
 
18
18
  "ssl" defaults to false if not configured in the yml file.
19
+ "username" is the keyword to use in 'todo' search, your name or initials.
19
20
 
20
21
  For details about the Pivotal Tracker API, including where to find your API
21
22
  token and project id, see http://www.pivotaltracker.com/help/api .
@@ -58,13 +59,13 @@ Push a given feature and change its state to finished.
58
59
 
59
60
  List all stories assigned to your username.
60
61
 
61
- pickler open bug Something
62
+ pickler bug Something
62
63
 
63
- Opens a bug with "Something" as title.
64
+ Opensi a bug with "Something" as title. Try "chore" too.
64
65
 
65
- pickler bug Something
66
+ pickler bug
66
67
 
67
- Same. Try "chore" too.
68
+ If you don`t provide a title, pickler will open your $EDITOR.
68
69
 
69
70
  pickler --help
70
71
 
@@ -76,7 +77,8 @@ Further help for a given command.
76
77
 
77
78
  piv <command>
78
79
 
79
- For your fingers sake.
80
+ Alias for your fingers sake.
81
+
80
82
 
81
83
  == Disclaimer
82
84
 
@@ -466,7 +466,7 @@ Requires launchy (gem install launchy).
466
466
  st = Pickler::Tracker::Story.new(pickler.project)
467
467
  st.story_type = type
468
468
  st.name = title
469
- st.description = paragraphs.join("\n")
469
+ st.description = paragraphs.join
470
470
  puts st.save ? "#{type.capitalize} created." : "Problems..."
471
471
  end
472
472
  end
@@ -14,6 +14,12 @@ class Pickler
14
14
 
15
15
  def initialize(token, ssl = false)
16
16
  require 'active_support'
17
+ # Use nokogiri when avaiable
18
+ begin
19
+ require 'nokogiri'
20
+ ActiveSupport::XmlMini.backend = 'Nokogiri'
21
+ rescue MissingSourceFile
22
+ end
17
23
  @token = token
18
24
  @ssl = ssl
19
25
  end
data/lib/pickler.rb CHANGED
@@ -147,7 +147,7 @@ class Pickler
147
147
  exit 1
148
148
  end
149
149
  File.open message_path, "a+", &file_proc(type)
150
- return @message.shift.strip, @message.join("\n")#.strip #gsub(/\n\n/, "\n")#.strip
150
+ return @message.shift.strip, @message
151
151
  end
152
152
 
153
153
  def delete_message
data/pickler.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "pickler"
3
- s.version = "0.1.1"
3
+ s.version = "0.1.2"
4
4
 
5
5
  s.summary = "PIvotal traCKer Liaison to cucumbER"
6
6
  s.description = "Synchronize between Cucumber and Pivotal Tracker"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nofxx-pickler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Pope