js_stack 0.4.0 → 0.5.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -12
- data/README.md +35 -208
- data/lib/js_stack/version.rb +1 -1
- data/vendor/assets/javascripts/js_stack/base/backbone/1.1.1.js +1609 -0
- data/vendor/assets/javascripts/js_stack/base/backbone.js +1 -1
- data/vendor/assets/javascripts/js_stack/base/underscore/1.6.0.js +1344 -0
- data/vendor/assets/javascripts/js_stack/base/underscore.js +1 -1
- data/vendor/assets/javascripts/js_stack/plugins/backbone/associations/0.6.1.js +722 -0
- data/vendor/assets/javascripts/js_stack/plugins/backbone/mutators/0.4.1.js +207 -0
- data/vendor/assets/javascripts/js_stack/plugins/backbone.associations.js +1 -1
- data/vendor/assets/javascripts/js_stack/plugins/backbone.mutators.js +1 -0
- data/vendor/assets/javascripts/js_stack/plugins/cocktail/0.5.3.js +101 -0
- data/vendor/assets/javascripts/js_stack/plugins/cocktail.js +1 -0
- metadata +9 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75475264bea2718cee0dde62cb10ea3d73a6c1c8
|
4
|
+
data.tar.gz: 27862a4802bdbe561fbe4313fa7a1ffd9b94fac2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90f450557552bf6b0bd10229c73649a19d8e7ae93e170b41cc3987926de547217369133d701317ad686fdffdc9c55d17642151858e39edd15b257ee9537b2deb
|
7
|
+
data.tar.gz: 91381a7b379c8d7194512839234c1f09cda3c9ad77c126d1fada76d6123f7f0e4879de314c1e4dc06044aaeea6418d630b693b241b16e1fd01370be251d77cca
|
data/CHANGELOG.md
CHANGED
@@ -1,17 +1,12 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
##
|
4
|
-
|
5
|
-
* underscore.
|
6
|
-
*
|
7
|
-
*
|
8
|
-
*
|
9
|
-
* backbone.
|
10
|
-
* backbone.validation - [changelog](https://github.com/thedersen/backbone.validation#release-notes)
|
11
|
-
* backbone-associations - [changelog](https://github.com/dhruvaray/backbone-associations/blob/master/CHANGELOG.md)
|
12
|
-
* backbone-pageable - [changelog](https://github.com/backbone-paginator/backbone-pageable#change-log)
|
13
|
-
* backbone.deepmodel - [changelog](https://github.com/powmedia/backbone-deep-model#changelog)
|
14
|
-
* backbone-virtualcollection - [changelog](https://github.com/p3drosola/Backbone.VirtualCollection#changelog)
|
3
|
+
## 0.5.0
|
4
|
+
|
5
|
+
* update underscore 1.5.2 -> 1.6.0 [@gvl]
|
6
|
+
* update backbone 1.1.0 -> 1.1.1 [@gvl]
|
7
|
+
* add cocktail 0.5.3 [@gvl]
|
8
|
+
* add backbone.mutators 0.4.1 [@gvl]
|
9
|
+
* update backbone.associations 0.5.5 -> 0.6.1 [@gvl]
|
15
10
|
|
16
11
|
## 0.4.0
|
17
12
|
|
data/README.md
CHANGED
@@ -1,8 +1,4 @@
|
|
1
|
-
|
2
|
-
========
|
3
|
-
|
4
|
-
[](https://gemnasium.com/netguru/js_stack)
|
5
|
-
[](http://badge.fury.io/rb/js_stack)
|
1
|
+
# js_stack [](https://gemnasium.com/netguru/js_stack) [](http://badge.fury.io/rb/js_stack)
|
6
2
|
|
7
3
|
Standard JS SPA stack we use at netguru
|
8
4
|
|
@@ -20,219 +16,50 @@ And then execute:
|
|
20
16
|
|
21
17
|
Modify `application.coffee` (you have to be using asset pipeline):
|
22
18
|
|
23
|
-
```
|
19
|
+
```coffeescript
|
24
20
|
#= require js_stack
|
25
|
-
```
|
26
21
|
|
27
|
-
|
22
|
+
# or equivalent:
|
28
23
|
|
29
|
-
``` coffeescript
|
30
24
|
#= require js_stack/base
|
25
|
+
#= require js_stack/plugins
|
31
26
|
```
|
32
27
|
|
33
|
-
|
34
|
-
|
35
|
-
### underscore.js
|
36
|
-
|
37
|
-
http://underscorejs.org/
|
38
|
-
|
39
|
-
``` coffeescript
|
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
|
47
|
-
```
|
48
|
-
|
49
|
-
Versions: **1.5.2**
|
50
|
-
|
51
|
-
### backbone.js
|
52
|
-
|
53
|
-
http://backbonejs.org/
|
54
|
-
|
55
|
-
``` coffeescript
|
56
|
-
#= require js_stack/base/backbone
|
57
|
-
```
|
58
|
-
|
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
|
68
|
-
|
69
|
-
https://github.com/marionettejs/backbone.marionette/tree/master/docs
|
70
|
-
|
71
|
-
``` coffeescript
|
72
|
-
#= require js_stack/base/marionette
|
73
|
-
```
|
74
|
-
|
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
|
84
|
-
|
85
|
-
http://nytimes.github.io/backbone.stickit/
|
86
|
-
|
87
|
-
``` coffeescript
|
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
|
95
|
-
```
|
96
|
-
|
97
|
-
Versions: **0.7.0**, 0.6.3
|
98
|
-
|
99
|
-
### backbone.validation
|
100
|
-
|
101
|
-
https://github.com/thedersen/backbone.validation
|
102
|
-
|
103
|
-
``` coffeescript
|
104
|
-
#= require js_stack/plugins/backbone.validation
|
105
|
-
```
|
106
|
-
|
107
|
-
or specify version number
|
108
|
-
|
109
|
-
``` coffeescript
|
110
|
-
#= require js_stack/plugins/backbone/validation/0.9.1
|
111
|
-
```
|
112
|
-
|
113
|
-
Versions: **0.9.1**, 0.8.1
|
114
|
-
|
115
|
-
### backbone-associations
|
116
|
-
|
117
|
-
http://dhruvaray.github.io/backbone-associations/
|
118
|
-
|
119
|
-
``` coffeescript
|
120
|
-
#= require js_stack/plugins/backbone.associations
|
121
|
-
```
|
122
|
-
|
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
|
132
|
-
|
133
|
-
https://github.com/wyuenho/backbone-pageable
|
134
|
-
|
135
|
-
``` coffeescript
|
136
|
-
#= require js_stack/plugins/backbone.pageable
|
137
|
-
```
|
138
|
-
|
139
|
-
or specify version number
|
140
|
-
|
141
|
-
``` coffeescript
|
142
|
-
#= require js_stack/plugins/backbone/pageable/1.4.5
|
143
|
-
```
|
144
|
-
|
145
|
-
Versions: **1.4.5**, 1.3.2
|
146
|
-
|
147
|
-
### backbone.deepmodel
|
148
|
-
|
149
|
-
https://github.com/powmedia/backbone-deep-model
|
150
|
-
|
151
|
-
``` coffeescript
|
152
|
-
#= require js_stack/plugins/backbone.deepmodel
|
153
|
-
```
|
154
|
-
|
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
|
164
|
-
|
165
|
-
https://github.com/p3drosola/Backbone.VirtualCollection
|
166
|
-
|
167
|
-
``` coffeescript
|
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
|
175
|
-
```
|
176
|
-
|
177
|
-
Versions: **0.4.8**, 0.4.5
|
28
|
+
You can require specific version of library:
|
178
29
|
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
https://github.com/epeli/underscore.string
|
183
|
-
|
184
|
-
``` coffeescript
|
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
|
192
|
-
```
|
193
|
-
|
194
|
-
Versions: **2.3.2**
|
195
|
-
|
196
|
-
### underscore.inflections
|
197
|
-
`not in default stack, must require it explicitly`
|
198
|
-
|
199
|
-
https://github.com/geetarista/underscore.inflections
|
200
|
-
|
201
|
-
``` coffeescript
|
202
|
-
#= require js_stack/plugins/underscore.inflections
|
203
|
-
```
|
204
|
-
|
205
|
-
or specify version number
|
206
|
-
|
207
|
-
``` coffeescript
|
208
|
-
#= require js_stack/plugins/underscore/inflections/0.2.1
|
30
|
+
```coffeescript
|
31
|
+
#= require js_stack/base/<lib_name>/<version>
|
32
|
+
#= require js_stack/plugins/<lib_name>/<version>
|
209
33
|
```
|
210
34
|
|
211
|
-
|
212
|
-
|
213
|
-
### hamlcoffee 1.x
|
214
|
-
|
215
|
-
https://github.com/netzpirat/haml_coffee_assets
|
216
|
-
|
217
|
-
``` coffeescript
|
218
|
-
#= require js_stack/base/hamlcoffee
|
219
|
-
```
|
220
|
-
|
221
|
-
### momentjs 2.5.0
|
222
|
-
|
223
|
-
https://github.com/derekprior/momentjs-rails
|
224
|
-
|
225
|
-
``` coffeescript
|
226
|
-
#= require js_stack/plugins/moment
|
227
|
-
```
|
228
|
-
|
229
|
-
### js-routes 0.9.6
|
230
|
-
|
231
|
-
https://github.com/railsware/js-routes
|
35
|
+
## What's included?
|
232
36
|
|
233
|
-
|
234
|
-
|
235
|
-
|
37
|
+
### Base
|
38
|
+
|
39
|
+
| Library | Versions | Changelog | Homepage |
|
40
|
+
| :-----: | :------: | :-------: | :------: |
|
41
|
+
| backbone | **1.1.1**, 1.1.0, 1.0.0 | [changelog](http://backbonejs.org/#changelog) | [homepage](http://backbonejs.org/) |
|
42
|
+
| marionette | **1.6.2**, 1.5.1, 1.4.1, 1.1.0 | [changelog](https://github.com/marionettejs/backbone.marionette/blob/master/changelog.md) | [homepage](http://marionettejs.com/) |
|
43
|
+
| underscore | **1.6.0**, 1.5.2 | [changelog](http://underscorejs.org/#changelog) | [homepage](http://underscorejs.org/) |
|
44
|
+
| hamlcoffee | **1.16** | [changelog](https://github.com/netzpirat/haml_coffee_assets/blob/master/CHANGELOG.md) | [homepage](https://github.com/netzpirat/haml_coffee_assets) |
|
45
|
+
| js-routes | **0.9.6** | none | [homepage](https://github.com/railsware/js-routes) |
|
46
|
+
|
47
|
+
### Plugins
|
48
|
+
|
49
|
+
| Library | Versions | Changelog | Homepage | Default |
|
50
|
+
| :-----: | :------: | :-------: | :------: | :-----: |
|
51
|
+
| backbone associations | **0.6.1**, 0.5.5, 0.5.4, 0.5.1 | [changelog](https://github.com/dhruvaray/backbone-associations/blob/master/CHANGELOG.md) | [homepage](http://dhruvaray.github.io/backbone-associations/) | Yes
|
52
|
+
| backbone deepmodel | **0.10.4** | [changelog](https://github.com/powmedia/backbone-deep-model#changelog) | [homepage](https://github.com/powmedia/backbone-deep-model) | Yes
|
53
|
+
| backbone mutators | **0.4.1** | [changelog](https://github.com/asciidisco/Backbone.Mutators#changelog) | [homepage](https://github.com/asciidisco/Backbone.Mutators) | No
|
54
|
+
| backbone pageable | **1.4.5**, 1.3.2 | [changelog](https://github.com/backbone-paginator/backbone-pageable#change-log) | [homepage](https://github.com/wyuenho/backbone-pageable) | Yes
|
55
|
+
| backbone stickit | **0.7.0**, 0.6.3 | [changelog](http://nytimes.github.io/backbone.stickit/#change-log) | [homepage](http://nytimes.github.io/backbone.stickit/) | Yes
|
56
|
+
| backbone validation | **0.9.1**, 0.8.1 | [changelog](https://github.com/thedersen/backbone.validation#release-notes) | [homepage](https://github.com/thedersen/backbone.validation) | Yes
|
57
|
+
| backbone virtualcollection | **0.4.8**, 0.4.5 | [changelog](https://github.com/p3drosola/Backbone.VirtualCollection#changelog) | [homepage](https://github.com/p3drosola/Backbone.VirtualCollection) | Yes
|
58
|
+
| cocktail | **0.5.3** | none | [homepage](https://github.com/onsi/cocktail) | No
|
59
|
+
| momentjs | **2.5.1** | [changelog](https://github.com/moment/ moment/#changelog) | [homepage](https://github.com/derekprior/momentjs-rails) | No
|
60
|
+
| underscore inflections | **0.2.1** | none | [homepage](https://github.com/geetarista/underscore.inflections) | No
|
61
|
+
| underscore string | **2.3.2** | [changelog](https://github.com/epeli/underscore.string#changelog) | [homepage](http://epeli.github.io/underscore.string/) | No
|
62
|
+
> Default: library is included in `js_stack/plugins`
|
236
63
|
|
237
64
|
## Contributing
|
238
65
|
|
data/lib/js_stack/version.rb
CHANGED