new 0.0.1 → 0.0.2

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 (52) hide show
  1. checksums.yaml +4 -4
  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/new-0.0.0.gem +0 -0
  20. data/new-0.0.1.gem +0 -0
  21. data/spec/fixtures/custom/tasks/custom_bar_task/custom_bar_task.rb +3 -0
  22. data/spec/fixtures/custom/templates/custom_bar_template/custom_bar.txt +0 -0
  23. data/spec/fixtures/tasks/custom_bar_task/custom_bar_task.rb +1 -0
  24. data/spec/fixtures/tasks/foo_task/foo_task.rb +7 -0
  25. data/spec/fixtures/templates/foo_template/[FOO.BAR].txt.erb +1 -0
  26. data/spec/fixtures/templates/foo_template/nested_[FOO.BAR]/foo.txt.erb +1 -0
  27. data/spec/lib/new/cli_spec.rb +104 -0
  28. data/spec/lib/new/interpolate_spec.rb +41 -0
  29. data/spec/lib/new/project_spec.rb +30 -0
  30. data/spec/lib/new/task_spec.rb +39 -0
  31. data/spec/lib/new/template_spec.rb +59 -0
  32. data/spec/lib/new/version_spec.rb +28 -0
  33. data/spec/lib/new_spec.rb +19 -0
  34. data/spec/spec_helper.rb +26 -0
  35. data/tasks/gem/README.md +36 -0
  36. data/tasks/gem/gem.rb +122 -0
  37. data/templates/js/Gemfile +30 -0
  38. data/templates/js/Guardfile +7 -0
  39. data/templates/js/LICENSE-MIT.erb +22 -0
  40. data/templates/js/README.md.erb +61 -0
  41. data/templates/js/demo/index.html.erb +7 -0
  42. data/templates/js/lib/README.md +2 -0
  43. data/templates/js/spec/[PROJECT_NAME].spec.js.coffee.erb +1 -0
  44. data/templates/js/spec/index.html.erb +29 -0
  45. data/templates/js/spec/spec_helper.js.coffee +0 -0
  46. data/templates/js/spec/vendor/chai.js +3765 -0
  47. data/templates/js/spec/vendor/sinon-chai.js +106 -0
  48. data/templates/js/spec/vendor/sinon.js +4246 -0
  49. data/templates/js/src/README.md +3 -0
  50. data/templates/js/src/[PROJECT_NAME].js.coffee.erb +10 -0
  51. data/templates/js/testem.yml +12 -0
  52. metadata +70 -8
@@ -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 CHANGED
@@ -1,21 +1,72 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: new
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Brewster
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-04 00:00:00.000000000 Z
11
+ date: 2014-03-15 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: An opinionated way to start new projects.
13
+ description:
14
14
  email: brewster1134@gmail.com
15
- executables: []
15
+ executables:
16
+ - new
16
17
  extensions: []
17
18
  extra_rdoc_files: []
18
- files: []
19
+ files:
20
+ - ".gitignore"
21
+ - ".rspec"
22
+ - Gemfile
23
+ - Gemfile.lock
24
+ - Guardfile
25
+ - LICENSE.txt
26
+ - README.md
27
+ - bin/new
28
+ - lib/new.rb
29
+ - lib/new/cli.rb
30
+ - lib/new/core.rb
31
+ - lib/new/dsl.rb
32
+ - lib/new/interpolate.rb
33
+ - lib/new/project.rb
34
+ - lib/new/task.rb
35
+ - lib/new/template.rb
36
+ - lib/new/version.rb
37
+ - new-0.0.0.gem
38
+ - new-0.0.1.gem
39
+ - spec/fixtures/custom/tasks/custom_bar_task/custom_bar_task.rb
40
+ - spec/fixtures/custom/templates/custom_bar_template/custom_bar.txt
41
+ - spec/fixtures/tasks/custom_bar_task/custom_bar_task.rb
42
+ - spec/fixtures/tasks/foo_task/foo_task.rb
43
+ - spec/fixtures/templates/foo_template/[FOO.BAR].txt.erb
44
+ - spec/fixtures/templates/foo_template/nested_[FOO.BAR]/foo.txt.erb
45
+ - spec/lib/new/cli_spec.rb
46
+ - spec/lib/new/interpolate_spec.rb
47
+ - spec/lib/new/project_spec.rb
48
+ - spec/lib/new/task_spec.rb
49
+ - spec/lib/new/template_spec.rb
50
+ - spec/lib/new/version_spec.rb
51
+ - spec/lib/new_spec.rb
52
+ - spec/spec_helper.rb
53
+ - tasks/gem/README.md
54
+ - tasks/gem/gem.rb
55
+ - templates/js/Gemfile
56
+ - templates/js/Guardfile
57
+ - templates/js/LICENSE-MIT.erb
58
+ - templates/js/README.md.erb
59
+ - templates/js/demo/index.html.erb
60
+ - templates/js/lib/README.md
61
+ - templates/js/spec/[PROJECT_NAME].spec.js.coffee.erb
62
+ - templates/js/spec/index.html.erb
63
+ - templates/js/spec/spec_helper.js.coffee
64
+ - templates/js/spec/vendor/chai.js
65
+ - templates/js/spec/vendor/sinon-chai.js
66
+ - templates/js/spec/vendor/sinon.js
67
+ - templates/js/src/README.md
68
+ - templates/js/src/[PROJECT_NAME].js.coffee.erb
69
+ - templates/js/testem.yml
19
70
  homepage: https://github.com/brewster1134/new
20
71
  licenses:
21
72
  - MIT
@@ -36,8 +87,19 @@ required_rubygems_version: !ruby/object:Gem::Requirement
36
87
  version: '0'
37
88
  requirements: []
38
89
  rubyforge_project:
39
- rubygems_version: 2.2.0
90
+ rubygems_version: 2.2.2
40
91
  signing_key:
41
92
  specification_version: 4
42
- summary: New!
43
- test_files: []
93
+ summary: A Quick & Custom Project Creation & Release Tool
94
+ test_files:
95
+ - spec/fixtures/custom/tasks/custom_bar_task/custom_bar_task.rb
96
+ - spec/fixtures/tasks/custom_bar_task/custom_bar_task.rb
97
+ - spec/fixtures/tasks/foo_task/foo_task.rb
98
+ - spec/lib/new/cli_spec.rb
99
+ - spec/lib/new/interpolate_spec.rb
100
+ - spec/lib/new/project_spec.rb
101
+ - spec/lib/new/task_spec.rb
102
+ - spec/lib/new/template_spec.rb
103
+ - spec/lib/new/version_spec.rb
104
+ - spec/lib/new_spec.rb
105
+ - spec/spec_helper.rb