dandelion 0.1.6 → 0.1.7

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/dandelion/git.rb CHANGED
@@ -27,11 +27,11 @@ module Dandelion
27
27
  end
28
28
 
29
29
  def changed
30
- @files.select { |file, status| ['A', 'C', 'M'].include?(status) }.keys
30
+ @files.to_a.select { |f| ['A', 'C', 'M'].include?(f.last) }.map { |f| f.first }
31
31
  end
32
32
 
33
33
  def deleted
34
- @files.select { |file, status| 'D' == status }.keys
34
+ @files.to_a.select { |f| 'D' == f.last }.map { |f| f.first }
35
35
  end
36
36
 
37
37
  private
@@ -1,3 +1,3 @@
1
1
  module Dandelion
2
- VERSION = '0.1.6'
2
+ VERSION = '0.1.7'
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: dandelion
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.6
5
+ version: 0.1.7
6
6
  platform: ruby
7
7
  authors:
8
8
  - Scott Nelson
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-03-11 00:00:00 -05:00
13
+ date: 2011-03-12 00:00:00 -05:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -84,6 +84,6 @@ rubyforge_project:
84
84
  rubygems_version: 1.5.0
85
85
  signing_key:
86
86
  specification_version: 3
87
- summary: dandelion-0.1.6
87
+ summary: dandelion-0.1.7
88
88
  test_files: []
89
89