remove_tl 1.0.4 → 2.0.0

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
  SHA256:
3
- metadata.gz: 131c538be6ad534f664be5cb681ea17f3793b52ed76716c01eda065ca5ec1c5d
4
- data.tar.gz: 4db705cf55046cea94943c2d560095febf5013c9dea12cf642ef12662612110d
3
+ metadata.gz: 03c51fa5691471dbda034d1abb255cb0a8cb4eda77389993c90c9451eae0e1ab
4
+ data.tar.gz: c4db5ea536a0bde3651cc0de47daaae6bf620aefdf2b3f8ba3b47bfaf282877f
5
5
  SHA512:
6
- metadata.gz: e57ee21cb3dbe0c287569893280c97a0e68e09c54d8e34ae921c0ef6733dc5ee74b25748d7804af977d26524d9975ab6013c19414322c9c4fda9dc0de13e69bf
7
- data.tar.gz: 533837cc2a7cfc44f45d47f591fa98fe3f57bfa438d415909be3ff6883e8192d090d20dbb92e6b6d305310d5cb04411a170b7ebbb709631ea31b8fd6ce26912e
6
+ metadata.gz: 4e60134d3349d11dea5cecaf8eae59c2468f336a42740662793e81ba3e64f5cb49887c6113dc117790b3315c91002577d9009dd66359b013aef37359d99e9f7e
7
+ data.tar.gz: d718c3e29fb773254fbce53c842db04bcc62b8a8ff1ebebf15338a0b0f94e7ca74bd945327364cb03229aeaf8584e0ee6bbc313644de892c7e2b0caa1dcf8eb7
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.4
1
+ 2.0.0
@@ -4,7 +4,7 @@ class RemoveTlGenerator < Rails::Generators::Base
4
4
  def remove_turbolinks_from_layout
5
5
  file_name = './app/views/layouts/application.html.erb'
6
6
  text = File.read(file_name)
7
- new_contents = text.gsub(/, 'data-turbolinks-track' => true/, "")
7
+ new_contents = text.gsub(/, 'data-turbolinks-track': 'reload'/, "")
8
8
  #Write changes to the file, use:
9
9
  File.open(file_name, "w") {|file| file.puts new_contents }
10
10
  end
data/remove_tl.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: remove_tl 1.0.4 ruby lib
5
+ # stub: remove_tl 2.0.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "remove_tl".freeze
9
- s.version = "1.0.4"
9
+ s.version = "2.0.0"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
@@ -1,7 +1,4 @@
1
1
  require 'helper'
2
2
 
3
3
  class TestRemoveTl < MiniTest::Unit::TestCase
4
- def test_something_for_real
5
- flunk "hey buddy, you should probably rename this file and start testing for real"
6
- end
7
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: remove_tl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - John M Buscemi