jquery-ui-rails-google-cdn 0.0.1
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 +7 -0
- data/.DS_Store +0 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +14 -0
- data/LICENSE +22 -0
- data/README.md +87 -0
- data/Rakefile +2 -0
- data/demoapp/.bundle/config +4 -0
- data/demoapp/.gitignore +58 -0
- data/demoapp/.ruby-version +1 -0
- data/demoapp/Gemfile +48 -0
- data/demoapp/Gemfile.lock +131 -0
- data/demoapp/README.rdoc +28 -0
- data/demoapp/Rakefile +6 -0
- data/demoapp/app/assets/javascripts/application.js +14 -0
- data/demoapp/app/assets/javascripts/home.js.coffee +3 -0
- data/demoapp/app/assets/stylesheets/application.css +13 -0
- data/demoapp/app/assets/stylesheets/home.css.scss +3 -0
- data/demoapp/app/controllers/application_controller.rb +5 -0
- data/demoapp/app/controllers/concerns/.keep +0 -0
- data/demoapp/app/controllers/home_controller.rb +4 -0
- data/demoapp/app/helpers/application_helper.rb +2 -0
- data/demoapp/app/helpers/home_helper.rb +2 -0
- data/demoapp/app/mailers/.keep +0 -0
- data/demoapp/app/models/.keep +0 -0
- data/demoapp/app/models/concerns/.keep +0 -0
- data/demoapp/app/views/home/index.html.erb +1 -0
- data/demoapp/app/views/layouts/application.html.erb +17 -0
- data/demoapp/bin/bundle +3 -0
- data/demoapp/bin/rails +4 -0
- data/demoapp/bin/rake +4 -0
- data/demoapp/config.ru +4 -0
- data/demoapp/config/application.rb +34 -0
- data/demoapp/config/boot.rb +4 -0
- data/demoapp/config/database.yml +25 -0
- data/demoapp/config/environment.rb +5 -0
- data/demoapp/config/environments/development.rb +29 -0
- data/demoapp/config/environments/production.rb +80 -0
- data/demoapp/config/environments/test.rb +36 -0
- data/demoapp/config/initializers/backtrace_silencers.rb +7 -0
- data/demoapp/config/initializers/filter_parameter_logging.rb +4 -0
- data/demoapp/config/initializers/inflections.rb +16 -0
- data/demoapp/config/initializers/mime_types.rb +5 -0
- data/demoapp/config/initializers/secret_token.rb +12 -0
- data/demoapp/config/initializers/session_store.rb +3 -0
- data/demoapp/config/initializers/wrap_parameters.rb +14 -0
- data/demoapp/config/locales/en.yml +23 -0
- data/demoapp/config/routes.rb +52 -0
- data/demoapp/db/schema.rb +16 -0
- data/demoapp/db/seeds.rb +7 -0
- data/demoapp/lib/assets/.keep +0 -0
- data/demoapp/lib/tasks/.keep +0 -0
- data/demoapp/log/.keep +0 -0
- data/demoapp/public/404.html +58 -0
- data/demoapp/public/422.html +58 -0
- data/demoapp/public/500.html +57 -0
- data/demoapp/public/favicon.ico +0 -0
- data/demoapp/public/robots.txt +5 -0
- data/demoapp/vendor/assets/javascripts/.keep +0 -0
- data/demoapp/vendor/assets/javascripts/jquery/jquery-ui.min.js +12 -0
- data/demoapp/vendor/assets/javascripts/jquery/jquery.min.js +6 -0
- data/demoapp/vendor/assets/stylesheets/.keep +0 -0
- data/jquery-ui-rails-google-cdn.gemspec +18 -0
- data/lib/jquery-ui-rails-google-cdn.rb +2 -0
- data/lib/jquery-ui-rails-google-cdn/railtie.rb +13 -0
- data/lib/jquery-ui-rails-google-cdn/view_helpers.rb +16 -0
- metadata +110 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: cdf5b1dc9e6eca5bef30b0dc9249e12ac65e94ac
|
|
4
|
+
data.tar.gz: 278c46c4a1a054243e652360f2c9d8ec4fe8dca9
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 90cc046610033d70acde3860f755e7749582ae6bb758b096336518df9784026f6dfb3e67bfd1fb0a0ba8031d0be37829272fc5a119b608bf32f1f16a03459171
|
|
7
|
+
data.tar.gz: fefb4c39bf61337ce5982c09a3679beff597c8ccc076b8207578774fbe1d5ff6f435229f1b1c6f7ca0286e6509aa57625beec2a2f5a6c07ebf65478edf0c9551
|
data/.DS_Store
ADDED
|
Binary file
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
data/LICENSE
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
Copyright (c) 2012 Kenn Ejima
|
|
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,87 @@
|
|
|
1
|
+
I have to give credit to the authors of the gems I combined and modified to make this a reality:
|
|
2
|
+
[jquery-rails-cdn](https://github.com/kenn/jquery-rails-cdn) and [jquery-ui-rails-cdn](https://github.com/styx/jquery-ui-rails-cdn). This gem will utilize [jquery-rails](https://github.com/rails/jquery-rails) however, it will serve your jquery and jquery-ui files from the google cdn, if possible, than fall back to your local copies if neccessary.
|
|
3
|
+
|
|
4
|
+
Serving jQuery and jQuery-ui from a publicly available [CDN](http://en.wikipedia.org/wiki/Content_Delivery_Network) has clear benefits:
|
|
5
|
+
|
|
6
|
+
* **Speed**: Users will be able to download jQuery from the closest physical location.
|
|
7
|
+
* **Caching**: CDN is used so widely that potentially your users may not need to download jQuery at all.
|
|
8
|
+
* **Parallelism**: Browsers have a limitation on how many connections can be made to a single host. Using a CDN for jQuery offloads a big one.
|
|
9
|
+
|
|
10
|
+
=============
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
This gem offers the following features:
|
|
15
|
+
|
|
16
|
+
* Supports Google CDN
|
|
17
|
+
* jQuery and jQuery-ui versions are set in your application.rb file
|
|
18
|
+
* Automatically fallback to local jquery ui min files stored in your vendor directory:
|
|
19
|
+
* You're on a development environment, so that you can work offline.
|
|
20
|
+
* The CDN is down or unreachable.
|
|
21
|
+
|
|
22
|
+
On top of that, if you're using asset pipeline, you may have noticed that the major chunks of the code in combined `application.js` is jQuery. Implications of externalizing jQuery from `application.js` are:
|
|
23
|
+
|
|
24
|
+
* Updating your JS code won't evict the entire cache in browsers.
|
|
25
|
+
* Cached jQuery in the client browsers will survive deployments.
|
|
26
|
+
* Your code changes more often than jQuery upgrades, right?
|
|
27
|
+
* `rake assets:precompile` will run faster and use less memory.
|
|
28
|
+
|
|
29
|
+
=============
|
|
30
|
+
|
|
31
|
+
### Installation
|
|
32
|
+
|
|
33
|
+
If you're using the asset pipeline with Rails 3.1+,
|
|
34
|
+
|
|
35
|
+
- Start by removing `//= require jquery` and `//= require jquery_ujs` from your `application.js` file.
|
|
36
|
+
|
|
37
|
+
If you're using the asset pipeline with Rails 4+,
|
|
38
|
+
|
|
39
|
+
- Create the jQuery vendor directory: `mkdir vendor/assets/javascripts/jquery`
|
|
40
|
+
- Download the version of jquery you want to use from the [google cdn](https://developers.google.com/speed/libraries/devguide#jquery-ui) and save the file to this directory. The file should look something like `jquery-ui.min.js`.
|
|
41
|
+
- Verify you have the jquery-rails gem enabled as well as the new gem:
|
|
42
|
+
|
|
43
|
+
```ruby
|
|
44
|
+
gem 'jquery-rails'
|
|
45
|
+
gem 'jquery-rails-google-cdn'
|
|
46
|
+
gem 'jquery-ui-rails'
|
|
47
|
+
gem 'jquery-ui-rails-google-cdn'
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
- Add these lines to your application.rb file to set the version of jQuery you are using and to make sure the asset pipeline makes it available:
|
|
51
|
+
|
|
52
|
+
```ruby
|
|
53
|
+
config.assets.precompile += ["jquery.min.js","jquery-ui.min.js"]
|
|
54
|
+
config.jquery_ui_version = "1.10.3"
|
|
55
|
+
config.jquery_version = "2.0.2"
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
- Finally add this section to your layouts file.
|
|
59
|
+
|
|
60
|
+
```html
|
|
61
|
+
<%= jquery_include_tag Rails.application.config.jquery_version %>
|
|
62
|
+
<%= jquery_ui_include_tag Rails.application.config.jquery_ui_version %>
|
|
63
|
+
<%= javascript_include_tag "application" %>
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
It will generate the following across all modes production, testing, and development:
|
|
67
|
+
|
|
68
|
+
```html
|
|
69
|
+
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
|
|
70
|
+
<script>
|
|
71
|
+
//<![CDATA[
|
|
72
|
+
window.jQuery || document.write(unescape('%3Cscript src="/assets/jquery.min.js">%3C/script>'))
|
|
73
|
+
//]]>
|
|
74
|
+
</script>
|
|
75
|
+
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
|
|
76
|
+
<script>
|
|
77
|
+
//<![CDATA[
|
|
78
|
+
window.jQuery.ui || document.write(unescape('%3Cscript src="/assets/jquery-ui.min.js">%3C/script>'))
|
|
79
|
+
//]]>
|
|
80
|
+
</script>
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
=============
|
|
84
|
+
|
|
85
|
+
###Changelog
|
|
86
|
+
|
|
87
|
+
* v0.0.1: Initial release
|
data/Rakefile
ADDED
data/demoapp/.gitignore
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# See http://help.github.com/ignore-files/ for more about ignoring files.
|
|
2
|
+
#
|
|
3
|
+
# If you find yourself ignoring temporary files generated by your text editor
|
|
4
|
+
# or operating system, you probably want to add a global ignore instead:
|
|
5
|
+
# git config --global core.excludesfile ~/.gitignore_global
|
|
6
|
+
|
|
7
|
+
# Ignore specific config files
|
|
8
|
+
.bundle/*
|
|
9
|
+
!.bundle/config
|
|
10
|
+
.chef
|
|
11
|
+
.vagrant
|
|
12
|
+
|
|
13
|
+
# Ignore the default SQLite database.
|
|
14
|
+
/db/*.sqlite3
|
|
15
|
+
|
|
16
|
+
# Ignore all logfiles and tempfiles.
|
|
17
|
+
/log/*.log
|
|
18
|
+
/tmp
|
|
19
|
+
|
|
20
|
+
# APPLICATION #
|
|
21
|
+
###################
|
|
22
|
+
*.com
|
|
23
|
+
*.class
|
|
24
|
+
*.dll
|
|
25
|
+
*.exe
|
|
26
|
+
*.o
|
|
27
|
+
*.so
|
|
28
|
+
|
|
29
|
+
# Packages #
|
|
30
|
+
############
|
|
31
|
+
# it's better to unpack these files and commit the raw source
|
|
32
|
+
# git has its own built in compression methods
|
|
33
|
+
*.7z
|
|
34
|
+
*.dmg
|
|
35
|
+
*.gz
|
|
36
|
+
*.iso
|
|
37
|
+
*.jar
|
|
38
|
+
*.rar
|
|
39
|
+
*.tar
|
|
40
|
+
*.zip
|
|
41
|
+
|
|
42
|
+
# Logs and databases #
|
|
43
|
+
######################
|
|
44
|
+
*.log
|
|
45
|
+
*.sql
|
|
46
|
+
*.sqlite
|
|
47
|
+
|
|
48
|
+
# OS generated files #
|
|
49
|
+
######################
|
|
50
|
+
*.DS_Store
|
|
51
|
+
.DS_Store?
|
|
52
|
+
._*
|
|
53
|
+
.Spotlight-V100
|
|
54
|
+
.Trashes
|
|
55
|
+
Icon?
|
|
56
|
+
ehthumbs.db
|
|
57
|
+
Thumbs.db
|
|
58
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.0.0-p0
|
data/demoapp/Gemfile
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
source 'https://rubygems.org'
|
|
2
|
+
|
|
3
|
+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
|
4
|
+
gem 'rails', '4.0.0.rc1'
|
|
5
|
+
|
|
6
|
+
# Use sqlite3 as the database for Active Record
|
|
7
|
+
gem 'sqlite3'
|
|
8
|
+
|
|
9
|
+
# Use SCSS for stylesheets
|
|
10
|
+
gem 'sass-rails', '~> 4.0.0.rc1'
|
|
11
|
+
|
|
12
|
+
# Use Uglifier as compressor for JavaScript assets
|
|
13
|
+
gem 'uglifier', '>= 1.3.0'
|
|
14
|
+
|
|
15
|
+
# Use CoffeeScript for .js.coffee assets and views
|
|
16
|
+
gem 'coffee-rails', '~> 4.0.0'
|
|
17
|
+
|
|
18
|
+
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
|
|
19
|
+
# gem 'therubyracer', platforms: :ruby
|
|
20
|
+
|
|
21
|
+
# Use jquery as the JavaScript library
|
|
22
|
+
gem 'jquery-rails'
|
|
23
|
+
gem 'jquery-rails-google-cdn'
|
|
24
|
+
gem 'jquery-ui-rails'
|
|
25
|
+
gem 'jquery-ui-rails-google-cdn'
|
|
26
|
+
|
|
27
|
+
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
|
|
28
|
+
gem 'turbolinks'
|
|
29
|
+
|
|
30
|
+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
|
|
31
|
+
gem 'jbuilder', '~> 1.0.1'
|
|
32
|
+
|
|
33
|
+
group :doc do
|
|
34
|
+
# bundle exec rake doc:rails generates the API under doc/api.
|
|
35
|
+
gem 'sdoc', require: false
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# Use ActiveModel has_secure_password
|
|
39
|
+
# gem 'bcrypt-ruby', '~> 3.0.0'
|
|
40
|
+
|
|
41
|
+
# Use unicorn as the app server
|
|
42
|
+
# gem 'unicorn'
|
|
43
|
+
|
|
44
|
+
# Use Capistrano for deployment
|
|
45
|
+
# gem 'capistrano', group: :development
|
|
46
|
+
|
|
47
|
+
# Use debugger
|
|
48
|
+
# gem 'debugger', group: [:development, :test]
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: ../
|
|
3
|
+
specs:
|
|
4
|
+
jquery-ui-rails-google-cdn (0.0.1)
|
|
5
|
+
|
|
6
|
+
GEM
|
|
7
|
+
remote: https://rubygems.org/
|
|
8
|
+
specs:
|
|
9
|
+
actionmailer (4.0.0.rc1)
|
|
10
|
+
actionpack (= 4.0.0.rc1)
|
|
11
|
+
mail (~> 2.5.3)
|
|
12
|
+
actionpack (4.0.0.rc1)
|
|
13
|
+
activesupport (= 4.0.0.rc1)
|
|
14
|
+
builder (~> 3.1.0)
|
|
15
|
+
erubis (~> 2.7.0)
|
|
16
|
+
rack (~> 1.5.2)
|
|
17
|
+
rack-test (~> 0.6.2)
|
|
18
|
+
activemodel (4.0.0.rc1)
|
|
19
|
+
activesupport (= 4.0.0.rc1)
|
|
20
|
+
builder (~> 3.1.0)
|
|
21
|
+
activerecord (4.0.0.rc1)
|
|
22
|
+
activemodel (= 4.0.0.rc1)
|
|
23
|
+
activerecord-deprecated_finders (~> 1.0.2)
|
|
24
|
+
activesupport (= 4.0.0.rc1)
|
|
25
|
+
arel (~> 4.0.0)
|
|
26
|
+
activerecord-deprecated_finders (1.0.3)
|
|
27
|
+
activesupport (4.0.0.rc1)
|
|
28
|
+
i18n (~> 0.6, >= 0.6.4)
|
|
29
|
+
minitest (~> 4.2)
|
|
30
|
+
multi_json (~> 1.3)
|
|
31
|
+
thread_safe (~> 0.1)
|
|
32
|
+
tzinfo (~> 0.3.37)
|
|
33
|
+
arel (4.0.0)
|
|
34
|
+
atomic (1.1.9)
|
|
35
|
+
builder (3.1.4)
|
|
36
|
+
coffee-rails (4.0.0)
|
|
37
|
+
coffee-script (>= 2.2.0)
|
|
38
|
+
railties (>= 4.0.0.beta, < 5.0)
|
|
39
|
+
coffee-script (2.2.0)
|
|
40
|
+
coffee-script-source
|
|
41
|
+
execjs
|
|
42
|
+
coffee-script-source (1.6.2)
|
|
43
|
+
erubis (2.7.0)
|
|
44
|
+
execjs (1.4.0)
|
|
45
|
+
multi_json (~> 1.0)
|
|
46
|
+
hike (1.2.3)
|
|
47
|
+
i18n (0.6.4)
|
|
48
|
+
jbuilder (1.0.2)
|
|
49
|
+
activesupport (>= 3.0.0)
|
|
50
|
+
jquery-rails (3.0.1)
|
|
51
|
+
railties (>= 3.0, < 5.0)
|
|
52
|
+
thor (>= 0.14, < 2.0)
|
|
53
|
+
jquery-rails-google-cdn (0.0.4)
|
|
54
|
+
jquery-ui-rails (4.0.3)
|
|
55
|
+
jquery-rails
|
|
56
|
+
railties (>= 3.1.0)
|
|
57
|
+
json (1.8.0)
|
|
58
|
+
mail (2.5.4)
|
|
59
|
+
mime-types (~> 1.16)
|
|
60
|
+
treetop (~> 1.4.8)
|
|
61
|
+
mime-types (1.23)
|
|
62
|
+
minitest (4.7.4)
|
|
63
|
+
multi_json (1.7.6)
|
|
64
|
+
polyglot (0.3.3)
|
|
65
|
+
rack (1.5.2)
|
|
66
|
+
rack-test (0.6.2)
|
|
67
|
+
rack (>= 1.0)
|
|
68
|
+
rails (4.0.0.rc1)
|
|
69
|
+
actionmailer (= 4.0.0.rc1)
|
|
70
|
+
actionpack (= 4.0.0.rc1)
|
|
71
|
+
activerecord (= 4.0.0.rc1)
|
|
72
|
+
activesupport (= 4.0.0.rc1)
|
|
73
|
+
bundler (>= 1.3.0, < 2.0)
|
|
74
|
+
railties (= 4.0.0.rc1)
|
|
75
|
+
sprockets-rails (~> 2.0.0.rc4)
|
|
76
|
+
railties (4.0.0.rc1)
|
|
77
|
+
actionpack (= 4.0.0.rc1)
|
|
78
|
+
activesupport (= 4.0.0.rc1)
|
|
79
|
+
rake (>= 0.8.7)
|
|
80
|
+
thor (>= 0.18.1, < 2.0)
|
|
81
|
+
rake (10.0.4)
|
|
82
|
+
rdoc (3.12.2)
|
|
83
|
+
json (~> 1.4)
|
|
84
|
+
sass (3.2.9)
|
|
85
|
+
sass-rails (4.0.0.rc2)
|
|
86
|
+
railties (>= 4.0.0.beta, < 5.0)
|
|
87
|
+
sass (>= 3.1.10)
|
|
88
|
+
sprockets-rails (~> 2.0.0)
|
|
89
|
+
sdoc (0.3.20)
|
|
90
|
+
json (>= 1.1.3)
|
|
91
|
+
rdoc (~> 3.10)
|
|
92
|
+
sprockets (2.10.0)
|
|
93
|
+
hike (~> 1.2)
|
|
94
|
+
multi_json (~> 1.0)
|
|
95
|
+
rack (~> 1.0)
|
|
96
|
+
tilt (~> 1.1, != 1.3.0)
|
|
97
|
+
sprockets-rails (2.0.0)
|
|
98
|
+
actionpack (>= 3.0)
|
|
99
|
+
activesupport (>= 3.0)
|
|
100
|
+
sprockets (~> 2.8)
|
|
101
|
+
sqlite3 (1.3.7)
|
|
102
|
+
thor (0.18.1)
|
|
103
|
+
thread_safe (0.1.0)
|
|
104
|
+
atomic
|
|
105
|
+
tilt (1.4.1)
|
|
106
|
+
treetop (1.4.14)
|
|
107
|
+
polyglot
|
|
108
|
+
polyglot (>= 0.3.1)
|
|
109
|
+
turbolinks (1.2.0)
|
|
110
|
+
coffee-rails
|
|
111
|
+
tzinfo (0.3.37)
|
|
112
|
+
uglifier (2.1.1)
|
|
113
|
+
execjs (>= 0.3.0)
|
|
114
|
+
multi_json (~> 1.0, >= 1.0.2)
|
|
115
|
+
|
|
116
|
+
PLATFORMS
|
|
117
|
+
ruby
|
|
118
|
+
|
|
119
|
+
DEPENDENCIES
|
|
120
|
+
coffee-rails (~> 4.0.0)
|
|
121
|
+
jbuilder (~> 1.0.1)
|
|
122
|
+
jquery-rails
|
|
123
|
+
jquery-rails-google-cdn
|
|
124
|
+
jquery-ui-rails
|
|
125
|
+
jquery-ui-rails-google-cdn!
|
|
126
|
+
rails (= 4.0.0.rc1)
|
|
127
|
+
sass-rails (~> 4.0.0.rc1)
|
|
128
|
+
sdoc
|
|
129
|
+
sqlite3
|
|
130
|
+
turbolinks
|
|
131
|
+
uglifier (>= 1.3.0)
|
data/demoapp/README.rdoc
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
== README
|
|
2
|
+
|
|
3
|
+
This README would normally document whatever steps are necessary to get the
|
|
4
|
+
application up and running.
|
|
5
|
+
|
|
6
|
+
Things you may want to cover:
|
|
7
|
+
|
|
8
|
+
* Ruby version
|
|
9
|
+
|
|
10
|
+
* System dependencies
|
|
11
|
+
|
|
12
|
+
* Configuration
|
|
13
|
+
|
|
14
|
+
* Database creation
|
|
15
|
+
|
|
16
|
+
* Database initialization
|
|
17
|
+
|
|
18
|
+
* How to run the test suite
|
|
19
|
+
|
|
20
|
+
* Services (job queues, cache servers, search engines, etc.)
|
|
21
|
+
|
|
22
|
+
* Deployment instructions
|
|
23
|
+
|
|
24
|
+
* ...
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
Please feel free to use a different markup language if you do not plan to run
|
|
28
|
+
<tt>rake doc:app</tt>.
|
data/demoapp/Rakefile
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
|
2
|
+
// listed below.
|
|
3
|
+
//
|
|
4
|
+
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
|
5
|
+
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
|
|
6
|
+
//
|
|
7
|
+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
|
8
|
+
// compiled file.
|
|
9
|
+
//
|
|
10
|
+
// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
|
|
11
|
+
// GO AFTER THE REQUIRES BELOW.
|
|
12
|
+
//
|
|
13
|
+
//= require turbolinks
|
|
14
|
+
//= require_tree .
|