js_stack 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: f4330520aad95b4a0d961ecefed84fe05e85c9c0
4
+ data.tar.gz: 2ffb7e2dc5c24d1f69ddfa5228765826994329ad
5
+ SHA512:
6
+ metadata.gz: 216ae63cf858a68caa5dd3bd563e033cfbb076ad5e0eea91436a1fc9b07ce365467dd39496cd6025bf0fcedd1000d66732c8b6c558b7a9cdd2382eed39e21d4b
7
+ data.tar.gz: 7d5de5d4e000452acf395e53aa77a74f3f343fe83f16f2648e6174735ab8815f96d0a3adb3618fa1e2d8606b0f9e213761aebe2bd54e42fb742fa52495bbe50d
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in js-stack.gemspec
4
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,93 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ js_stack (0.0.1)
5
+ backbone-rails (= 1.0.0.1)
6
+ marionette-rails (= 1.1.0)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actionmailer (4.0.0)
12
+ actionpack (= 4.0.0)
13
+ mail (~> 2.5.3)
14
+ actionpack (4.0.0)
15
+ activesupport (= 4.0.0)
16
+ builder (~> 3.1.0)
17
+ erubis (~> 2.7.0)
18
+ rack (~> 1.5.2)
19
+ rack-test (~> 0.6.2)
20
+ activemodel (4.0.0)
21
+ activesupport (= 4.0.0)
22
+ builder (~> 3.1.0)
23
+ activerecord (4.0.0)
24
+ activemodel (= 4.0.0)
25
+ activerecord-deprecated_finders (~> 1.0.2)
26
+ activesupport (= 4.0.0)
27
+ arel (~> 4.0.0)
28
+ activerecord-deprecated_finders (1.0.3)
29
+ activesupport (4.0.0)
30
+ i18n (~> 0.6, >= 0.6.4)
31
+ minitest (~> 4.2)
32
+ multi_json (~> 1.3)
33
+ thread_safe (~> 0.1)
34
+ tzinfo (~> 0.3.37)
35
+ arel (4.0.0)
36
+ atomic (1.1.13)
37
+ backbone-rails (1.0.0.1)
38
+ rails (>= 3.0.0)
39
+ builder (3.1.4)
40
+ erubis (2.7.0)
41
+ hike (1.2.3)
42
+ i18n (0.6.5)
43
+ mail (2.5.4)
44
+ mime-types (~> 1.16)
45
+ treetop (~> 1.4.8)
46
+ marionette-rails (1.1.0)
47
+ rails (>= 3.1.0)
48
+ mime-types (1.24)
49
+ minitest (4.7.5)
50
+ multi_json (1.7.9)
51
+ polyglot (0.3.3)
52
+ rack (1.5.2)
53
+ rack-test (0.6.2)
54
+ rack (>= 1.0)
55
+ rails (4.0.0)
56
+ actionmailer (= 4.0.0)
57
+ actionpack (= 4.0.0)
58
+ activerecord (= 4.0.0)
59
+ activesupport (= 4.0.0)
60
+ bundler (>= 1.3.0, < 2.0)
61
+ railties (= 4.0.0)
62
+ sprockets-rails (~> 2.0.0)
63
+ railties (4.0.0)
64
+ actionpack (= 4.0.0)
65
+ activesupport (= 4.0.0)
66
+ rake (>= 0.8.7)
67
+ thor (>= 0.18.1, < 2.0)
68
+ rake (10.1.0)
69
+ sprockets (2.10.0)
70
+ hike (~> 1.2)
71
+ multi_json (~> 1.0)
72
+ rack (~> 1.0)
73
+ tilt (~> 1.1, != 1.3.0)
74
+ sprockets-rails (2.0.0)
75
+ actionpack (>= 3.0)
76
+ activesupport (>= 3.0)
77
+ sprockets (~> 2.8)
78
+ thor (0.18.1)
79
+ thread_safe (0.1.2)
80
+ atomic
81
+ tilt (1.4.1)
82
+ treetop (1.4.15)
83
+ polyglot
84
+ polyglot (>= 0.3.1)
85
+ tzinfo (0.3.37)
86
+
87
+ PLATFORMS
88
+ ruby
89
+
90
+ DEPENDENCIES
91
+ bundler (~> 1.3)
92
+ js_stack!
93
+ rake
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013 Tomasz Pewiński
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,98 @@
1
+ js-stack
2
+ ========
3
+
4
+ Standard JS SPA stack we use at netguru
5
+
6
+ ## Installation
7
+
8
+ Add this line to your application's Gemfile:
9
+
10
+ gem 'js_stack'
11
+
12
+ And then execute:
13
+
14
+ $ bundle
15
+
16
+ ## Usage
17
+
18
+ Modify `application.coffee` (you have to be using asset pipeline):
19
+
20
+ ``` coffeescript
21
+ #= require js_stack
22
+ ```
23
+
24
+ ## What's included?
25
+
26
+ ### backbone.js 1.0.0
27
+
28
+ http://backbonejs.org/
29
+
30
+ ``` coffeescript
31
+ #= require js_stack/backbone
32
+ ```
33
+
34
+ ### marionette.js 1.1.0
35
+
36
+ https://github.com/marionettejs/backbone.marionette/tree/master/docs
37
+
38
+ ``` coffeescript
39
+ #= require js_stack/marionette
40
+ ```
41
+
42
+ ### backbone.stickit 0.6.3
43
+
44
+ http://nytimes.github.io/backbone.stickit/
45
+
46
+ ``` coffeescript
47
+ #= require js_stack/backbone.stickit
48
+ ```
49
+
50
+ ### backbone.validation 0.8.1
51
+
52
+ https://github.com/thedersen/backbone.validation
53
+
54
+
55
+ ``` coffeescript
56
+ #= require js_stack/backbone.validation
57
+ ```
58
+
59
+ ### backbone-associations 0.5.1
60
+
61
+ http://dhruvaray.github.io/backbone-associations/
62
+
63
+ ``` coffeescript
64
+ #= require js_stack/backbone.associations
65
+ ```
66
+
67
+ ### backbone-pageable 1.3.2
68
+
69
+ https://github.com/wyuenho/backbone-pageable
70
+
71
+
72
+ ``` coffeescript
73
+ #= require js_stack/backbone.pageable
74
+ ```
75
+
76
+ ### backbone.deepmodel 0.10.4
77
+
78
+ https://github.com/powmedia/backbone-deep-model
79
+
80
+ ``` coffeescript
81
+ #= require js_stack/backbone.deepmodel
82
+ ```
83
+
84
+ ### backbone-virtualcollection 0.4.5
85
+
86
+ https://github.com/p3drosola/Backbone.VirtualCollection
87
+
88
+ ``` coffeescript
89
+ #= require js_stack/backbone.virtualcollection
90
+ ```
91
+
92
+ ## Contributing
93
+
94
+ 1. Fork it
95
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
96
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
97
+ 4. Push to the branch (`git push origin my-new-feature`)
98
+ 5. Create new Pull Request
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
data/js_stack.gemspec ADDED
@@ -0,0 +1,26 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'js_stack/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "js_stack"
8
+ spec.version = JsStack::VERSION
9
+ spec.authors = ["Tomasz Pewiński"]
10
+ spec.email = ["pewniak747@gmail.com"]
11
+ spec.description = "standard SPA stack used at netguru.co"
12
+ spec.summary = "standard SPA stack used at netguru.co"
13
+ spec.homepage = "https://github.com/netguru/js_stack"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files`.split($/)
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_dependency "backbone-rails", "= 1.0.0.1"
22
+ spec.add_dependency "marionette-rails", "= 1.1.0"
23
+
24
+ spec.add_development_dependency "bundler", "~> 1.3"
25
+ spec.add_development_dependency "rake"
26
+ end
@@ -0,0 +1,3 @@
1
+ module JsStack
2
+ VERSION = "0.0.1"
3
+ end
data/lib/js_stack.rb ADDED
@@ -0,0 +1,9 @@
1
+ require "js_stack/version"
2
+ require 'rails'
3
+ require 'backbone-rails'
4
+ require 'marionette-rails'
5
+
6
+ module JsStack
7
+ class Engine < ::Rails::Engine
8
+ end
9
+ end