exoskeleton 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- YzE0ZjZjOTBiOThlNDFmNWEzZTg1ODAwNzQzMTYwNTU3YzUyYTljZA==
5
- data.tar.gz: !binary |-
6
- YTcwM2FkMjRjZjkyOGM1ZDc0N2Y0NGYxNmQ0NDdiODUzYTNjNTE2ZA==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- NWQ5YTc3ZWJiYzBjODM5MjVmMWJmM2MyN2RiMjdjMTJiZTA1MWIwNzc5NGIw
10
- ZDY1OWJkYTY5ZDJkOTlhMTc2ZTIxMzZkMDE4NDE0YWU2YjE0Yzc3NTg0MjNl
11
- NzJjYjVkZDgzM2QxYTc0ZDIwZjBlYzQ4OGYxZmQxNDhmMmMzNDQ=
12
- data.tar.gz: !binary |-
13
- Y2RmMTczMWI4MmFiMWEwY2YyNGIyM2UyMTkxZmNmZDdiOTAyNmMxODRjZDNj
14
- ZTY3N2E5MTFlYjBhZTJjYmM0YmY0ZDUxMWVjNmFlZTVmY2VjMzllMGZkODAx
15
- ODJkNzJjZTAyNmQzNzM3NGNhNTVhOWNmYzYxYjAzNTVmMzk3NmM=
2
+ SHA1:
3
+ metadata.gz: bdcea36692e760ba0744ecaa1d8ea18e2fc65bbc
4
+ data.tar.gz: ae53b53dd50e0ce14c633ad91b66a82491a9cb68
5
+ SHA512:
6
+ metadata.gz: 19b4cc91491de36f1e270d561ef759a039954dcefa002c257c115763e93b276b8e8d4fbcf7acf9912e55ab250d0128ab7ec3bce72563fa30523e7bc818ae89b1
7
+ data.tar.gz: a8fd7d2d07253547eabdee21f9578cb262f112b98b24528e060d0511171fa1f79c2ccb24b6201a169adf9acdab8888d12b27abd548d3f1d3df7e5dccacc15fd9
data/README.md CHANGED
@@ -22,6 +22,15 @@ Or install it yourself as:
22
22
 
23
23
  ## Usage
24
24
 
25
+ ###Mostly automated setup
26
+ Take a look at the [AgapeRedRecipes gem](https://github.com/AgapeRedRecipes/agape-red-recipes)
27
+
28
+ After installing the recipes gem
29
+
30
+ rails g recipe exoskeleton app_base_name:YOUR_APP_NAME
31
+
32
+ ###Manual setup
33
+
25
34
  This setup is going through the process when building a brand new rails application.
26
35
  Note: YOUR_APP_NAME is not a specific name, it just needs to be the same throughout.
27
36
 
@@ -36,7 +45,7 @@ Add the following to `application.js` before `//= require_tree .`:
36
45
  //= require_tree ./backbone/views
37
46
  //= require_tree ./backbone/templates
38
47
 
39
- Then build the folder structure to hold all of your awesome Backbone. We use the following structure that can be built easily using the [backbone-rails](https://github.com/codebrew/backbone-rails) gem
48
+ Then build the folder structure to hold all of your awesome Backbone. `rails g exoskeleton:folders`
40
49
 
41
50
  app/assets/javascripts/backbone/views
42
51
  app/assets/javascripts/backbone/models
@@ -1,3 +1,3 @@
1
1
  module Exoskeleton
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -0,0 +1,28 @@
1
+ module Exoskeleton
2
+ module Generators
3
+ class FoldersGenerator < Rails::Generators::Base
4
+
5
+ def build_folder_structure
6
+
7
+ views_folder = "app/assets/javascripts/backbone/views"
8
+ models_folder = "app/assets/javascripts/backbone/models"
9
+ collections_folder = "app/assets/javascripts/backbone/collections"
10
+ templates_folder = "app/assets/javascripts/backbone/templates"
11
+
12
+ empty_directory views_folder
13
+ create_file "#{views_folder}/.keep"
14
+
15
+ empty_directory models_folder
16
+ create_file "#{models_folder}/.keep"
17
+
18
+ empty_directory collections_folder
19
+ create_file "#{collections_folder}/.keep"
20
+
21
+ empty_directory templates_folder
22
+ create_file "#{templates_folder}/.keep"
23
+
24
+ end
25
+
26
+ end
27
+ end
28
+ end
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exoskeleton
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Hopp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-17 00:00:00.000000000 Z
11
+ date: 2014-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: sprockets
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: 2.2.2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: 2.2.2
41
41
  - !ruby/object:Gem::Dependency
@@ -98,84 +98,84 @@ dependencies:
98
98
  name: rake
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ! '>='
101
+ - - '>='
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ! '>='
108
+ - - '>='
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rails
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ! '>='
115
+ - - '>='
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ! '>='
122
+ - - '>='
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rspec
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ! '>='
129
+ - - '>='
130
130
  - !ruby/object:Gem::Version
131
131
  version: '0'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ! '>='
136
+ - - '>='
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: simplecov
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - ! '>='
143
+ - - '>='
144
144
  - !ruby/object:Gem::Version
145
145
  version: '0'
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - ! '>='
150
+ - - '>='
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: simplecov-rcov
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - ! '>='
157
+ - - '>='
158
158
  - !ruby/object:Gem::Version
159
159
  version: '0'
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - ! '>='
164
+ - - '>='
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: coveralls
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
- - - ! '>='
171
+ - - '>='
172
172
  - !ruby/object:Gem::Version
173
173
  version: '0'
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
- - - ! '>='
178
+ - - '>='
179
179
  - !ruby/object:Gem::Version
180
180
  version: '0'
181
181
  description: Exoskeleton will build a basic Backbone.js structure for your rails application
@@ -204,6 +204,7 @@ files:
204
204
  - lib/exoskeleton/engine.rb
205
205
  - lib/exoskeleton/jst_processor.rb
206
206
  - lib/exoskeleton/version.rb
207
+ - lib/generators/exoskeleton/folders_generator.rb
207
208
  homepage: https://github.com/agapered/exoskeleton
208
209
  licenses:
209
210
  - MIT
@@ -214,12 +215,12 @@ require_paths:
214
215
  - lib
215
216
  required_ruby_version: !ruby/object:Gem::Requirement
216
217
  requirements:
217
- - - ! '>='
218
+ - - '>='
218
219
  - !ruby/object:Gem::Version
219
220
  version: '0'
220
221
  required_rubygems_version: !ruby/object:Gem::Requirement
221
222
  requirements:
222
- - - ! '>='
223
+ - - '>='
223
224
  - !ruby/object:Gem::Version
224
225
  version: '0'
225
226
  requirements: []