angularjs-rails-cdn 0.1.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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 2cc2a906c4e4dd1eea4c96bcb88d239e1ff9cdb2
4
+ data.tar.gz: b0a097d9eff5d8b9c62e0ebf81d78d35745c2fc5
5
+ SHA512:
6
+ metadata.gz: 981d4cb193ecf4b5679d1579b4fa502cebfc71e5d23b4be143211154d6b7cfa23a2c0417290067c5ba01c85faf4db44933fd130032dee2816ae6a6a4e07db7f2
7
+ data.tar.gz: 17e7de336274d48d1229fe023419c79a956bdde12317def1a4ae2c12a6eba0383f46cf3da2048b995fa12dd03d50fc46649391ffecc81a919d4279d322284410
Binary file
Binary file
@@ -0,0 +1,19 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ coverage
6
+ InstalledFiles
7
+ lib/bundler/man
8
+ pkg
9
+ rdoc
10
+ spec/reports
11
+ test/tmp
12
+ test/version_tmp
13
+ tmp
14
+
15
+ # YARD artifacts
16
+ .yardoc
17
+ _yardoc
18
+ doc/
19
+ Gemfile.lock
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.0.0
4
+ script: "bundle exec rspec spec"
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
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.
@@ -0,0 +1,100 @@
1
+ # angularjs-rails-cdn
2
+
3
+ Adds CDN support to
4
+
5
+ * [angularjs-rails](https://github.com/hiravgandhi/angularjs-rails).
6
+
7
+ Serving javascripts and stylesheets from a publicly available [CDN](http://en.wikipedia.org/wiki/Content_Delivery_Network) has clear benefits:
8
+
9
+ * **Speed**: Users will be able to download AngularJS from the closest physical location.
10
+ * **Caching**: CDN is used so widely that potentially your users may not
11
+ need to download AngularJS and others at all.
12
+ * **Parallelism**: Browsers have a limitation on how many connections
13
+ can be made to a single host. Using CDN for AngularJS offloads a big one.
14
+
15
+ ## Features
16
+
17
+ This gem offers the following features:
18
+
19
+ * Can support multiple CDNs, but currently only Google provider is
20
+ available.
21
+ * AngularJS version is automatically detected via angularjs-rails
22
+ (can be overriden).
23
+ * Automatically fallback to angularjs-rails bundled AngularJS when:
24
+ * You're on a development environment so that you can work offline.
25
+ * The CDN is down or unavailable.
26
+
27
+ Implications of externalizing AngularJS from `application.js` are:
28
+
29
+ * Updating your JS code won't evict the entire cache in browsers - your
30
+ code changes more often than AngularJS upgrades, right?
31
+ * `rake assets:precompile` takes less peak memory usage.
32
+
33
+ Changelog:
34
+
35
+ * v0.1.0: Initial release
36
+
37
+ ## Installation
38
+
39
+ Add this line to your application's Gemfile:
40
+
41
+ ```ruby
42
+ gem 'angularjs-rails-cdn'
43
+ ```
44
+
45
+ ## Usage
46
+
47
+ This gem adds methods to generate a script tag to the AngularJS on a CDN of your preference:
48
+ `angularjs_include_tag` and `angularjs_url`
49
+
50
+ If you're using assets pipeline with Rails 3.1+, first remove `//= require angular` (or other special files if you are using not full version) from `application.js`.
51
+
52
+ Then in layout:
53
+
54
+ ```ruby
55
+ = angularjs_include_tag :google,
56
+ = javascript_include_tag 'application'
57
+ ```
58
+
59
+ Other possible usages:
60
+
61
+ ```ruby
62
+ = angularjs_include_tag :google, version: '1.1.5' # To override version
63
+ = angularjs_include_tag :google, modules: [:resources,
64
+ :cookies] # To load additional AngularJS related modules
65
+ ```
66
+
67
+ Note that only valid CDN symbols is:
68
+
69
+ ```ruby
70
+ :google
71
+ ```
72
+
73
+ It will generate the following for AngularJS on production:
74
+
75
+ ```html
76
+ <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js" type="text/javascript"></script>
77
+ <script type="text/javascript">
78
+ //<![CDATA[
79
+ window.angular || document.write(unescape('%3Cscript src="/assets/angular-3aaa3fa0b0207a1abcd30555987cd4cc.js" type="text/javascript">%3C/script>'))
80
+ //]]>
81
+ </script>
82
+ ```
83
+
84
+ on development:
85
+
86
+ ```html
87
+ <script src="/assets/angular.js?body=1" type="text/javascript"></script>
88
+ ```
89
+
90
+ If you want to check the production URL, you can pass `force: true` as an option.
91
+
92
+ ```ruby
93
+ angularjs_include_tag :google, force: true
94
+ ```
95
+
96
+ To fallback to rails assets when CDN is not available, add `angular.js` in `config/environments/production.rb`
97
+
98
+ ```ruby
99
+ config.assets.precompile += %w( angular.js )
100
+ ```
@@ -0,0 +1 @@
1
+ require 'bundler/gem_tasks'
@@ -0,0 +1,30 @@
1
+ # coding: UTF-8
2
+ require File.expand_path('../lib/angularjs-rails-cdn/version', __FILE__)
3
+
4
+ Gem::Specification.new do |gem|
5
+ gem.authors = ['Mikhail Pobolovets']
6
+ gem.email = ['styx.mp@gmail.com']
7
+ gem.description = %q{Adds CDN support to angularjs-rails}
8
+ gem.summary = %q{Adds CDN support to angularjs-rails}
9
+ gem.homepage = 'https://github.com/styx/angularjs-rails-cdn'
10
+
11
+ gem.files = `git ls-files`.split($\)
12
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
13
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
14
+ gem.name = "angularjs-rails-cdn"
15
+ gem.require_paths = ['lib']
16
+ gem.version = AngularJS::Rails::Cdn::VERSION
17
+
18
+ gem.signing_key = File.join(Dir.home, '/.gem/trust/gem-private_key.pem')
19
+ gem.cert_chain = ['gem-public_cert.pem']
20
+
21
+ gem.add_dependency 'angularjs-rails'
22
+ gem.add_dependency 'railties', '>= 3.0'
23
+
24
+ gem.add_development_dependency 'bundler', '~> 1.3'
25
+ gem.add_development_dependency 'rake'
26
+ gem.add_development_dependency 'rspec'
27
+ gem.add_development_dependency 'coveralls'
28
+ gem.add_development_dependency 'fuubar'
29
+ gem.add_development_dependency 'pry'
30
+ end
@@ -0,0 +1,21 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIDbDCCAlSgAwIBAgIBATANBgkqhkiG9w0BAQUFADA+MRAwDgYDVQQDDAdzdHl4
3
+ Lm1wMRUwEwYKCZImiZPyLGQBGRYFZ21haWwxEzARBgoJkiaJk/IsZAEZFgNjb20w
4
+ HhcNMTMwNzA3MDgxNDU5WhcNMTQwNzA3MDgxNDU5WjA+MRAwDgYDVQQDDAdzdHl4
5
+ Lm1wMRUwEwYKCZImiZPyLGQBGRYFZ21haWwxEzARBgoJkiaJk/IsZAEZFgNjb20w
6
+ ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDPCEAmZU8H403RPpnRe1cX
7
+ MoFryNh1d7CA4CTJRwIca6wQM0mDouR+zpOFAUz/PMUfTU5euxk9PzIZsFdsBGeV
8
+ W5YIBJ51T855/URgkPuc0JEQOH4T0R1+iYIwA6hBFfUYKkC0OtM20wuKtNwMaksb
9
+ fZo+utOca5uHpIG3Je80jE95rKppae4Al4uOCgHiUclWlmfeqaCx5vc5RIuWitHd
10
+ PNBQHbz3HDTUb2ij08opisRWuIzfhuJipsSH1AdYoWxZCuKpIAWNSNYOZmmX8ArA
11
+ o2sPlriDGyHNZTyxxm32aAGOJMQn6UXWMGiOoEEu3zDVFiGxxaqEFputlzYjs5i/
12
+ AgMBAAGjdTBzMAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBS8ExGi
13
+ wpd2ssCLGKZsv72rGEkrizAcBgNVHREEFTATgRFzdHl4Lm1wQGdtYWlsLmNvbTAc
14
+ BgNVHRIEFTATgRFzdHl4Lm1wQGdtYWlsLmNvbTANBgkqhkiG9w0BAQUFAAOCAQEA
15
+ BZWxpKvJkcSwAYbVT+UjPApQkkYlgslJnf44I4bdzomp8h5YULw5QanOhYzYuiN0
16
+ kVegvzZzjFDwDgd4ihe/4mM8zyoquAcrEyqam3fiAMzOr+lTyAjOLcrVFYMivwMK
17
+ LZpOG7GpgIA1FWA2L2e/2ww2o6fHmuxclDyYyHGIJkMIeDYajnjTV+MS3IgrOA0k
18
+ Oh9ehT0tQasCkdK10ng+nrDgasiG9rXCTgb5t+OSC2xsT2+8Em4dR0hMyobKt/cN
19
+ Z2S2HQ6LJ1YyB0Sjwx2KZ4Sofni5coZE6d4ayx6nFEKQGlSKVIXtc0W3HD3+Q1Ww
20
+ RYreADroU/Sf7E9uVmOmkQ==
21
+ -----END CERTIFICATE-----
@@ -0,0 +1,48 @@
1
+ require 'angularjs-rails'
2
+ require 'angularjs-rails-cdn/version'
3
+
4
+ module AngularJS::Rails::Cdn
5
+ module ActionViewExtensions
6
+ ANGULARJS_VERSION = AngularJS::Rails::VERSION
7
+ OFFLINE = (Rails.env.development? or Rails.env.test?)
8
+
9
+ URL = {
10
+ google: '//ajax.googleapis.com/ajax/libs/angularjs/{{VERSION}}/{{LIBRARY}}.min.js'
11
+ }
12
+
13
+ def angularjs_url(name, module_name, version)
14
+ URL[name].gsub('{{VERSION}}', version).gsub('{{LIBRARY}}', module_name.to_s)
15
+ end
16
+
17
+ def angularjs_include_tag(name, options = {})
18
+ version = options[:version] || ANGULARJS_VERSION
19
+
20
+ local_includes = modules(options[:modules]).map { |m| javascript_include_tag(m) }.join
21
+
22
+ return local_includes if OFFLINE and !options[:force]
23
+
24
+ cdn_includes = modules(options[:modules]).map do |m|
25
+ javascript_include_tag(angularjs_url(name, m, version))
26
+ end.join
27
+
28
+ [ cdn_includes,
29
+ javascript_tag("window.angular || document.write(unescape('#{local_includes.gsub('<','%3C')}'))")
30
+ ].join.html_safe
31
+ end
32
+
33
+
34
+ private
35
+
36
+ def modules(submodules)
37
+ [:angular] + (submodules || []).map { |m| :"angular-#{m}" }
38
+ end
39
+ end
40
+
41
+ class Railtie < Rails::Railtie
42
+ initializer 'angularjs_rails_cdn.action_view' do |app|
43
+ ActiveSupport.on_load(:action_view) do
44
+ include AngularJS::Rails::Cdn::ActionViewExtensions
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,7 @@
1
+ module AngularJS
2
+ module Rails
3
+ module Cdn
4
+ VERSION = "0.1.0"
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,70 @@
1
+ # coding: UTF-8
2
+
3
+ require_relative 'spec_helper'
4
+
5
+ def javascript_tag(str)
6
+ "<s>#{str}</s>".tap do |s|
7
+ s.class.send(:define_method, :html_safe, ->{ self })
8
+ end
9
+ end
10
+
11
+ describe 'AngularJS::Rails::Cdn::ActionViewExtensions' do
12
+ subject { Class.new.extend(AngularJS::Rails::Cdn::ActionViewExtensions) }
13
+
14
+ describe 'angularjs_url' do
15
+ context :google do
16
+ it 'returns url with version without specific module name' do
17
+ subject.angularjs_url(:google, 'angular', '1.0.7').should == '//ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js'
18
+ end
19
+ end
20
+ end
21
+
22
+ describe :modules do
23
+ it 'returns default modules list' do
24
+ subject.send(:modules, nil).should == [:angular]
25
+ end
26
+
27
+ it 'returns extended modules list' do
28
+ subject.send(:modules, [:resource, :cookies]).should == [:angular, :'angular-resource', :'angular-cookies']
29
+ end
30
+ end
31
+
32
+ describe :angularjs_include_tag do
33
+ before do
34
+ subject.should_receive(:javascript_include_tag).with(:angular).and_return('<s>angular.js</s>')
35
+ end
36
+
37
+ context 'offline mode' do
38
+ context 'no additional modules' do
39
+ it { subject.angularjs_include_tag(:google).should == '<s>angular.js</s>' }
40
+ it { subject.angularjs_include_tag(:google, version: '1.0.7').should == '<s>angular.js</s>' }
41
+ end
42
+
43
+ context 'with additional module' do
44
+ before { subject.should_receive(:javascript_include_tag).with(:'angular-cookies').and_return('<s>angular-cookies.js</s>') }
45
+
46
+ it { subject.angularjs_include_tag(:google, modules: [:cookies]).should == '<s>angular.js</s><s>angular-cookies.js</s>' }
47
+ it { subject.angularjs_include_tag(:google, version: '1.0.7', modules: [:cookies]).should == '<s>angular.js</s><s>angular-cookies.js</s>' }
48
+ end
49
+ end
50
+
51
+ context 'CDN is enforced' do
52
+ before do
53
+ subject.should_receive(:javascript_include_tag).with('//ajax.googleapis.com/ajax/libs/angularjs/1.1.5/angular.min.js').and_return('<s>//angular.min.js</s>')
54
+ end
55
+
56
+ context 'no additional modules' do
57
+ it { subject.angularjs_include_tag(:google, force: true, version: '1.1.5').should == "<s>//angular.min.js</s><s>window.angular || document.write(unescape('%3Cs>angular.js%3C/s>'))</s>" }
58
+ end
59
+
60
+ context 'with submodule' do
61
+ before do
62
+ subject.should_receive(:javascript_include_tag).with(:'angular-cookies').and_return('<s>angular-cookies.js</s>')
63
+ subject.should_receive(:javascript_include_tag).with('//ajax.googleapis.com/ajax/libs/angularjs/1.1.5/angular-cookies.min.js').and_return('<s>//angular-cookies.min.js</s>')
64
+ end
65
+
66
+ it { subject.angularjs_include_tag(:google, force: true, version: '1.1.5', modules: [:cookies]).should == "<s>//angular.min.js</s><s>//angular-cookies.min.js</s><s>window.angular || document.write(unescape('%3Cs>angular.js%3C/s>%3Cs>angular-cookies.js%3C/s>'))</s>" }
67
+ end
68
+ end
69
+ end
70
+ end
@@ -0,0 +1,17 @@
1
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
3
+
4
+ require 'rspec'
5
+ require 'rails'
6
+ require 'angularjs-rails-cdn'
7
+ require 'pry'
8
+
9
+ require 'coveralls'
10
+ Coveralls.wear!
11
+
12
+ # Requires supporting files with custom matchers and macros, etc,
13
+ # in ./support/ and its subdirectories.
14
+ #Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
15
+
16
+ #RSpec.configure do |config|
17
+ #end
File without changes
metadata ADDED
@@ -0,0 +1,193 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: angularjs-rails-cdn
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Mikhail Pobolovets
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIDbDCCAlSgAwIBAgIBATANBgkqhkiG9w0BAQUFADA+MRAwDgYDVQQDDAdzdHl4
14
+ Lm1wMRUwEwYKCZImiZPyLGQBGRYFZ21haWwxEzARBgoJkiaJk/IsZAEZFgNjb20w
15
+ HhcNMTMwNzA3MDgxNDU5WhcNMTQwNzA3MDgxNDU5WjA+MRAwDgYDVQQDDAdzdHl4
16
+ Lm1wMRUwEwYKCZImiZPyLGQBGRYFZ21haWwxEzARBgoJkiaJk/IsZAEZFgNjb20w
17
+ ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDPCEAmZU8H403RPpnRe1cX
18
+ MoFryNh1d7CA4CTJRwIca6wQM0mDouR+zpOFAUz/PMUfTU5euxk9PzIZsFdsBGeV
19
+ W5YIBJ51T855/URgkPuc0JEQOH4T0R1+iYIwA6hBFfUYKkC0OtM20wuKtNwMaksb
20
+ fZo+utOca5uHpIG3Je80jE95rKppae4Al4uOCgHiUclWlmfeqaCx5vc5RIuWitHd
21
+ PNBQHbz3HDTUb2ij08opisRWuIzfhuJipsSH1AdYoWxZCuKpIAWNSNYOZmmX8ArA
22
+ o2sPlriDGyHNZTyxxm32aAGOJMQn6UXWMGiOoEEu3zDVFiGxxaqEFputlzYjs5i/
23
+ AgMBAAGjdTBzMAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBS8ExGi
24
+ wpd2ssCLGKZsv72rGEkrizAcBgNVHREEFTATgRFzdHl4Lm1wQGdtYWlsLmNvbTAc
25
+ BgNVHRIEFTATgRFzdHl4Lm1wQGdtYWlsLmNvbTANBgkqhkiG9w0BAQUFAAOCAQEA
26
+ BZWxpKvJkcSwAYbVT+UjPApQkkYlgslJnf44I4bdzomp8h5YULw5QanOhYzYuiN0
27
+ kVegvzZzjFDwDgd4ihe/4mM8zyoquAcrEyqam3fiAMzOr+lTyAjOLcrVFYMivwMK
28
+ LZpOG7GpgIA1FWA2L2e/2ww2o6fHmuxclDyYyHGIJkMIeDYajnjTV+MS3IgrOA0k
29
+ Oh9ehT0tQasCkdK10ng+nrDgasiG9rXCTgb5t+OSC2xsT2+8Em4dR0hMyobKt/cN
30
+ Z2S2HQ6LJ1YyB0Sjwx2KZ4Sofni5coZE6d4ayx6nFEKQGlSKVIXtc0W3HD3+Q1Ww
31
+ RYreADroU/Sf7E9uVmOmkQ==
32
+ -----END CERTIFICATE-----
33
+ date: 2013-07-07 00:00:00.000000000 Z
34
+ dependencies:
35
+ - !ruby/object:Gem::Dependency
36
+ name: angularjs-rails
37
+ requirement: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - '>='
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
42
+ type: :runtime
43
+ prerelease: false
44
+ version_requirements: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - '>='
47
+ - !ruby/object:Gem::Version
48
+ version: '0'
49
+ - !ruby/object:Gem::Dependency
50
+ name: railties
51
+ requirement: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - '>='
54
+ - !ruby/object:Gem::Version
55
+ version: '3.0'
56
+ type: :runtime
57
+ prerelease: false
58
+ version_requirements: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - '>='
61
+ - !ruby/object:Gem::Version
62
+ version: '3.0'
63
+ - !ruby/object:Gem::Dependency
64
+ name: bundler
65
+ requirement: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: '1.3'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ~>
75
+ - !ruby/object:Gem::Version
76
+ version: '1.3'
77
+ - !ruby/object:Gem::Dependency
78
+ name: rake
79
+ requirement: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - '>='
82
+ - !ruby/object:Gem::Version
83
+ version: '0'
84
+ type: :development
85
+ prerelease: false
86
+ version_requirements: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - '>='
89
+ - !ruby/object:Gem::Version
90
+ version: '0'
91
+ - !ruby/object:Gem::Dependency
92
+ name: rspec
93
+ requirement: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - '>='
96
+ - !ruby/object:Gem::Version
97
+ version: '0'
98
+ type: :development
99
+ prerelease: false
100
+ version_requirements: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - '>='
103
+ - !ruby/object:Gem::Version
104
+ version: '0'
105
+ - !ruby/object:Gem::Dependency
106
+ name: coveralls
107
+ requirement: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - '>='
110
+ - !ruby/object:Gem::Version
111
+ version: '0'
112
+ type: :development
113
+ prerelease: false
114
+ version_requirements: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - '>='
117
+ - !ruby/object:Gem::Version
118
+ version: '0'
119
+ - !ruby/object:Gem::Dependency
120
+ name: fuubar
121
+ requirement: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ type: :development
127
+ prerelease: false
128
+ version_requirements: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - '>='
131
+ - !ruby/object:Gem::Version
132
+ version: '0'
133
+ - !ruby/object:Gem::Dependency
134
+ name: pry
135
+ requirement: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - '>='
138
+ - !ruby/object:Gem::Version
139
+ version: '0'
140
+ type: :development
141
+ prerelease: false
142
+ version_requirements: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - '>='
145
+ - !ruby/object:Gem::Version
146
+ version: '0'
147
+ description: Adds CDN support to angularjs-rails
148
+ email:
149
+ - styx.mp@gmail.com
150
+ executables: []
151
+ extensions: []
152
+ extra_rdoc_files: []
153
+ files:
154
+ - .gitignore
155
+ - .travis.yml
156
+ - Gemfile
157
+ - LICENSE
158
+ - README.md
159
+ - Rakefile
160
+ - angularjs-rails-cdn.gemspec
161
+ - gem-public_cert.pem
162
+ - lib/angularjs-rails-cdn.rb
163
+ - lib/angularjs-rails-cdn/version.rb
164
+ - spec/angularjs_spec.rb
165
+ - spec/spec_helper.rb
166
+ - spec/support/.gitkeep
167
+ homepage: https://github.com/styx/angularjs-rails-cdn
168
+ licenses: []
169
+ metadata: {}
170
+ post_install_message:
171
+ rdoc_options: []
172
+ require_paths:
173
+ - lib
174
+ required_ruby_version: !ruby/object:Gem::Requirement
175
+ requirements:
176
+ - - '>='
177
+ - !ruby/object:Gem::Version
178
+ version: '0'
179
+ required_rubygems_version: !ruby/object:Gem::Requirement
180
+ requirements:
181
+ - - '>='
182
+ - !ruby/object:Gem::Version
183
+ version: '0'
184
+ requirements: []
185
+ rubyforge_project:
186
+ rubygems_version: 2.0.3
187
+ signing_key:
188
+ specification_version: 4
189
+ summary: Adds CDN support to angularjs-rails
190
+ test_files:
191
+ - spec/angularjs_spec.rb
192
+ - spec/spec_helper.rb
193
+ - spec/support/.gitkeep
Binary file