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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cdf5b1dc9e6eca5bef30b0dc9249e12ac65e94ac
4
- data.tar.gz: 278c46c4a1a054243e652360f2c9d8ec4fe8dca9
3
+ metadata.gz: 714b1c33cf135b5cb410ce23072f52e04a46d615
4
+ data.tar.gz: f0d1f0c4b55cf5e43344cfc0c500bf56f0043491
5
5
  SHA512:
6
- metadata.gz: 90cc046610033d70acde3860f755e7749582ae6bb758b096336518df9784026f6dfb3e67bfd1fb0a0ba8031d0be37829272fc5a119b608bf32f1f16a03459171
7
- data.tar.gz: fefb4c39bf61337ce5982c09a3679beff597c8ccc076b8207578774fbe1d5ff6f435229f1b1c6f7ca0286e6509aa57625beec2a2f5a6c07ebf65478edf0c9551
6
+ metadata.gz: cb4983904ade99051ed45409c38d94c44717340a3c5d0e3f7aed622aa3e89611a4290efcd878b4155a1fc5e6474e09279a81e821820af0dab4dcea78b67a7ec4
7
+ data.tar.gz: 9502a3567fd34da775b2dd177a72346d5e501e7340b878b2947a57af24df1dafdaa3348090c33446a92642d6453c600b0b5f5f06bef3ebd7ba9aaac7d7a2123f
@@ -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
- It will generate the following across all modes production, testing, and development:
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>
@@ -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'
@@ -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
@@ -10,5 +10,6 @@
10
10
  // WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
11
11
  // GO AFTER THE REQUIRES BELOW.
12
12
  //
13
+ //= require jquery_ujs
13
14
  //= require turbolinks
14
15
  //= require_tree .
@@ -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 "application", "data-turbolinks-track" => true %>
9
+ <%= javascript_include_tag "data-turbolinks-track" => true %>
10
10
  <%= csrf_meta_tags %>
11
11
  </head>
12
12
  <body>
@@ -1,18 +1,12 @@
1
- # -*- encoding: utf-8 -*-
2
1
  Gem::Specification.new do |s|
3
-
4
- s.authors = ["Chris Hough"]
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/chrishough/jquery-ui-rails-google-cdn"
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.1'
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.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
- - Chris Hough
7
+ - jasonleonhard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-12 00:00:00.000000000 Z
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
- - founders@noconformity.com
16
+ - devbrights@gmail.com
17
17
  executables: []
18
18
  extensions: []
19
19
  extra_rdoc_files: []
20
20
  files:
21
- - .DS_Store
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/chrishough/jquery-ui-rails-google-cdn
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.0.3
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