mosh_generator 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. checksums.yaml +7 -0
  2. data/.editorconfig +9 -0
  3. data/.gitignore +3 -0
  4. data/.ruby-gemset +1 -0
  5. data/.ruby-version +1 -0
  6. data/Gemfile +3 -0
  7. data/Gemfile.lock +93 -0
  8. data/LICENSE +21 -0
  9. data/README.md +5 -0
  10. data/bin/mosh_generator +11 -0
  11. data/doc/MoshGenerator/AppBuilder.html +823 -0
  12. data/doc/MoshGenerator/AppGenerator.html +503 -0
  13. data/doc/MoshGenerator.html +151 -0
  14. data/doc/_index.html +132 -0
  15. data/doc/class_list.html +53 -0
  16. data/doc/css/common.css +1 -0
  17. data/doc/css/full_list.css +57 -0
  18. data/doc/css/style.css +338 -0
  19. data/doc/file.README.html +79 -0
  20. data/doc/file_list.html +55 -0
  21. data/doc/frames.html +28 -0
  22. data/doc/index.html +79 -0
  23. data/doc/js/app.js +214 -0
  24. data/doc/js/full_list.js +178 -0
  25. data/doc/js/jquery.js +4 -0
  26. data/doc/method_list.html +142 -0
  27. data/doc/top-level-namespace.html +112 -0
  28. data/lib/mosh_generator/app_builder.rb +137 -0
  29. data/lib/mosh_generator/generators/app_generator.rb +104 -0
  30. data/lib/mosh_generator/version.rb +6 -0
  31. data/lib/mosh_generator.rb +5 -0
  32. data/mosh_generator.gemspec +30 -0
  33. data/templates/.editorconfig +29 -0
  34. data/templates/.gitignore +21 -0
  35. data/templates/.jshintrc +20 -0
  36. data/templates/.ruby-gemset +1 -0
  37. data/templates/.ruby-version +1 -0
  38. data/templates/Gemfile.tt +13 -0
  39. data/templates/Gruntfile.js +80 -0
  40. data/templates/README.md.tt +1 -0
  41. data/templates/app_directory/helpers/application_helper.rb.tt +30 -0
  42. data/templates/app_directory/views/application/_chrome_frame.html +3 -0
  43. data/templates/app_directory/views/application/_google_analytics.html +9 -0
  44. data/templates/app_directory/views/layouts/application.html.erb.tt +52 -0
  45. data/templates/config/database.yml +12 -0
  46. data/templates/package.json.tt +15 -0
  47. data/templates/public_directory/404.html +157 -0
  48. data/templates/public_directory/apple-touch-icon-114x114-precomposed.png +0 -0
  49. data/templates/public_directory/apple-touch-icon-144x144-precomposed.png +0 -0
  50. data/templates/public_directory/apple-touch-icon-57x57-precomposed.png +0 -0
  51. data/templates/public_directory/apple-touch-icon-72x72-precomposed.png +0 -0
  52. data/templates/public_directory/apple-touch-icon-precomposed.png +0 -0
  53. data/templates/public_directory/apple-touch-icon.png +0 -0
  54. data/templates/public_directory/crossdomain.xml +15 -0
  55. data/templates/public_directory/favicon.ico +0 -0
  56. data/templates/public_directory/humans.txt +14 -0
  57. data/templates/public_directory/images/.gitkeep +0 -0
  58. data/templates/public_directory/javascripts/.gitkeep +0 -0
  59. data/templates/public_directory/javascripts/vendor/modernizr.custom.js +4 -0
  60. data/templates/public_directory/javascripts/vendor/respond.min.js +6 -0
  61. data/templates/public_directory/robots.txt +3 -0
  62. data/templates/public_directory/stylesheets/.gitkeep +0 -0
  63. data/templates/public_directory/stylesheets/scss/core/_base.scss +52 -0
  64. data/templates/public_directory/stylesheets/scss/core/_reset.scss +56 -0
  65. data/templates/public_directory/stylesheets/scss/core/_settings.scss +61 -0
  66. data/templates/public_directory/stylesheets/scss/site.scss +21 -0
  67. metadata +143 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 09d6f86702df1f25cea8d19f1157a1d3fff7c413
4
+ data.tar.gz: 88b01f18ef23661e72dda8e9f800f08584a75890
5
+ SHA512:
6
+ metadata.gz: 6c4f1eebcf6d366bb3221cc561e423f819db33ebde4398e558dad09e70df8fe9f37350729669fda425d0fc0f2c2e804599862d828181e31c3af3625e1452ead1
7
+ data.tar.gz: cfc9cfc552d044373232a5caa5c75dcce749c574d628d1a9e55b29039a090e0ffcdc06f85eac00b24729b64389db6c34e68ae49d6e5f6ed2d06c3f9c518138fd
data/.editorconfig ADDED
@@ -0,0 +1,9 @@
1
+ ; EditorConfig is awesome: http://EditorConfig.org
2
+
3
+ root = true
4
+
5
+ [*]
6
+ charset = utf-8
7
+ end_of_line = lf
8
+ insert_final_newline = true
9
+ trim_trailing_whitespace = true
data/.gitignore ADDED
@@ -0,0 +1,3 @@
1
+ *.gem
2
+ .yardoc
3
+ .bundle
data/.ruby-gemset ADDED
@@ -0,0 +1 @@
1
+ mosh-generator
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.0.0
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,93 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ mosh_generator (0.1.0)
5
+ rails (~> 3.2.13)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ actionmailer (3.2.13)
11
+ actionpack (= 3.2.13)
12
+ mail (~> 2.5.3)
13
+ actionpack (3.2.13)
14
+ activemodel (= 3.2.13)
15
+ activesupport (= 3.2.13)
16
+ builder (~> 3.0.0)
17
+ erubis (~> 2.7.0)
18
+ journey (~> 1.0.4)
19
+ rack (~> 1.4.5)
20
+ rack-cache (~> 1.2)
21
+ rack-test (~> 0.6.1)
22
+ sprockets (~> 2.2.1)
23
+ activemodel (3.2.13)
24
+ activesupport (= 3.2.13)
25
+ builder (~> 3.0.0)
26
+ activerecord (3.2.13)
27
+ activemodel (= 3.2.13)
28
+ activesupport (= 3.2.13)
29
+ arel (~> 3.0.2)
30
+ tzinfo (~> 0.3.29)
31
+ activeresource (3.2.13)
32
+ activemodel (= 3.2.13)
33
+ activesupport (= 3.2.13)
34
+ activesupport (3.2.13)
35
+ i18n (= 0.6.1)
36
+ multi_json (~> 1.0)
37
+ arel (3.0.2)
38
+ builder (3.0.4)
39
+ erubis (2.7.0)
40
+ hike (1.2.3)
41
+ i18n (0.6.1)
42
+ journey (1.0.4)
43
+ json (1.8.0)
44
+ mail (2.5.4)
45
+ mime-types (~> 1.16)
46
+ treetop (~> 1.4.8)
47
+ mime-types (1.23)
48
+ multi_json (1.7.6)
49
+ polyglot (0.3.3)
50
+ rack (1.4.5)
51
+ rack-cache (1.2)
52
+ rack (>= 0.4)
53
+ rack-ssl (1.3.3)
54
+ rack
55
+ rack-test (0.6.2)
56
+ rack (>= 1.0)
57
+ rails (3.2.13)
58
+ actionmailer (= 3.2.13)
59
+ actionpack (= 3.2.13)
60
+ activerecord (= 3.2.13)
61
+ activeresource (= 3.2.13)
62
+ activesupport (= 3.2.13)
63
+ bundler (~> 1.0)
64
+ railties (= 3.2.13)
65
+ railties (3.2.13)
66
+ actionpack (= 3.2.13)
67
+ activesupport (= 3.2.13)
68
+ rack-ssl (~> 1.3.2)
69
+ rake (>= 0.8.7)
70
+ rdoc (~> 3.4)
71
+ thor (>= 0.14.6, < 2.0)
72
+ rake (10.0.4)
73
+ rdoc (3.12.2)
74
+ json (~> 1.4)
75
+ sprockets (2.2.2)
76
+ hike (~> 1.2)
77
+ multi_json (~> 1.0)
78
+ rack (~> 1.0)
79
+ tilt (~> 1.1, != 1.3.0)
80
+ thor (0.18.1)
81
+ tilt (1.4.1)
82
+ treetop (1.4.14)
83
+ polyglot
84
+ polyglot (>= 0.3.1)
85
+ tzinfo (0.3.37)
86
+ yard (0.8.6.1)
87
+
88
+ PLATFORMS
89
+ ruby
90
+
91
+ DEPENDENCIES
92
+ mosh_generator!
93
+ yard (~> 0.8.6.1)
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2013 Mosh Creative
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,5 @@
1
+ [![Dependency Status](https://gemnasium.com/MoshCreative/mosh-generator.png)](https://gemnasium.com/MoshCreative/mosh-generator)
2
+
3
+ # Mosh Generator
4
+
5
+ Rails application generator with Mosh Creative's standards.
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require File.expand_path(File.join('..', 'lib', 'mosh_generator', 'generators', 'app_generator'), File.dirname(__FILE__))
4
+ require File.expand_path(File.join('..', 'lib', 'mosh_generator', 'app_builder'), File.dirname(__FILE__))
5
+
6
+ templates_root = File.expand_path(File.join("..", "templates"), File.dirname(__FILE__))
7
+ MoshGenerator::AppGenerator.source_root templates_root
8
+ MoshGenerator::AppGenerator.source_paths << Rails::Generators::AppGenerator.source_root
9
+ MoshGenerator::AppGenerator.source_paths << templates_root
10
+
11
+ MoshGenerator::AppGenerator.start