pivotxt 0.1.0 → 0.1.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.
Files changed (5) hide show
  1. data/VERSION +1 -1
  2. data/bin/pivotxt +4 -1
  3. data/lib/pivotxt.rb +1 -2
  4. data/pivotxt.gemspec +2 -2
  5. metadata +4 -4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
data/bin/pivotxt CHANGED
@@ -1,7 +1,10 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- $:.unshift(File.join(File.dirname(File.dirname(__FILE__)), '..', 'lib'))
4
3
  require 'rubygems'
4
+ require 'bundler/setup'
5
+
6
+ $:.unshift(File.join(File.dirname(File.dirname(__FILE__)), '..', 'lib'))
7
+
5
8
  require 'pivotxt'
6
9
  require 'optparse'
7
10
 
data/lib/pivotxt.rb CHANGED
@@ -29,12 +29,11 @@ class Pivotxt
29
29
  labeled_groups.each do |labeled_group|
30
30
  labels = labeled_group[:labels]
31
31
  stories = labeled_group[:stories]
32
- stories.each do |story|
32
+ stories.reverse.each do |story|
33
33
  title = story[:title].value
34
34
  description = story[:description].value
35
35
  @project.stories.create(:name => title, :description => description, :labels => labels, :story_type => story[:type].to_s)
36
36
  end
37
37
  end
38
-
39
38
  end
40
39
  end
data/pivotxt.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{pivotxt}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Gabe Hollombe"]
12
- s.date = %q{2010-10-01}
12
+ s.date = %q{2010-12-14}
13
13
  s.default_executable = %q{pivotxt}
14
14
  s.description = %q{Pivotxt lets you easily create stories in Pivotal Tracker from a simple text file.}
15
15
  s.email = %q{gabe@avantbard.com}
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pivotxt
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Gabe Hollombe
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-10-01 00:00:00 +10:00
18
+ date: 2010-12-14 00:00:00 +11:00
19
19
  default_executable: pivotxt
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency