on_the_spot 1.1.4 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/on_the_spot.rb +8 -2
- data/on_the_spot.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 524b913e811df512b27a0d846e08381d9b69f1e1b325557c67df42cc1e34541c
|
4
|
+
data.tar.gz: dc5d367c58695fe16631959bb88c06ebee9f5ab4fd8a0bd0bcb467a125dc98bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29de470d8b826b15d67ab4933c35d787bcbfa7ea48beb76e03b7a63bd5632fc315041132dd031be561f02bbf08aaa83b555902fbc737b4978beff262da2bf094
|
7
|
+
data.tar.gz: 698615d277edf3e29b979fe521e4f87e3d38567f397f8f65fb995883845232ed10b1f82e51289195e00e4c3404a21129edf28fdc8b9bf73a9f26da2499a4d80d
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.5
|
data/lib/on_the_spot.rb
CHANGED
@@ -13,9 +13,15 @@ module OnTheSpot
|
|
13
13
|
# configure our plugin on boot. other extension points such
|
14
14
|
# as configuration, rake tasks, etc, are also available
|
15
15
|
initializer "on_the_spot.initialize" do |app|
|
16
|
-
|
16
|
+
if Rails::VERSION::MAJOR >= 6
|
17
|
+
ActiveSupport.on_load(:action_controller) do
|
18
|
+
ActionController::Base.send :include, OnTheSpot::ControllerExtension
|
19
|
+
end
|
20
|
+
else
|
21
|
+
ActionController::Base.send :include, OnTheSpot::ControllerExtension
|
22
|
+
end
|
17
23
|
ActionView::Base.send :include, OnTheSpot::Helpers
|
18
24
|
end
|
19
25
|
|
20
26
|
end
|
21
|
-
end
|
27
|
+
end
|
data/on_the_spot.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
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: on_the_spot 1.1.
|
5
|
+
# stub: on_the_spot 1.1.5 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "on_the_spot".freeze
|
9
|
-
s.version = "1.1.
|
9
|
+
s.version = "1.1.5"
|
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]
|
13
13
|
s.authors = ["Nathan Van der Auwera".freeze]
|
14
|
-
s.date = "2020-
|
14
|
+
s.date = "2020-05-18"
|
15
15
|
s.description = "Unobtrusive in place editing, using jEditable; only works in Rails 3".freeze
|
16
16
|
s.email = "nathan@dixis.com".freeze
|
17
17
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: on_the_spot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Van der Auwera
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|