jquery-ui-rails-google-cdn 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +46 -0
- data/README.md +23 -1
- data/demoapp/Gemfile +1 -0
- data/demoapp/Gemfile.lock +2 -6
- data/demoapp/app/assets/javascripts/application.js +1 -0
- data/demoapp/app/views/layouts/application.html.erb +1 -1
- data/jquery-ui-rails-google-cdn-0.0.1.gem +0 -0
- data/jquery-ui-rails-google-cdn.gemspec +4 -10
- metadata +10 -9
- data/.DS_Store +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 714b1c33cf135b5cb410ce23072f52e04a46d615
|
4
|
+
data.tar.gz: f0d1f0c4b55cf5e43344cfc0c500bf56f0043491
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb4983904ade99051ed45409c38d94c44717340a3c5d0e3f7aed622aa3e89611a4290efcd878b4155a1fc5e6474e09279a81e821820af0dab4dcea78b67a7ec4
|
7
|
+
data.tar.gz: 9502a3567fd34da775b2dd177a72346d5e501e7340b878b2947a57af24df1dafdaa3348090c33446a92642d6453c600b0b5f5f06bef3ebd7ba9aaac7d7a2123f
|
data/.gitignore
ADDED
@@ -0,0 +1,46 @@
|
|
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
|
+
# APPLICATION #
|
8
|
+
###################
|
9
|
+
*.com
|
10
|
+
*.class
|
11
|
+
*.dll
|
12
|
+
*.exe
|
13
|
+
*.o
|
14
|
+
*.so
|
15
|
+
|
16
|
+
# Packages #
|
17
|
+
############
|
18
|
+
# it's better to unpack these files and commit the raw source
|
19
|
+
# git has its own built in compression methods
|
20
|
+
*.7z
|
21
|
+
*.dmg
|
22
|
+
*.gz
|
23
|
+
*.iso
|
24
|
+
*.jar
|
25
|
+
*.rar
|
26
|
+
*.tar
|
27
|
+
*.zip
|
28
|
+
|
29
|
+
# Logs and databases #
|
30
|
+
######################
|
31
|
+
*.log
|
32
|
+
*.sql
|
33
|
+
*.sqlite
|
34
|
+
|
35
|
+
# OS generated files #
|
36
|
+
######################
|
37
|
+
*.DS_Store
|
38
|
+
.DS_Store?
|
39
|
+
._*
|
40
|
+
.Spotlight-V100
|
41
|
+
.Trashes
|
42
|
+
Icon?
|
43
|
+
ehthumbs.db
|
44
|
+
Thumbs.db
|
45
|
+
|
46
|
+
|
data/README.md
CHANGED
@@ -63,7 +63,29 @@ config.jquery_version = "2.0.2"
|
|
63
63
|
<%= javascript_include_tag "application" %>
|
64
64
|
```
|
65
65
|
|
66
|
-
|
66
|
+
- Please verify you do not have a duplicate `application` js include as this can cause issues with libraries down the road like ember. Here is an example layout of a rails 4 application:
|
67
|
+
|
68
|
+
```html
|
69
|
+
<!DOCTYPE html>
|
70
|
+
<html>
|
71
|
+
<head>
|
72
|
+
<title>Demoapp</title>
|
73
|
+
<%= jquery_include_tag Rails.application.config.jquery_version %>
|
74
|
+
<%= jquery_ui_include_tag Rails.application.config.jquery_ui_version %>
|
75
|
+
<%= javascript_include_tag "application" %>
|
76
|
+
<%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
|
77
|
+
<%= javascript_include_tag "data-turbolinks-track" => true %>
|
78
|
+
<%= csrf_meta_tags %>
|
79
|
+
</head>
|
80
|
+
<body>
|
81
|
+
|
82
|
+
<%= yield %>
|
83
|
+
|
84
|
+
</body>
|
85
|
+
</html>
|
86
|
+
```
|
87
|
+
|
88
|
+
The gem will generate the following across all modes production, testing, and development:
|
67
89
|
|
68
90
|
```html
|
69
91
|
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
|
data/demoapp/Gemfile
CHANGED
@@ -23,6 +23,7 @@ gem 'jquery-rails'
|
|
23
23
|
gem 'jquery-rails-google-cdn'
|
24
24
|
gem 'jquery-ui-rails'
|
25
25
|
gem 'jquery-ui-rails-google-cdn'
|
26
|
+
# gem 'jquery-ui-rails-google-cdn', path: '../'
|
26
27
|
|
27
28
|
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
|
28
29
|
gem 'turbolinks'
|
data/demoapp/Gemfile.lock
CHANGED
@@ -1,8 +1,3 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ../
|
3
|
-
specs:
|
4
|
-
jquery-ui-rails-google-cdn (0.0.1)
|
5
|
-
|
6
1
|
GEM
|
7
2
|
remote: https://rubygems.org/
|
8
3
|
specs:
|
@@ -54,6 +49,7 @@ GEM
|
|
54
49
|
jquery-ui-rails (4.0.3)
|
55
50
|
jquery-rails
|
56
51
|
railties (>= 3.1.0)
|
52
|
+
jquery-ui-rails-google-cdn (0.0.1)
|
57
53
|
json (1.8.0)
|
58
54
|
mail (2.5.4)
|
59
55
|
mime-types (~> 1.16)
|
@@ -122,7 +118,7 @@ DEPENDENCIES
|
|
122
118
|
jquery-rails
|
123
119
|
jquery-rails-google-cdn
|
124
120
|
jquery-ui-rails
|
125
|
-
jquery-ui-rails-google-cdn
|
121
|
+
jquery-ui-rails-google-cdn
|
126
122
|
rails (= 4.0.0.rc1)
|
127
123
|
sass-rails (~> 4.0.0.rc1)
|
128
124
|
sdoc
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<%= jquery_ui_include_tag Rails.application.config.jquery_ui_version %>
|
7
7
|
<%= javascript_include_tag "application" %>
|
8
8
|
<%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
|
9
|
-
<%= javascript_include_tag "
|
9
|
+
<%= javascript_include_tag "data-turbolinks-track" => true %>
|
10
10
|
<%= csrf_meta_tags %>
|
11
11
|
</head>
|
12
12
|
<body>
|
Binary file
|
@@ -1,18 +1,12 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
1
|
Gem::Specification.new do |s|
|
3
|
-
|
4
|
-
s.
|
5
|
-
s.email = ["founders@noconformity.com"]
|
2
|
+
s.authors = ["jasonleonhard"]
|
3
|
+
s.email = ["devbrights@gmail.com"]
|
6
4
|
s.description = %q{Use the Google CDN to serve jquery ui files and fall back to the local version if the CDN is unreachable.}
|
7
5
|
s.summary = %q{A gem to serve jQuery UI from the Google CDN with fall back protection.}
|
8
|
-
s.homepage = "https://github.com/
|
9
|
-
|
6
|
+
s.homepage = "https://github.com/jasonleonhard/jquery-ui-rails-google-cdn"
|
10
7
|
s.files = `git ls-files`.split("\n")
|
11
8
|
s.require_paths = ["lib"]
|
12
|
-
|
13
9
|
s.name = "jquery-ui-rails-google-cdn"
|
14
10
|
s.licenses = "GPL"
|
15
|
-
s.version = '0.0.
|
16
|
-
|
11
|
+
s.version = '0.0.2'
|
17
12
|
end
|
18
|
-
|
metadata
CHANGED
@@ -1,24 +1,24 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jquery-ui-rails-google-cdn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- jasonleonhard
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Use the Google CDN to serve jquery ui files and fall back to the local
|
14
14
|
version if the CDN is unreachable.
|
15
15
|
email:
|
16
|
-
-
|
16
|
+
- devbrights@gmail.com
|
17
17
|
executables: []
|
18
18
|
extensions: []
|
19
19
|
extra_rdoc_files: []
|
20
20
|
files:
|
21
|
-
- .
|
21
|
+
- ".gitignore"
|
22
22
|
- Gemfile
|
23
23
|
- Gemfile.lock
|
24
24
|
- LICENSE
|
@@ -79,11 +79,12 @@ files:
|
|
79
79
|
- demoapp/vendor/assets/javascripts/jquery/jquery-ui.min.js
|
80
80
|
- demoapp/vendor/assets/javascripts/jquery/jquery.min.js
|
81
81
|
- demoapp/vendor/assets/stylesheets/.keep
|
82
|
+
- jquery-ui-rails-google-cdn-0.0.1.gem
|
82
83
|
- jquery-ui-rails-google-cdn.gemspec
|
83
84
|
- lib/jquery-ui-rails-google-cdn.rb
|
84
85
|
- lib/jquery-ui-rails-google-cdn/railtie.rb
|
85
86
|
- lib/jquery-ui-rails-google-cdn/view_helpers.rb
|
86
|
-
homepage: https://github.com/
|
87
|
+
homepage: https://github.com/jasonleonhard/jquery-ui-rails-google-cdn
|
87
88
|
licenses:
|
88
89
|
- GPL
|
89
90
|
metadata: {}
|
@@ -93,17 +94,17 @@ require_paths:
|
|
93
94
|
- lib
|
94
95
|
required_ruby_version: !ruby/object:Gem::Requirement
|
95
96
|
requirements:
|
96
|
-
- -
|
97
|
+
- - ">="
|
97
98
|
- !ruby/object:Gem::Version
|
98
99
|
version: '0'
|
99
100
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
101
|
requirements:
|
101
|
-
- -
|
102
|
+
- - ">="
|
102
103
|
- !ruby/object:Gem::Version
|
103
104
|
version: '0'
|
104
105
|
requirements: []
|
105
106
|
rubyforge_project:
|
106
|
-
rubygems_version: 2.
|
107
|
+
rubygems_version: 2.6.6
|
107
108
|
signing_key:
|
108
109
|
specification_version: 4
|
109
110
|
summary: A gem to serve jQuery UI from the Google CDN with fall back protection.
|
data/.DS_Store
DELETED
Binary file
|