js_stack 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +9 -0
  3. data/README.md +117 -25
  4. data/lib/js_stack/version.rb +1 -1
  5. data/vendor/assets/javascripts/js_stack/{backbone/backbone-1.0.0.js → base/backbone/1.0.0.js} +0 -0
  6. data/vendor/assets/javascripts/js_stack/{backbone/backbone-1.1.0.js → base/backbone/1.1.0.js} +0 -0
  7. data/vendor/assets/javascripts/js_stack/base/backbone.js +1 -0
  8. data/vendor/assets/javascripts/js_stack/{hamlcoffee.js → base/hamlcoffee.js} +0 -0
  9. data/vendor/assets/javascripts/js_stack/{jsroutes.js → base/jsroutes.js} +0 -0
  10. data/vendor/assets/javascripts/js_stack/{marionette/marionette-1.1.0.js → base/marionette/1.1.0.js} +0 -0
  11. data/vendor/assets/javascripts/js_stack/{marionette/marionette-1.4.1.js → base/marionette/1.4.1.js} +0 -0
  12. data/vendor/assets/javascripts/js_stack/{marionette/marionette-1.5.1.js → base/marionette/1.5.1.js} +0 -0
  13. data/vendor/assets/javascripts/js_stack/base/marionette/1.6.2.js +2555 -0
  14. data/vendor/assets/javascripts/js_stack/base/marionette.js +1 -0
  15. data/vendor/assets/javascripts/js_stack/{underscore.js → base/underscore/1.5.2.js} +0 -0
  16. data/vendor/assets/javascripts/js_stack/base/underscore.js +1 -0
  17. data/vendor/assets/javascripts/js_stack/base.js +5 -0
  18. data/vendor/assets/javascripts/js_stack/{backbone.associations/backbone.associations-0.5.1.js → plugins/backbone/associations/0.5.1.js} +0 -0
  19. data/vendor/assets/javascripts/js_stack/{backbone.associations/backbone.associations-0.5.4.js → plugins/backbone/associations/0.5.4.js} +0 -0
  20. data/vendor/assets/javascripts/js_stack/{backbone.associations/backbone.associations-0.5.5.js → plugins/backbone/associations/0.5.5.js} +0 -0
  21. data/vendor/assets/javascripts/js_stack/{backbone.deepmodel/backbone.deepmodel-0.10.4.js → plugins/backbone/deepmodel/0.10.4.js} +0 -0
  22. data/vendor/assets/javascripts/js_stack/{backbone.pageable/backbone.pageable-1.3.2.js → plugins/backbone/pageable/1.3.2.js} +0 -0
  23. data/vendor/assets/javascripts/js_stack/{backbone.pageable/backbone.pageable-1.4.5.js → plugins/backbone/pageable/1.4.5.js} +0 -0
  24. data/vendor/assets/javascripts/js_stack/{backbone.stickit/backbone.stickit-0.6.3.js → plugins/backbone/stickit/0.6.3.js} +0 -0
  25. data/vendor/assets/javascripts/js_stack/{backbone.stickit/backbone.stickit-0.7.0.js → plugins/backbone/stickit/0.7.0.js} +0 -0
  26. data/vendor/assets/javascripts/js_stack/{backbone.validation/backbone.validation-0.8.1.js → plugins/backbone/validation/0.8.1.js} +0 -0
  27. data/vendor/assets/javascripts/js_stack/{backbone.validation/backbone.validation-0.9.1.js → plugins/backbone/validation/0.9.1.js} +0 -0
  28. data/vendor/assets/javascripts/js_stack/{backbone.virtualcollection/backbone.virtualcollection-0.4.5.js → plugins/backbone/virtualcollection/0.4.5.js} +0 -0
  29. data/vendor/assets/javascripts/js_stack/{backbone.virtualcollection/backbone.virtualcollection-0.4.8.js → plugins/backbone/virtualcollection/0.4.8.js} +0 -0
  30. data/vendor/assets/javascripts/js_stack/plugins/backbone.associations.js +1 -0
  31. data/vendor/assets/javascripts/js_stack/plugins/backbone.deepmodel.js +1 -0
  32. data/vendor/assets/javascripts/js_stack/plugins/backbone.pageable.js +1 -0
  33. data/vendor/assets/javascripts/js_stack/plugins/backbone.stickit.js +1 -0
  34. data/vendor/assets/javascripts/js_stack/plugins/backbone.validation.js +1 -0
  35. data/vendor/assets/javascripts/js_stack/plugins/backbone.virtualcollection.js +1 -0
  36. data/vendor/assets/javascripts/js_stack/{moment.js → plugins/moment.js} +0 -0
  37. data/vendor/assets/javascripts/js_stack/{underscore.inflections/underscore.inflections-0.2.1.js → plugins/underscore/inflections/0.2.1.js} +0 -0
  38. data/vendor/assets/javascripts/js_stack/{underscore.string/underscore.string-2.3.2.js → plugins/underscore/string/2.3.2.js} +0 -0
  39. data/vendor/assets/javascripts/js_stack/plugins/underscore.inflections.js +1 -0
  40. data/vendor/assets/javascripts/js_stack/plugins/underscore.string.js +1 -0
  41. data/vendor/assets/javascripts/js_stack/plugins.js +7 -0
  42. data/vendor/assets/javascripts/js_stack.js +2 -12
  43. metadata +39 -35
  44. data/vendor/assets/javascripts/js_stack/backbone.associations.js +0 -1
  45. data/vendor/assets/javascripts/js_stack/backbone.deepmodel.js +0 -1
  46. data/vendor/assets/javascripts/js_stack/backbone.js +0 -1
  47. data/vendor/assets/javascripts/js_stack/backbone.pageable.js +0 -1
  48. data/vendor/assets/javascripts/js_stack/backbone.stickit.js +0 -1
  49. data/vendor/assets/javascripts/js_stack/backbone.validation.js +0 -1
  50. data/vendor/assets/javascripts/js_stack/backbone.virtualcollection.js +0 -1
  51. data/vendor/assets/javascripts/js_stack/marionette.js +0 -1
  52. data/vendor/assets/javascripts/js_stack/underscore.inflections.js +0 -1
  53. data/vendor/assets/javascripts/js_stack/underscore.string.js +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fe9905d69c7679d62f90f638b7d0b196e63d3122
4
- data.tar.gz: de9011b9ed9ffa37147721790b5c71786b79cf64
3
+ metadata.gz: e956716c6ce7b59bc91c771098845087229822d6
4
+ data.tar.gz: ec9b28be612e5ee434cbad1009b093a085f1fcee
5
5
  SHA512:
6
- metadata.gz: aa67d74bddc9b590aaea3548a3adf4a76a279337d49eb75ed06c8f125d33d3cc22036380a8fa1236c98648484b17fc9308718061f45fae0275bf8fa54b731fe6
7
- data.tar.gz: 1b9769927562a9b7fafc4711290db861d5d1f23d970bf0821bfb304bd67920806ee916b7e0afe32a2fb0e70dbfff405dba35108b01c9232c67ad98115097eb5e
6
+ metadata.gz: be7c9b60bdaf6ee588ab7ac6c4500c7fd0c6f909752c8fdee3730673cadc08736fdebcc56784f2975f371fb284bdf44ed7433f4630862e02d35fba41c7aa3e0d
7
+ data.tar.gz: 6d1ec5875049543b3531a1f863c39fb7a6d2240792504d95c581959b6d97ee3fae0f36e00fc442a55538b4efda3055d5c25743bdf16b1f81753981909a6463b2
data/CHANGELOG.md CHANGED
@@ -13,6 +13,15 @@
13
13
  * backbone.deepmodel - [changelog](https://github.com/powmedia/backbone-deep-model#changelog)
14
14
  * backbone-virtualcollection - [changelog](https://github.com/p3drosola/Backbone.VirtualCollection#changelog)
15
15
 
16
+ ## 0.4.0
17
+
18
+ * updated marionette 1.5.1 -> 1.6.2 [@gvl]
19
+ * reorganize file structure of libs [@gvl]
20
+ - add `base.js` - require only `hamlcoffee`, `js-routes`, `backbone`, `underscore`, `marionette`
21
+ - add `base` folder with `lib/version` structure
22
+ - add `plugins.js` - require `backbone` plugins and `momentjs`
23
+ - add `plugins` folder with `lib/plugin/version` structure
24
+
16
25
  ## v0.3.1
17
26
 
18
27
  * add underscore.string 2.3.2 [@gvl]
data/README.md CHANGED
@@ -24,106 +24,198 @@ Modify `application.coffee` (you have to be using asset pipeline):
24
24
  #= require js_stack
25
25
  ```
26
26
 
27
+ If you want to use only base stack - `hamlcoffee`, `js-routes`, `backbone`, `underscore`, `marionette`:
28
+
29
+ ``` coffeescript
30
+ #= require js_stack/base
31
+ ```
32
+
27
33
  ## What's included?
28
34
 
29
- ### underscore.js 1.5.2
35
+ ### underscore.js
30
36
 
31
37
  http://underscorejs.org/
32
38
 
33
39
  ``` coffeescript
34
- #= require js_stack/underscore
40
+ #= require js_stack/base/underscore
41
+ ```
42
+
43
+ or specify version number
44
+
45
+ ``` coffeescript
46
+ #= require js_stack/base/underscore/1.5.2
35
47
  ```
36
48
 
37
- ### backbone.js 1.1.0
49
+ Versions: **1.5.2**
50
+
51
+ ### backbone.js
38
52
 
39
53
  http://backbonejs.org/
40
54
 
41
55
  ``` coffeescript
42
- #= require js_stack/backbone
56
+ #= require js_stack/base/backbone
43
57
  ```
44
58
 
45
- ### marionette.js 1.5.1
59
+ or specify version number
60
+
61
+ ``` coffeescript
62
+ #= require js_stack/base/backbone/1.1.0
63
+ ```
64
+
65
+ Versions: **1.1.0**, 1.0.0
66
+
67
+ ### marionette.js
46
68
 
47
69
  https://github.com/marionettejs/backbone.marionette/tree/master/docs
48
70
 
49
71
  ``` coffeescript
50
- #= require js_stack/marionette
72
+ #= require js_stack/base/marionette
51
73
  ```
52
74
 
53
- ### backbone.stickit 0.7.0
75
+ or specify version number
76
+
77
+ ``` coffeescript
78
+ #= require js_stack/base/marionette/1.6.2
79
+ ```
80
+
81
+ Versions: **1.6.2**, 1.5.1, 1.4.1, 1.1.0
82
+
83
+ ### backbone.stickit
54
84
 
55
85
  http://nytimes.github.io/backbone.stickit/
56
86
 
57
87
  ``` coffeescript
58
- #= require js_stack/backbone.stickit
88
+ #= require js_stack/plugins/backbone.stickit
89
+ ```
90
+
91
+ or specify version number
92
+
93
+ ``` coffeescript
94
+ #= require js_stack/plugins/backbone/stickit/0.7.0
59
95
  ```
60
96
 
61
- ### backbone.validation 0.9.1
97
+ Versions: **0.7.0**, 0.6.3
98
+
99
+ ### backbone.validation
62
100
 
63
101
  https://github.com/thedersen/backbone.validation
64
102
 
103
+ ``` coffeescript
104
+ #= require js_stack/plugins/backbone.validation
105
+ ```
106
+
107
+ or specify version number
65
108
 
66
109
  ``` coffeescript
67
- #= require js_stack/backbone.validation
110
+ #= require js_stack/plugins/backbone/validation/0.9.1
68
111
  ```
69
112
 
70
- ### backbone-associations 0.5.5
113
+ Versions: **0.9.1**, 0.8.1
114
+
115
+ ### backbone-associations
71
116
 
72
117
  http://dhruvaray.github.io/backbone-associations/
73
118
 
74
119
  ``` coffeescript
75
- #= require js_stack/backbone.associations
120
+ #= require js_stack/plugins/backbone.associations
76
121
  ```
77
122
 
78
- ### backbone-pageable 1.4.5
123
+ or specify version number
124
+
125
+ ``` coffeescript
126
+ #= require js_stack/plugins/backbone/associations/0.5.5
127
+ ```
128
+
129
+ Versions: **0.5.5**, 0.5.4, 0.5.1
130
+
131
+ ### backbone-pageable
79
132
 
80
133
  https://github.com/wyuenho/backbone-pageable
81
134
 
135
+ ``` coffeescript
136
+ #= require js_stack/plugins/backbone.pageable
137
+ ```
138
+
139
+ or specify version number
82
140
 
83
141
  ``` coffeescript
84
- #= require js_stack/backbone.pageable
142
+ #= require js_stack/plugins/backbone/pageable/1.4.5
85
143
  ```
86
144
 
87
- ### backbone.deepmodel 0.10.4
145
+ Versions: **1.4.5**, 1.3.2
146
+
147
+ ### backbone.deepmodel
88
148
 
89
149
  https://github.com/powmedia/backbone-deep-model
90
150
 
91
151
  ``` coffeescript
92
- #= require js_stack/backbone.deepmodel
152
+ #= require js_stack/plugins/backbone.deepmodel
93
153
  ```
94
154
 
95
- ### backbone-virtualcollection 0.4.8
155
+ or specify version number
156
+
157
+ ``` coffeescript
158
+ #= require js_stack/plugins/backbone/deepmodel/0.10.4
159
+ ```
160
+
161
+ Versions: **0.10.4**
162
+
163
+ ### backbone-virtualcollection
96
164
 
97
165
  https://github.com/p3drosola/Backbone.VirtualCollection
98
166
 
99
167
  ``` coffeescript
100
- #= require js_stack/backbone.virtualcollection
168
+ #= require js_stack/plugins/backbone.virtualcollection
169
+ ```
170
+
171
+ or specify version number
172
+
173
+ ``` coffeescript
174
+ #= require js_stack/plugins/backbone/virtualcollection/0.4.8
101
175
  ```
102
176
 
103
- ### underscore.string 2.3.2
177
+ Versions: **0.4.8**, 0.4.5
178
+
179
+ ### underscore.string
104
180
  `not in default stack, must require it explicitly`
105
181
 
106
182
  https://github.com/epeli/underscore.string
107
183
 
108
184
  ``` coffeescript
109
- #= require js_stack/underscore.string
185
+ #= require js_stack/plugins/underscore.string
186
+ ```
187
+
188
+ or specify version number
189
+
190
+ ``` coffeescript
191
+ #= require js_stack/plugins/underscore/string/2.3.2
110
192
  ```
111
193
 
112
- ### underscore.inflections 0.2.1
194
+ Versions: **2.3.2**
195
+
196
+ ### underscore.inflections
113
197
  `not in default stack, must require it explicitly`
114
198
 
115
199
  https://github.com/geetarista/underscore.inflections
116
200
 
117
201
  ``` coffeescript
118
- #= require js_stack/underscore.inflections
202
+ #= require js_stack/plugins/underscore.inflections
119
203
  ```
120
204
 
205
+ or specify version number
206
+
207
+ ``` coffeescript
208
+ #= require js_stack/plugins/underscore/inflections/0.2.1
209
+ ```
210
+
211
+ Versions: **0.2.1**
212
+
121
213
  ### hamlcoffee 1.x
122
214
 
123
215
  https://github.com/netzpirat/haml_coffee_assets
124
216
 
125
217
  ``` coffeescript
126
- #= require js_stack/hamlcoffee
218
+ #= require js_stack/base/hamlcoffee
127
219
  ```
128
220
 
129
221
  ### momentjs 2.5.0
@@ -131,7 +223,7 @@ https://github.com/netzpirat/haml_coffee_assets
131
223
  https://github.com/derekprior/momentjs-rails
132
224
 
133
225
  ``` coffeescript
134
- #= require js_stack/moment
226
+ #= require js_stack/plugins/moment
135
227
  ```
136
228
 
137
229
  ### js-routes 0.9.6
@@ -139,7 +231,7 @@ https://github.com/derekprior/momentjs-rails
139
231
  https://github.com/railsware/js-routes
140
232
 
141
233
  ``` coffeescript
142
- #= require js_stack/jsroutes
234
+ #= require js_stack/base/jsroutes
143
235
  ```
144
236
 
145
237
  ## Contributing
@@ -1,3 +1,3 @@
1
1
  module JsStack
2
- VERSION = "0.3.1"
2
+ VERSION = "0.4.0"
3
3
  end
@@ -0,0 +1 @@
1
+ //= require js_stack/base/backbone/1.1.0