Bacon_FS_Matchers 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{Bacon_FS_Matchers}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = [%q{da99}]
12
- s.date = %q{2011-08-17}
12
+ s.date = %q{2011-08-22}
13
13
  s.description = %q{Includes matchers: a_file, a_directory, etc.}
14
14
  s.email = %q{i-hate-spam-45671204@mailinator.com}
15
15
  s.extra_rdoc_files = [
@@ -44,14 +44,14 @@ Gem::Specification.new do |s|
44
44
  s.specification_version = 3
45
45
 
46
46
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
47
- s.add_runtime_dependency(%q<Shell_Helpers>, [">= 0"])
47
+ s.add_runtime_dependency(%q<Shell_Helpers>, [">= 0.3.0"])
48
48
  s.add_development_dependency(%q<bacon>, [">= 0"])
49
49
  s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
50
50
  s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
51
51
  s.add_development_dependency(%q<rcov>, [">= 0"])
52
52
  s.add_development_dependency(%q<Gem_Raker_da99>, [">= 0"])
53
53
  else
54
- s.add_dependency(%q<Shell_Helpers>, [">= 0"])
54
+ s.add_dependency(%q<Shell_Helpers>, [">= 0.3.0"])
55
55
  s.add_dependency(%q<bacon>, [">= 0"])
56
56
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
57
57
  s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
@@ -59,7 +59,7 @@ Gem::Specification.new do |s|
59
59
  s.add_dependency(%q<Gem_Raker_da99>, [">= 0"])
60
60
  end
61
61
  else
62
- s.add_dependency(%q<Shell_Helpers>, [">= 0"])
62
+ s.add_dependency(%q<Shell_Helpers>, [">= 0.3.0"])
63
63
  s.add_dependency(%q<bacon>, [">= 0"])
64
64
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
65
65
  s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
data/Gemfile CHANGED
@@ -2,7 +2,7 @@ source "http://rubygems.org"
2
2
  # Add dependencies required to use your gem here.
3
3
  # Example:
4
4
  # gem "activesupport", ">= 2.3.5"
5
- gem "Shell_Helpers"
5
+ gem "Shell_Helpers", ">= 0.3.0"
6
6
 
7
7
  # Add dependencies to develop your gem here.
8
8
  # Include everything needed to run rake, tests, features, etc.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -37,7 +37,7 @@ class Bacon_FS_Matchers
37
37
 
38
38
  def owned_and_in( user )
39
39
  lambda { |obj|
40
- actual = permissions(obj).split[1,2]
40
+ actual = permissions(obj)[1,2]
41
41
  desired = [ user, user ]
42
42
  if actual == desired
43
43
  true
@@ -49,7 +49,7 @@ class Bacon_FS_Matchers
49
49
 
50
50
  def have_permissions str
51
51
  lambda { |obj|
52
- actual = permissions(obj).split.first
52
+ actual = permissions(obj).first
53
53
  desired = str
54
54
  if actual == desired
55
55
  true
data/spec/main.rb CHANGED
@@ -1,5 +1,4 @@
1
1
  require File.expand_path('spec/spec_helper')
2
- require 'Bacon_FS_Matchers'
3
2
 
4
3
  FOLDER = "/tmp/BACON_FS_MATCHERS"
5
4
  %x! mkdir -p #{FOLDER} !
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Bacon_FS_Matchers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,22 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-08-17 00:00:00.000000000Z
12
+ date: 2011-08-22 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: Shell_Helpers
16
- requirement: &21021420 !ruby/object:Gem::Requirement
16
+ requirement: &6029140 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
- version: '0'
21
+ version: 0.3.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *21021420
24
+ version_requirements: *6029140
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: bacon
27
- requirement: &21019840 !ruby/object:Gem::Requirement
27
+ requirement: &6028020 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *21019840
35
+ version_requirements: *6028020
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: bundler
38
- requirement: &21017600 !ruby/object:Gem::Requirement
38
+ requirement: &6026860 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 1.0.0
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *21017600
46
+ version_requirements: *6026860
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: jeweler
49
- requirement: &21012800 !ruby/object:Gem::Requirement
49
+ requirement: &6025280 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 1.6.4
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *21012800
57
+ version_requirements: *6025280
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: rcov
60
- requirement: &21010920 !ruby/object:Gem::Requirement
60
+ requirement: &6023760 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '0'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *21010920
68
+ version_requirements: *6023760
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: Gem_Raker_da99
71
- requirement: &21009160 !ruby/object:Gem::Requirement
71
+ requirement: &6022240 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,7 +76,7 @@ dependencies:
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *21009160
79
+ version_requirements: *6022240
80
80
  description: ! 'Includes matchers: a_file, a_directory, etc.'
81
81
  email: i-hate-spam-45671204@mailinator.com
82
82
  executables: []
@@ -116,7 +116,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
116
116
  version: '0'
117
117
  segments:
118
118
  - 0
119
- hash: -3029710945020247774
119
+ hash: 3141586923638519899
120
120
  required_rubygems_version: !ruby/object:Gem::Requirement
121
121
  none: false
122
122
  requirements: