neptune_coffee 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1cf27e49d971c98e50d19ad15ad4f9dc56308948
4
- data.tar.gz: 8dadade790240b0c93453ecbd864086a93061206
3
+ metadata.gz: 0ff1151257434e5c05e89d3d20a1427855bcffe9
4
+ data.tar.gz: c82d36f075b2dac5318673ff94a949ceb8c22e17
5
5
  SHA512:
6
- metadata.gz: 922736590f2bcfda4fc87e46ea075788902596cbadf53c19e6e353f1b042f6f6a9942a898fb12ac3b9ff7916a29d163b93bf7285b89690f40ec13426a0e3be1b
7
- data.tar.gz: 95899b254ca68b6862015d8ec8ec4b1f1e11323cf1b79fe8fcd115b78a1568cd620cb9fe06b38a8ca93bc6d3308962a0032efaec9827f5767888b1b3b590b3da
6
+ metadata.gz: dd73fc52706441254c998c95dc08731520d9dc2ed2ca33902a5a38208f3934a70a74c24e13b7bd1196ae0bea8f825f7384a7ddf51599be3cd4c1447da689158b
7
+ data.tar.gz: 58bb0b73e9a40ddaacd23683cfd31dfeffc9f66bd0d692612772916f03ef1aea0e972d74bf7d14fecc5ceaca4e146b513479d459d4f5b20e255233e68d066f99
data/CHANGELOG.md CHANGED
@@ -1,6 +1,20 @@
1
1
  # Neptune Coffee Changelog
2
2
 
3
+ ### v0.2.4
4
+
5
+ Updated Generator#generate_all to now return a Hash of Arrays (instead Hash of Hashes)
6
+
7
+ ### v0.2.3
8
+
9
+ Generator#generate_all now returns a Hash of information on what was done:
10
+
11
+ * current_files: {}
12
+ * generated_files: {}
13
+ * skipped_files: {}
14
+
15
+ NOTE - Each {} is a Hash from Pathname objects to True.
16
+
3
17
  ### v0.2.2
4
18
 
5
19
  * Added "// path:" comment to each generated file to make debugging easier. "What namespace.js file is this?"
6
- * Stopped globbering global properties: Added "var" before variable creation in namespace.js files.
20
+ * Stopped clobbering global properties: Added "var" before variable creation in namespace.js files.
data/README.md CHANGED
@@ -40,12 +40,6 @@ For every $subdir, NeptuneCoffee generates:
40
40
  $subdir.js // loads all .js files in $subdir recursively
41
41
  // all three files return $subdir's namespace object
42
42
 
43
- ## WARNING: Work in Progress
44
- This is a work in progress. Unlikely to change:
45
- * directories-define-modules
46
- * including the directory_name.js to included the module
47
- * include ./namespace.js to get the local module's namespace
48
-
49
43
  # How to Use
50
44
 
51
45
  Install neptune_coffee (see below). Then, whenever your directory structure changes or you move/add/rename/delete files, run:
@@ -84,7 +78,7 @@ geometry.js might look like:
84
78
  return Geometry;
85
79
  });
86
80
 
87
- See [examples](https://github.com/Imikimi-LLC/neptune_coffee/tree/master/examples) a complete and current before & after example.
81
+ See [examples](https://github.com/Imikimi-LLC/neptune_coffee/tree/master/examples) for a complete and current before & after example.
88
82
 
89
83
  ## Installation
90
84
 
@@ -60,9 +60,9 @@ module NeptuneCoffee
60
60
  success "#{@generated_files.length} files generated" # if @generated_files.length > 0
61
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
62
  return {
63
- current_files: @current_files,
64
- generated_files: @generated_files,
65
- skipped_files: @skipped_files
63
+ current_files: @current_files.keys,
64
+ generated_files: @generated_files.keys,
65
+ skipped_files: @skipped_files.keys
66
66
  }
67
67
  end
68
68
 
@@ -1,3 +1,3 @@
1
1
  module NeptuneCoffee
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
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.3
4
+ version: 0.2.4
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-06-17 00:00:00.000000000 Z
11
+ date: 2014-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: trollop