copypasta 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -0
- data/lib/copypasta/plan.rb +0 -1
- data/lib/copypasta/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6204cf19681cf54ae9e2ef3f9ce9d4159d8ca039544bbeb7fe19eb9aae0c805e
|
4
|
+
data.tar.gz: a25282008ceec4e54b1d4694b4621c0adfa97d8aa8d20ca1b2b4d0b0d94471b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aad4286aec2dfe62f84aadfdeb39fcbe671c31b7e6cb32ac4ee347023e46a8f579a47a04eae676c352a2dc502e3c49fa75ced67eb2b1b2292358769a740bab85
|
7
|
+
data.tar.gz: 45f87db15988536804a8a5020276aad9a36f51a3f9272b210d9f6f8acbd9c2c0bcaa0d1704be4c90b2671d5f6f52d17380ddf44c8e76d8e6fe347ed713186e20
|
data/README.md
CHANGED
@@ -7,6 +7,9 @@ there's no unified way that works on a CLI, embedded in your app, or in Chef.
|
|
7
7
|
|
8
8
|
So I decided to thereifixedit the whole thing.
|
9
9
|
|
10
|
+
Copypasta is tested primarily under Ruby 2.5. Feel free to file bugs for Ruby
|
11
|
+
2.3 or later.
|
12
|
+
|
10
13
|
## Usage ##
|
11
14
|
Copypasta works on the concept of a `Plan`. A `Plan` is a directory structure
|
12
15
|
that mimics the final data structure while offering a DSL that figures out what,
|
data/lib/copypasta/plan.rb
CHANGED
@@ -14,7 +14,6 @@ module Copypasta
|
|
14
14
|
raise "'contents' must be an Array of Copypasta::Contents." \
|
15
15
|
unless contents.is_a?(Array) && contents.all? { |c| c.is_a?(Copypasta::Contents) }
|
16
16
|
|
17
|
-
@root = root.dup.freeze
|
18
17
|
@settings = settings.dup.freeze
|
19
18
|
@contents = contents.dup.freeze
|
20
19
|
end
|
data/lib/copypasta/version.rb
CHANGED