file-spec 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +0 -0
- data/.gitignore +0 -0
- data/.rspec +0 -0
- data/LICENSE +0 -0
- data/README.markdown +4 -1
- data/Rakefile +5 -3
- data/VERSION +1 -1
- data/file-spec.gemspec +14 -8
- data/lib/file-spec.rb +0 -0
- data/lib/file_spec/file_helpers/test_dirs.rb +0 -0
- data/lib/file_spec/file_helpers/test_files.rb +0 -0
- data/lib/file_spec/file_helpers/test_symlinks.rb +0 -0
- data/lib/file_spec/matchers/abstract/have_file_item.rb +0 -0
- data/lib/file_spec/matchers/abstract/have_file_items.rb +0 -0
- data/lib/file_spec/matchers/have_dir.rb +0 -0
- data/lib/file_spec/matchers/have_file.rb +0 -0
- data/lib/file_spec/matchers/have_symlink.rb +0 -0
- data/spec/file-spec/matchers/multiple/have_directories_spec.rb +0 -0
- data/spec/file-spec/matchers/multiple/have_files_spec.rb +0 -0
- data/spec/file-spec/matchers/multiple/have_symlinks_spec.rb +0 -0
- data/spec/file-spec/matchers/single/have_directory_spec.rb +0 -0
- data/spec/file-spec/matchers/single/have_file_spec.rb +0 -0
- data/spec/file-spec/matchers/single/have_symlink_spec.rb +0 -0
- data/spec/spec_helper.rb +0 -0
- metadata +43 -11
data/.document
CHANGED
File without changes
|
data/.gitignore
CHANGED
File without changes
|
data/.rspec
CHANGED
File without changes
|
data/LICENSE
CHANGED
File without changes
|
data/README.markdown
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
# File spec
|
2
2
|
|
3
|
-
RSpec 2 matcher to specify expected file structures.
|
3
|
+
RSpec 2 matcher to specify expected file structures.
|
4
|
+
|
5
|
+
This gem is used extensively by some of my Rails 3 assistance gems such as *rails3_assist*, *rails3_artifactor* and *rails-app-spec* which all assist you in
|
6
|
+
operating on various kinds of Rails 3 artifacts.
|
4
7
|
|
5
8
|
## Usage
|
6
9
|
|
data/Rakefile
CHANGED
@@ -7,9 +7,11 @@ begin
|
|
7
7
|
gem.email = "kmandrup@gmail.com"
|
8
8
|
gem.homepage = "http://github.com/kristianmandrup/file-spec"
|
9
9
|
gem.authors = ["Kristian Mandrup"]
|
10
|
-
gem.add_development_dependency "rspec", "
|
11
|
-
|
12
|
-
|
10
|
+
gem.add_development_dependency "rspec", "~> 2.0.0.beta.22"
|
11
|
+
|
12
|
+
gem.add_dependency "rspec", "~> 2.0.0.beta.22"
|
13
|
+
gem.add_dependency "require_all", "~> 1.2.0"
|
14
|
+
gem.add_dependency "activesupport", "~> 3.0.0"
|
13
15
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
14
16
|
end
|
15
17
|
Jeweler::GemcutterTasks.new
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
data/file-spec.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{file-spec}
|
8
|
-
s.version = "0.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 = ["Kristian Mandrup"]
|
12
|
-
s.date = %q{2010-09-
|
12
|
+
s.date = %q{2010-09-25}
|
13
13
|
s.description = %q{RSpec 2 matchers for files, directories and symlinks}
|
14
14
|
s.email = %q{kmandrup@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -62,15 +62,21 @@ Gem::Specification.new do |s|
|
|
62
62
|
s.specification_version = 3
|
63
63
|
|
64
64
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
65
|
-
s.add_development_dependency(%q<rspec>, ["
|
66
|
-
s.add_runtime_dependency(%q<
|
65
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])
|
66
|
+
s.add_runtime_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])
|
67
|
+
s.add_runtime_dependency(%q<require_all>, ["~> 1.2.0"])
|
68
|
+
s.add_runtime_dependency(%q<activesupport>, ["~> 3.0.0"])
|
67
69
|
else
|
68
|
-
s.add_dependency(%q<rspec>, ["
|
69
|
-
s.add_dependency(%q<
|
70
|
+
s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])
|
71
|
+
s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])
|
72
|
+
s.add_dependency(%q<require_all>, ["~> 1.2.0"])
|
73
|
+
s.add_dependency(%q<activesupport>, ["~> 3.0.0"])
|
70
74
|
end
|
71
75
|
else
|
72
|
-
s.add_dependency(%q<rspec>, ["
|
73
|
-
s.add_dependency(%q<
|
76
|
+
s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])
|
77
|
+
s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])
|
78
|
+
s.add_dependency(%q<require_all>, ["~> 1.2.0"])
|
79
|
+
s.add_dependency(%q<activesupport>, ["~> 3.0.0"])
|
74
80
|
end
|
75
81
|
end
|
76
82
|
|
data/lib/file-spec.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/spec/spec_helper.rb
CHANGED
File without changes
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 2
|
9
|
+
version: 0.1.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Kristian Mandrup
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-09-
|
17
|
+
date: 2010-09-25 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -23,32 +23,64 @@ dependencies:
|
|
23
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
24
24
|
none: false
|
25
25
|
requirements:
|
26
|
-
- -
|
26
|
+
- - ~>
|
27
27
|
- !ruby/object:Gem::Version
|
28
28
|
segments:
|
29
29
|
- 2
|
30
30
|
- 0
|
31
31
|
- 0
|
32
32
|
- beta
|
33
|
-
-
|
34
|
-
version: 2.0.0.beta.
|
33
|
+
- 22
|
34
|
+
version: 2.0.0.beta.22
|
35
35
|
type: :development
|
36
36
|
version_requirements: *id001
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
|
-
name:
|
38
|
+
name: rspec
|
39
39
|
prerelease: false
|
40
40
|
requirement: &id002 !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
42
42
|
requirements:
|
43
|
-
- -
|
43
|
+
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
45
|
segments:
|
46
|
-
-
|
47
|
-
-
|
46
|
+
- 2
|
47
|
+
- 0
|
48
48
|
- 0
|
49
|
-
|
49
|
+
- beta
|
50
|
+
- 22
|
51
|
+
version: 2.0.0.beta.22
|
50
52
|
type: :runtime
|
51
53
|
version_requirements: *id002
|
54
|
+
- !ruby/object:Gem::Dependency
|
55
|
+
name: require_all
|
56
|
+
prerelease: false
|
57
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
59
|
+
requirements:
|
60
|
+
- - ~>
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
segments:
|
63
|
+
- 1
|
64
|
+
- 2
|
65
|
+
- 0
|
66
|
+
version: 1.2.0
|
67
|
+
type: :runtime
|
68
|
+
version_requirements: *id003
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: activesupport
|
71
|
+
prerelease: false
|
72
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
segments:
|
78
|
+
- 3
|
79
|
+
- 0
|
80
|
+
- 0
|
81
|
+
version: 3.0.0
|
82
|
+
type: :runtime
|
83
|
+
version_requirements: *id004
|
52
84
|
description: RSpec 2 matchers for files, directories and symlinks
|
53
85
|
email: kmandrup@gmail.com
|
54
86
|
executables: []
|