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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eed2e6107ca366aa72173a03e02aac6315d21a98
4
- data.tar.gz: d1700a9f0bf3511b4be6ba4b5d5e8d3411e10e8a
3
+ metadata.gz: f06c6d86a7fb9ab91ccc695100d1bb38522a09e1
4
+ data.tar.gz: ed2ecd2a1364b28d2fa8a7352fc108766c2020e1
5
5
  SHA512:
6
- metadata.gz: 74e671d789053ceb11bfa8e579978d2c38c3d9fad54d889e312885f8324056c247f560bbcabd6d9a1400bc4fcacf46649abab795d7095a9ec8e07033c92d5454
7
- data.tar.gz: 1a8414e53918afbb5e9f83f36f99b979c573418064ca962db96d631c09527fe21bfc20c69d2dccf13c607959ee5840b92e7c553d8636fee67011bd749174fd26
6
+ metadata.gz: a0eedfda8684dd26ce682ab4746c48c8dfdf5238b1d841dfb1ef933d3c82112bb851285c5b57200c9d33ee678c230ff12094eb53622da9ca80abf27976090317
7
+ data.tar.gz: 41b061f20bce2aad21520d7661a8fd8ff3a64d44781a84c80515cd36bf981d213596143a8661547091c5a4895e0c734379691a34ab2f7dbd2a33704e4a0ee07f
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Thunderer
2
- VERSION = '0.9.0'
2
+ VERSION = '0.9.1'
3
3
  end
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.0
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
@@ -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