kosmas58-pickler 0.1.0 → 0.1.0.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.
- data/lib/pickler/feature.rb +1 -0
- data/lib/pickler/tracker/story.rb +2 -2
- data/lib/pickler.rb +1 -1
- data/pickler.gemspec +1 -1
- metadata +1 -1
data/lib/pickler/feature.rb
CHANGED
@@ -52,6 +52,7 @@ class Pickler
|
|
52
52
|
def pull(default = nil)
|
53
53
|
filename = filename() || pickler.features_path("#{default||id}.feature")
|
54
54
|
story = story() # force the read into local_body before File.open below blows it away
|
55
|
+
story.language = pickler.lang
|
55
56
|
File.open(filename,'w') {|f| f.puts story.to_s(pickler.format)}
|
56
57
|
@filename = filename
|
57
58
|
end
|
@@ -8,7 +8,7 @@ class Pickler
|
|
8
8
|
attr_reader :project, :labels
|
9
9
|
reader :url
|
10
10
|
date_reader :created_at, :accepted_at, :deadline
|
11
|
-
accessor :current_state, :name, :description, :owned_by, :requested_by, :story_type
|
11
|
+
accessor :current_state, :name, :description, :owned_by, :requested_by, :story_type, :language
|
12
12
|
|
13
13
|
def initialize(project, attributes = {})
|
14
14
|
@project = project
|
@@ -92,7 +92,7 @@ class Pickler
|
|
92
92
|
when :tag
|
93
93
|
"@#{url}#{labels.map {|l| " @#{l.tr('_,',' _')}"}.join}"
|
94
94
|
else
|
95
|
-
"# #{url}"
|
95
|
+
"# language: #{language}\n# #{url}"
|
96
96
|
end
|
97
97
|
end
|
98
98
|
|
data/lib/pickler.rb
CHANGED
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.0"
|
3
|
+
s.version = "0.1.0.1"
|
4
4
|
s.summary = "PIvotal traCKer Liaison to cucumbER"
|
5
5
|
s.description = "Synchronize between Cucumber and Pivotal Tracker"
|
6
6
|
s.authors = ["Tim Pope", "Liam Morley", "Kamal Fariz Mahyuddin", "Kosmas Schuetz"]
|