new 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +7 -0
  3. data/.rspec +2 -0
  4. data/Gemfile +16 -0
  5. data/Gemfile.lock +79 -0
  6. data/Guardfile +14 -0
  7. data/LICENSE.txt +22 -0
  8. data/README.md +121 -0
  9. data/bin/new +6 -0
  10. data/lib/new/cli.rb +94 -0
  11. data/lib/new/core.rb +6 -0
  12. data/lib/new/dsl.rb +42 -0
  13. data/lib/new/interpolate.rb +100 -0
  14. data/lib/new/project.rb +34 -0
  15. data/lib/new/task.rb +41 -0
  16. data/lib/new/template.rb +64 -0
  17. data/lib/new/version.rb +41 -0
  18. data/lib/new.rb +72 -0
  19. data/spec/fixtures/custom/tasks/custom_bar_task/custom_bar_task.rb +3 -0
  20. data/spec/fixtures/custom/templates/custom_bar_template/custom_bar.txt +0 -0
  21. data/spec/fixtures/tasks/custom_bar_task/custom_bar_task.rb +1 -0
  22. data/spec/fixtures/tasks/foo_task/foo_task.rb +7 -0
  23. data/spec/fixtures/templates/foo_template/[FOO.BAR].txt.erb +1 -0
  24. data/spec/fixtures/templates/foo_template/nested_[FOO.BAR]/foo.txt.erb +1 -0
  25. data/spec/lib/new/cli_spec.rb +104 -0
  26. data/spec/lib/new/interpolate_spec.rb +41 -0
  27. data/spec/lib/new/project_spec.rb +30 -0
  28. data/spec/lib/new/task_spec.rb +39 -0
  29. data/spec/lib/new/template_spec.rb +59 -0
  30. data/spec/lib/new/version_spec.rb +28 -0
  31. data/spec/lib/new_spec.rb +19 -0
  32. data/spec/spec_helper.rb +26 -0
  33. data/tasks/gem/README.md +36 -0
  34. data/tasks/gem/gem.rb +118 -0
  35. data/templates/js/Gemfile +30 -0
  36. data/templates/js/Guardfile +7 -0
  37. data/templates/js/LICENSE-MIT.erb +22 -0
  38. data/templates/js/README.md.erb +61 -0
  39. data/templates/js/demo/index.html.erb +7 -0
  40. data/templates/js/lib/README.md +2 -0
  41. data/templates/js/spec/[PROJECT_NAME].spec.js.coffee.erb +1 -0
  42. data/templates/js/spec/index.html.erb +29 -0
  43. data/templates/js/spec/spec_helper.js.coffee +0 -0
  44. data/templates/js/spec/vendor/chai.js +3765 -0
  45. data/templates/js/spec/vendor/sinon-chai.js +106 -0
  46. data/templates/js/spec/vendor/sinon.js +4246 -0
  47. data/templates/js/src/README.md +3 -0
  48. data/templates/js/src/[PROJECT_NAME].js.coffee.erb +10 -0
  49. data/templates/js/testem.yml +12 -0
  50. metadata +102 -0
@@ -0,0 +1,3 @@
1
+ #### CHANGE LOG
2
+ ###### 0.0.1
3
+ *
@@ -0,0 +1,10 @@
1
+ ###
2
+ <%= project_name %>
3
+ https://github.com/<%= tasks.github.username %>/<%= project_name %>
4
+ @version 0.0.1
5
+ @author <%= developer.name %>
6
+ ###
7
+
8
+ ((window) ->
9
+ window.console ||= { log: -> }
10
+ ) window
@@ -0,0 +1,12 @@
1
+ test_page: spec/index.html
2
+ src_files:
3
+ - .tmp/*.spec.js
4
+ - lib/*.js
5
+ serve_files:
6
+ - spec/fixtures/*.html
7
+ - spec/vendor/*.js
8
+ - .tmp/*.spec.js
9
+ launch_in_dev:
10
+ - phantomjs
11
+ launch_in_ci:
12
+ - phantomjs
metadata ADDED
@@ -0,0 +1,102 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: new
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Ryan Brewster
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-03-15 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description:
14
+ email: brewster1134@gmail.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - ".gitignore"
20
+ - ".rspec"
21
+ - Gemfile
22
+ - Gemfile.lock
23
+ - Guardfile
24
+ - LICENSE.txt
25
+ - README.md
26
+ - bin/new
27
+ - lib/new.rb
28
+ - lib/new/cli.rb
29
+ - lib/new/core.rb
30
+ - lib/new/dsl.rb
31
+ - lib/new/interpolate.rb
32
+ - lib/new/project.rb
33
+ - lib/new/task.rb
34
+ - lib/new/template.rb
35
+ - lib/new/version.rb
36
+ - spec/fixtures/custom/tasks/custom_bar_task/custom_bar_task.rb
37
+ - spec/fixtures/custom/templates/custom_bar_template/custom_bar.txt
38
+ - spec/fixtures/tasks/custom_bar_task/custom_bar_task.rb
39
+ - spec/fixtures/tasks/foo_task/foo_task.rb
40
+ - spec/fixtures/templates/foo_template/[FOO.BAR].txt.erb
41
+ - spec/fixtures/templates/foo_template/nested_[FOO.BAR]/foo.txt.erb
42
+ - spec/lib/new/cli_spec.rb
43
+ - spec/lib/new/interpolate_spec.rb
44
+ - spec/lib/new/project_spec.rb
45
+ - spec/lib/new/task_spec.rb
46
+ - spec/lib/new/template_spec.rb
47
+ - spec/lib/new/version_spec.rb
48
+ - spec/lib/new_spec.rb
49
+ - spec/spec_helper.rb
50
+ - tasks/gem/README.md
51
+ - tasks/gem/gem.rb
52
+ - templates/js/Gemfile
53
+ - templates/js/Guardfile
54
+ - templates/js/LICENSE-MIT.erb
55
+ - templates/js/README.md.erb
56
+ - templates/js/demo/index.html.erb
57
+ - templates/js/lib/README.md
58
+ - templates/js/spec/[PROJECT_NAME].spec.js.coffee.erb
59
+ - templates/js/spec/index.html.erb
60
+ - templates/js/spec/spec_helper.js.coffee
61
+ - templates/js/spec/vendor/chai.js
62
+ - templates/js/spec/vendor/sinon-chai.js
63
+ - templates/js/spec/vendor/sinon.js
64
+ - templates/js/src/README.md
65
+ - templates/js/src/[PROJECT_NAME].js.coffee.erb
66
+ - templates/js/testem.yml
67
+ homepage: https://github.com/brewster1134/new
68
+ licenses:
69
+ - MIT
70
+ metadata: {}
71
+ post_install_message:
72
+ rdoc_options: []
73
+ require_paths:
74
+ - lib
75
+ required_ruby_version: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - ">="
78
+ - !ruby/object:Gem::Version
79
+ version: '0'
80
+ required_rubygems_version: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: '0'
85
+ requirements: []
86
+ rubyforge_project:
87
+ rubygems_version: 2.2.2
88
+ signing_key:
89
+ specification_version: 4
90
+ summary: A Quick & Custom Project Creation & Release Tool
91
+ test_files:
92
+ - spec/fixtures/custom/tasks/custom_bar_task/custom_bar_task.rb
93
+ - spec/fixtures/tasks/custom_bar_task/custom_bar_task.rb
94
+ - spec/fixtures/tasks/foo_task/foo_task.rb
95
+ - spec/lib/new/cli_spec.rb
96
+ - spec/lib/new/interpolate_spec.rb
97
+ - spec/lib/new/project_spec.rb
98
+ - spec/lib/new/task_spec.rb
99
+ - spec/lib/new/template_spec.rb
100
+ - spec/lib/new/version_spec.rb
101
+ - spec/lib/new_spec.rb
102
+ - spec/spec_helper.rb