on_the_spot 1.1.4 → 1.1.5

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
  SHA256:
3
- metadata.gz: 90cbf6521a31499df8dd05c1afa968a5032b33a6f87501d357ee235c058efc51
4
- data.tar.gz: 1a39af6e2f4a77851649fb7ee2a38ca8969b1eb3245544bbbd1f104ae5aaea65
3
+ metadata.gz: 524b913e811df512b27a0d846e08381d9b69f1e1b325557c67df42cc1e34541c
4
+ data.tar.gz: dc5d367c58695fe16631959bb88c06ebee9f5ab4fd8a0bd0bcb467a125dc98bc
5
5
  SHA512:
6
- metadata.gz: 41e9055ca232c6d9e7a97d5c3bf0f129af1c6f6b359560900cfd87ddaa9c11c6934995dfc1fc9310dc94195aac61695e07273e51339ab7954b23bf44665a9186
7
- data.tar.gz: 379a3bb4cf943e9bedcc366364d2b749161e5349286d5b3910380c953f3db69dcb3d5b7416599101c2a661c04ff65a1ec8eec9a64950dbf803137071edf24a25
6
+ metadata.gz: 29de470d8b826b15d67ab4933c35d787bcbfa7ea48beb76e03b7a63bd5632fc315041132dd031be561f02bbf08aaa83b555902fbc737b4978beff262da2bf094
7
+ data.tar.gz: 698615d277edf3e29b979fe521e4f87e3d38567f397f8f65fb995883845232ed10b1f82e51289195e00e4c3404a21129edf28fdc8b9bf73a9f26da2499a4d80d
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.4
1
+ 1.1.5
@@ -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
- ActionController::Base.send :include, OnTheSpot::ControllerExtension
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
@@ -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.4 ruby lib
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.4"
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-04-27"
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
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-04-27 00:00:00.000000000 Z
11
+ date: 2020-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec