pra 1.5.0 → 1.5.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.
- checksums.yaml +4 -4
- data/ChangeLog.md +5 -0
- data/lib/pra/config.rb +1 -1
- data/lib/pra/version.rb +1 -1
- data/spec/lib/pra/config_spec.rb +13 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b05dfc4974f5278e4d5087b0fab5d2cc908f9610
|
4
|
+
data.tar.gz: a36c0354adc7ee9d909cb5994a7f50aeba73b7f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30ea96a3f2611358e6aacbe25448ce50c87ea925a0afafe3b722f71ca2855d94ae2b21c8d34505b60672c4b0e17f05b4a36c569ef6498c9509af74b6bae46764
|
7
|
+
data.tar.gz: bd02aa5874a98fcc7337fccdf6eba273e934dbaf0e44679bf0557cd0b61c5fdb8171746881e108e68c7bc3a5132c76b6cc52738b74ba824094bc6ea5a3daea71
|
data/ChangeLog.md
CHANGED
@@ -6,6 +6,11 @@ versions as well as provide a rough history.
|
|
6
6
|
|
7
7
|
#### Next Release
|
8
8
|
|
9
|
+
#### v1.5.1
|
10
|
+
|
11
|
+
* Fix bug where failed if no `assignee_blacklist` was found in config. Thanks
|
12
|
+
to @gfmtim.
|
13
|
+
|
9
14
|
#### v1.5.0
|
10
15
|
|
11
16
|
* Upgraded dependency gems and moved to less pessimisitic versioning
|
data/lib/pra/config.rb
CHANGED
data/lib/pra/version.rb
CHANGED
data/spec/lib/pra/config_spec.rb
CHANGED
@@ -136,10 +136,19 @@ describe Pra::Config do
|
|
136
136
|
end
|
137
137
|
|
138
138
|
describe "#assignee_blacklist" do
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
139
|
+
context 'when config has an assignee blacklist' do
|
140
|
+
it "returns the assignee blacklist value out of the config" do
|
141
|
+
assignee_blacklist_configs = [double('assignee blacklist configs')]
|
142
|
+
subject.instance_variable_set(:@initial_config, { "assignee_blacklist" => assignee_blacklist_configs })
|
143
|
+
subject.assignee_blacklist.should eq(assignee_blacklist_configs)
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
147
|
+
context "when config does not have an assignee blacklist" do
|
148
|
+
it "returns an empty array" do
|
149
|
+
subject.instance_variable_set(:@initial_config, {})
|
150
|
+
subject.assignee_blacklist.should eq([])
|
151
|
+
end
|
143
152
|
end
|
144
153
|
end
|
145
154
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew De Ponte
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|