whiskey_disk 0.6.23 → 0.6.24

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/CHANGELOG CHANGED
@@ -1,4 +1,9 @@
1
1
 
2
+ 0.6.24 / 2011-10-05
3
+ ==================
4
+
5
+ * fix hashify_domain_filter for ruby 1.9.2 (closes issue #29)
6
+
2
7
  0.6.23 / 2011-09-29
3
8
  ==================
4
9
 
@@ -826,6 +826,8 @@ The IRC channel is #whiskey_disk on freenode.
826
826
  - [Kevin Barnes](https://github.com/vinbarnes): design help, code
827
827
  - [Alex Sharp](https://github.com/ajsharp): issues, real-world usage cases, design help
828
828
  - [Yossef Mendelssohn](https://github.com/ymendel): design help, proofreading
829
- - [Josh Moore](https://github.com/joshsmoore): bug-hunting
829
+ - [Aaron Kalin](https://github.com/martinisoft) - bug hunting
830
+ - [Brandon Valentine](https://github.com/brandonvalentine) - help with bug fixing
831
+ - [Josh Moore](https://github.com/joshsmoore): bug hunting
830
832
 
831
833
  - Documentation/feedback: [Cristi Balan](https://github.com/evilchelu), [Hedgehog](http://github.com/hedgehog)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.23
1
+ 0.6.24
@@ -6,18 +6,18 @@ class WhiskeyDisk
6
6
  def needs_hashing?(domain)
7
7
  ! domain.respond_to?(:keys)
8
8
  end
9
-
9
+
10
10
  def hashify_domain(domain)
11
11
  needs_hashing?(domain) ? { 'name' => domain } : domain
12
12
  end
13
-
13
+
14
14
  def new_domain
15
15
  { 'name' => '' }
16
16
  end
17
-
17
+
18
18
  def hashify_domains(domain_list)
19
19
  return new_domain unless domain_list
20
- domain_list.collect {|domain| hashify_domain(domain) }
20
+ [ domain_list ].flatten.collect {|domain| hashify_domain(domain) }
21
21
  end
22
22
 
23
23
  def filter(data)
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "whiskey_disk"
8
- s.version = "0.6.23"
8
+ s.version = "0.6.24"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Rick Bradley"]
12
- s.date = "2011-09-30"
12
+ s.date = "2011-10-05"
13
13
  s.description = "Opinionated gem for doing fast git-based server deployments."
14
14
  s.email = "rick@rickbradley.com"
15
15
  s.executables = ["wd_role", "wd"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: whiskey_disk
3
3
  version: !ruby/object:Gem::Version
4
- hash: 41
4
+ hash: 55
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 23
10
- version: 0.6.23
9
+ - 24
10
+ version: 0.6.24
11
11
  platform: ruby
12
12
  authors:
13
13
  - Rick Bradley
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-09-30 00:00:00 Z
18
+ date: 2011-10-05 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rake