thunderer 0.9.0 → 0.9.1
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 +4 -4
- data/lib/thunderer/engine.rb +14 -0
- data/lib/thunderer/version.rb +1 -1
- data/lib/thunderer.rb +0 -3
- metadata +1 -2
- data/lib/thunderer/railtie.rb +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f06c6d86a7fb9ab91ccc695100d1bb38522a09e1
|
4
|
+
data.tar.gz: ed2ecd2a1364b28d2fa8a7352fc108766c2020e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0eedfda8684dd26ce682ab4746c48c8dfdf5238b1d841dfb1ef933d3c82112bb851285c5b57200c9d33ee678c230ff12094eb53622da9ca80abf27976090317
|
7
|
+
data.tar.gz: 41b061f20bce2aad21520d7661a8fd8ff3a64d44781a84c80515cd36bf981d213596143a8661547091c5a4895e0c734379691a34ab2f7dbd2a33704e4a0ee07f
|
data/lib/thunderer/engine.rb
CHANGED
@@ -1,4 +1,6 @@
|
|
1
1
|
require 'thunderer/view_helpers'
|
2
|
+
require 'thunderer/publish_changes'
|
3
|
+
require 'thunderer/controller_additions'
|
2
4
|
module Thunderer
|
3
5
|
class Engine < ::Rails::Engine
|
4
6
|
|
@@ -16,5 +18,17 @@ module Thunderer
|
|
16
18
|
ActionView::Base.send :include, ViewHelpers
|
17
19
|
end
|
18
20
|
|
21
|
+
# initializer 'thunderer.controller' do
|
22
|
+
# ActiveSupport.on_load(:action_controller) do
|
23
|
+
# include Thunderer::ControllerAdditions
|
24
|
+
# end
|
25
|
+
# end
|
26
|
+
#
|
27
|
+
# initializer 'thunderer.active_record' do
|
28
|
+
# ActiveSupport.on_load(:active_record) do
|
29
|
+
# include Thunderer::PublishChanges
|
30
|
+
# end
|
31
|
+
# end
|
32
|
+
|
19
33
|
end
|
20
34
|
end
|
data/lib/thunderer/version.rb
CHANGED
data/lib/thunderer.rb
CHANGED
@@ -1,11 +1,8 @@
|
|
1
1
|
require "thunderer/version"
|
2
2
|
require 'thunderer/parser'
|
3
3
|
require 'thunderer/messanger'
|
4
|
-
require 'thunderer/publish_changes'
|
5
4
|
require 'thunderer/faye_extension'
|
6
5
|
require "digest/sha1"
|
7
|
-
require "net/http"
|
8
|
-
require "net/https"
|
9
6
|
require 'yaml'
|
10
7
|
require "thunderer/engine" if defined? Rails
|
11
8
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thunderer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Chubarov
|
@@ -135,7 +135,6 @@ files:
|
|
135
135
|
- lib/thunderer/messanger.rb
|
136
136
|
- lib/thunderer/parser.rb
|
137
137
|
- lib/thunderer/publish_changes.rb
|
138
|
-
- lib/thunderer/railtie.rb
|
139
138
|
- lib/thunderer/version.rb
|
140
139
|
- lib/thunderer/view_helpers.rb
|
141
140
|
- spec/fixtures/thunderer.yml
|
data/lib/thunderer/railtie.rb
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
module Thunderer
|
2
|
-
class Railtie < Rails::Railtie
|
3
|
-
initializer 'thunderer.controller' do
|
4
|
-
ActiveSupport.on_load(:action_controller) do
|
5
|
-
include Thunderer::ControllerAdditions
|
6
|
-
end
|
7
|
-
end
|
8
|
-
|
9
|
-
initializer 'thunderer.active_record' do
|
10
|
-
ActiveSupport.on_load(:active_record) do
|
11
|
-
include Thunderer::PublishChanges
|
12
|
-
end
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|