pivotal-to-trello 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/pivotal_to_trello/core.rb +1 -1
- data/pivotal-to-trello.gemspec +2 -2
- data/spec/pivotal_to_trello/core_spec.rb +7 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4eb4bfc61b49c49a3ff14337f7e2816505de9ba
|
4
|
+
data.tar.gz: 0867d6cd6f87df13ed5fc67f743a71891ab4551a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5cf3a5598818af37390a4e48c4e8e608fdf411eee2befe6c63eb9af726791ba4cda5703f410a9204b732b64148998353483bf416904e557c0ef3a379c4c28224
|
7
|
+
data.tar.gz: 3875769ce9abb1ff6babfeb9fcdc24d4fb7c5b14cae104acf0b7416cbc02fceb07f3f1e87bd20996db059145575ebf62e9864da6629d1f2bd71c6c369fb05b4c
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
data/pivotal-to-trello.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: pivotal-to-trello 0.1.
|
5
|
+
# stub: pivotal-to-trello 0.1.2 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "pivotal-to-trello"
|
9
|
-
s.version = "0.1.
|
9
|
+
s.version = "0.1.2"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
@@ -96,6 +96,13 @@ describe 'Core' do
|
|
96
96
|
trello.should_receive(:add_label).with(card, core.options.bug_label)
|
97
97
|
core.import!
|
98
98
|
end
|
99
|
+
|
100
|
+
it 'ignores nil labels' do
|
101
|
+
core.options.stub(:bug_label => nil)
|
102
|
+
story.stub(:story_type => 'bug')
|
103
|
+
trello.should_not_receive(:add_label)
|
104
|
+
core.import!
|
105
|
+
end
|
99
106
|
end
|
100
107
|
end
|
101
108
|
end
|