neptune_coffee 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/examples/after/geometry/namespace.js +1 -1
- data/examples/after/geometry/solids/namespace.js +1 -1
- data/examples/after/geometry/solids.js +1 -1
- data/examples/after/geometry.js +1 -1
- data/examples/after/namespace.js +1 -1
- data/lib/neptune_coffee/generator.rb +12 -0
- data/lib/neptune_coffee/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1cf27e49d971c98e50d19ad15ad4f9dc56308948
|
4
|
+
data.tar.gz: 8dadade790240b0c93453ecbd864086a93061206
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 922736590f2bcfda4fc87e46ea075788902596cbadf53c19e6e353f1b042f6f6a9942a898fb12ac3b9ff7916a29d163b93bf7285b89690f40ec13426a0e3be1b
|
7
|
+
data.tar.gz: 95899b254ca68b6862015d8ec8ec4b1f1e11323cf1b79fe8fcd115b78a1568cd620cb9fe06b38a8ca93bc6d3308962a0032efaec9827f5767888b1b3b590b3da
|
data/examples/after/geometry.js
CHANGED
data/examples/after/namespace.js
CHANGED
@@ -38,6 +38,13 @@ module NeptuneCoffee
|
|
38
38
|
@skipped_files = {}
|
39
39
|
end
|
40
40
|
|
41
|
+
# returns:
|
42
|
+
# {
|
43
|
+
# current_files: [Pathnames...]
|
44
|
+
# generated_files: [Pathnames...]
|
45
|
+
# skipped_files: [Pathnames...]
|
46
|
+
# }
|
47
|
+
|
41
48
|
def generate_all
|
42
49
|
reset_file_info
|
43
50
|
load_dirs
|
@@ -52,6 +59,11 @@ module NeptuneCoffee
|
|
52
59
|
success "#{@current_files.length}/#{@to_generate_files.length} files current"
|
53
60
|
success "#{@generated_files.length} files generated" # if @generated_files.length > 0
|
54
61
|
warning "#{@skipped_files.length} files skipped (this is a name conflict. We recommend renaming your source file(s)." if @skipped_files.length> 0
|
62
|
+
return {
|
63
|
+
current_files: @current_files,
|
64
|
+
generated_files: @generated_files,
|
65
|
+
skipped_files: @skipped_files
|
66
|
+
}
|
55
67
|
end
|
56
68
|
|
57
69
|
def file_was_generated_by_neptune_coffee file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: neptune_coffee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shane Brinkman-Davis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: trollop
|