browser_warning 0.0.1 → 0.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ca22eb8bf186cb74e5fbe5405480115e0c544fa5
4
- data.tar.gz: abdb92c1ea4845997fc06cad02cbd44dbbad40bb
3
+ metadata.gz: a5834e16f6349ecfc6e22d9e85b860822012392f
4
+ data.tar.gz: 7349540ec6ce806ad3d41b5148970aadd1d23dda
5
5
  SHA512:
6
- metadata.gz: 3ac14512fbebcfca87a9649aad0100805d83cf2c9b72477a8a6d9cd261f83b0d8449546d48518b8f55d876ba9f6b895261db3afb8fe2bb116f565ae58fc42bee
7
- data.tar.gz: f00584e19d15dc412527b2aec70bf7d7be711ad5bc8eba63494fdb54133c3d587a5003d980d241bf6a313aee6baac9277f0fd928a7518b025865d92def2c4f01
6
+ metadata.gz: a65648c93ce8166156f9579e8399ae8c2c53c036cea984d055dba0a33672ab7a5a4be658ae5d8d2d864cf5abc5b0a73be6e5a3a2050e4895148c087fb80d6b64
7
+ data.tar.gz: c7fa7ea07a3e390e304dfa9b1d528a13d5b5a0eb055d5ad7aac958f5af35f01e1700701bbe7ed26cab0e4416cecc19c217cab396c4ba070bb1e5fe25d56344ed
@@ -1,3 +1,3 @@
1
1
  module BrowserWarning
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -1,9 +1,8 @@
1
1
  module BrowserWarning
2
- class Warning
3
- source_root File.join(File.dirname(__FILE__), '..', 'templates')
2
+ class InstallGenerator < ::Rails::Generators::Base
4
3
 
5
4
  def insert_appilication
6
- insert_into_file "app/views/layouts/application.html.erb", "<link rel='stylesheet' href='http://outdatedbrowser.com/public/scripts/outdatedBrowser.min.css'>\n", :after => "jquery_ujs\n"
5
+ insert_into_file "app/views/layouts/application.html.erb", "<link rel='stylesheet' href='http://outdatedbrowser.com/public/scripts/outdatedBrowser.min.css'>\n", :after => "<head>\n"
7
6
  end
8
7
 
9
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: browser_warning
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
7
  - Verkalets