dir_dsl 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.idea/dir_dsl.iml +1 -0
- data/CHANGES +4 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +2 -0
- data/dir_dsl.gemspec +1 -0
- data/lib/dir_dsl/dir_dsl.rb +3 -1
- data/lib/dir_dsl/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YWU4ZDQwY2E0ZTFlZDQ4NzEwZWQ4ZWMyYTk0NDJiMGM1ZDEzN2VlZg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
N2U0MWQwNWQ5MTViNzc5MTczNWQ4ODZiMTVlODFkYmM0NjYyNmY4MA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YjE2NDYyZjIwZGQ5MjZjZmVjNTZjNTNmN2IyN2FhYWE4ODJhMmI3YjMwYzMw
|
10
|
+
ZjQwMThlZTMwY2UzOGRjZjQxNzBlMzJkNTEwMWExYmM0MWMwZmJkNzYxZTYy
|
11
|
+
ZmUxNDY3OWQxMGZkMTUxZjRjNGFjYzdjMjIzMTQxNTkzZTc0ZDI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ODZmMGNlNzIwNDAyNDc4MGVmMGE3NzJlZjcwMzhmYmJkMDkwYTExMWEwMDgw
|
14
|
+
YjNmYjYzNjZhMWRiOTU2YTQ4MzUxOWYwODMxNmE5ZTg2Y2E4NmZlZDNiM2Fh
|
15
|
+
NmRmNTc5ZjAzOTU0MWQ0MzZkNGNiNTg0ZjExMmZlZjQ4YzNlNmI=
|
data/.idea/dir_dsl.iml
CHANGED
@@ -18,6 +18,7 @@
|
|
18
18
|
<orderEntry type="library" scope="PROVIDED" name="file_utils (v1.0.7, RVM: ruby-1.9.3-p448 [dir_dsl]) [gem]" level="application" />
|
19
19
|
<orderEntry type="library" scope="PROVIDED" name="gemcutter (v0.7.1, RVM: ruby-1.9.3-p448 [dir_dsl]) [gem]" level="application" />
|
20
20
|
<orderEntry type="library" scope="PROVIDED" name="gemspec_deps_gen (v1.1.2, RVM: ruby-1.9.3-p448 [dir_dsl]) [gem]" level="application" />
|
21
|
+
<orderEntry type="library" scope="PROVIDED" name="meta_methods (v1.0.6, RVM: ruby-1.9.3-p448 [dir_dsl]) [gem]" level="application" />
|
21
22
|
<orderEntry type="library" scope="PROVIDED" name="metaclass (v0.0.1, RVM: ruby-1.9.3-p448 [dir_dsl]) [gem]" level="application" />
|
22
23
|
<orderEntry type="library" scope="PROVIDED" name="mocha (v0.14.0, RVM: ruby-1.9.3-p448 [dir_dsl]) [gem]" level="application" />
|
23
24
|
<orderEntry type="library" scope="PROVIDED" name="rspec (v2.14.1, RVM: ruby-1.9.3-p448 [dir_dsl]) [gem]" level="application" />
|
data/CHANGES
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -7,6 +7,7 @@ GEM
|
|
7
7
|
gemspec_deps_gen (1.1.2)
|
8
8
|
bundler
|
9
9
|
file_utils
|
10
|
+
meta_methods (1.0.6)
|
10
11
|
metaclass (0.0.1)
|
11
12
|
mocha (0.14.0)
|
12
13
|
metaclass (~> 0.0.1)
|
@@ -26,5 +27,6 @@ DEPENDENCIES
|
|
26
27
|
file_utils
|
27
28
|
gemcutter
|
28
29
|
gemspec_deps_gen
|
30
|
+
meta_methods
|
29
31
|
mocha
|
30
32
|
rspec
|
data/dir_dsl.gemspec
CHANGED
@@ -17,6 +17,7 @@ Gem::Specification.new do |spec|
|
|
17
17
|
|
18
18
|
|
19
19
|
spec.add_runtime_dependency "file_utils", [">= 0"]
|
20
|
+
spec.add_runtime_dependency "meta_methods", [">= 0"]
|
20
21
|
spec.add_development_dependency "gemspec_deps_gen", [">= 0"]
|
21
22
|
spec.add_development_dependency "gemcutter", [">= 0"]
|
22
23
|
|
data/lib/dir_dsl/dir_dsl.rb
CHANGED
@@ -1,7 +1,9 @@
|
|
1
1
|
require 'file_utils/file_utils'
|
2
|
+
require 'meta_methods/meta_methods'
|
2
3
|
|
3
4
|
class DirDSL
|
4
5
|
include FileUtils
|
6
|
+
include MetaMethods
|
5
7
|
|
6
8
|
attr_reader :from_root, :to_root
|
7
9
|
|
@@ -12,7 +14,7 @@ class DirDSL
|
|
12
14
|
end
|
13
15
|
|
14
16
|
def build(&block)
|
15
|
-
self
|
17
|
+
evaluate_dsl(self, nil, block)
|
16
18
|
end
|
17
19
|
|
18
20
|
def global_ignore ignore
|
data/lib/dir_dsl/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dir_dsl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Shvets
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: file_utils
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - ! '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: meta_methods
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ! '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: gemspec_deps_gen
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|