wiser_chat 0.1.3 → 0.1.4

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: 5c3429f2f3c5ad00eda520b54e52627e1b808352
4
- data.tar.gz: b9add765bef5c51ce9dfdcdc3b8b027603536fb3
3
+ metadata.gz: 9e3326116516e50bddb42a4786a2193057d9acc0
4
+ data.tar.gz: 32ff9ff88da2938561c97d6c243ad7872264233b
5
5
  SHA512:
6
- metadata.gz: 0160d4c037d0a6db1e17bd94d00c7204a6b5d0f116a391ec026df52261701098ebd4f79aa985ab360fc73c0a91a652996b637b3323ff8e5503b820773d7b08f7
7
- data.tar.gz: 8082645249451b8e8ee2ae97251c45b8542a8a760f2c5c4d92fc4177c4269f41260ce54fab7805284da3e76296d74037dde94e7aca5d9f4b2ccd5df2105c2ff9
6
+ metadata.gz: df472407ec049532955550581ba88761156c3db50221390acd2e26823b60bcca67c4d67d982a2d4d2d640d222c377858369091f33db2c92202b810d358db259b
7
+ data.tar.gz: 15891dbe51453045122424604ddcb7a893dbe7ca4c0fb2e0ddea0adca94198a9f98703de3e94876106f8c96522b222ddfd48f59436b7d3a868267a5e7fff4d32
data/README.md CHANGED
@@ -21,7 +21,7 @@ Include the following lines in your `Gemfile`:
21
21
 
22
22
  gem 'redis', '3.2.0'
23
23
  gem 'websocket-rails', '~> 0.7.0'
24
- gem 'wiser_chat', '~> 0.1.3'
24
+ gem 'wiser_chat', '~> 0.1.4'
25
25
 
26
26
  Then run:
27
27
 
@@ -1,5 +1,5 @@
1
1
  module WiserChatHelper
2
2
  def wiser_chat(channel, initial_messages = 10)
3
- render "wiser_chat/box", channel: channel, initial_messages: initial_messages
3
+ render "layouts/wiser_chat", channel: channel, initial_messages: initial_messages
4
4
  end
5
5
  end
@@ -13,6 +13,8 @@ module WiserChat
13
13
  template 'events.rb', File.join('config', 'events.rb')
14
14
  template 'websocket.rb', File.join('config', 'initializers', 'websocket_rails.rb')
15
15
  template 'stylesheet.css', File.join('app', 'assets', 'stylesheets', 'wiser_chat.css')
16
+ template 'javascript.js', File.join('app', 'assets', 'javascripts', 'wiser_chat.js')
17
+ template 'partial.html.haml', File.join('app', 'views', 'layouts', '_wiser_chat.html.haml')
16
18
  template 'migration.rb', File.join('db', 'migrate', "#{timestamp}_create_wiser_chat_messages.rb")
17
19
  end
18
20
 
@@ -1,3 +1,3 @@
1
1
  module WiserChat
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wiser_chat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenneth John Balgos
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-06 00:00:00.000000000 Z
11
+ date: 2015-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redis
@@ -51,15 +51,15 @@ files:
51
51
  - README.md
52
52
  - Rakefile
53
53
  - app/assets/javascripts/jquery.moment.js
54
- - app/assets/javascripts/wiser_chat.js
55
54
  - app/controllers/wiser_chat_controller.rb
56
55
  - app/helpers/wiser_chat_helper.rb
57
56
  - app/models/wiser_chat_message.rb
58
- - app/views/wiser_chat/_box.html.haml
59
57
  - lib/generators/wiser_chat.rb
60
58
  - lib/generators/wiser_chat/install/install_generator.rb
61
59
  - lib/generators/wiser_chat/install/templates/events.rb
60
+ - lib/generators/wiser_chat/install/templates/javascript.js
62
61
  - lib/generators/wiser_chat/install/templates/migration.rb
62
+ - lib/generators/wiser_chat/install/templates/partial.html.haml
63
63
  - lib/generators/wiser_chat/install/templates/stylesheet.css
64
64
  - lib/generators/wiser_chat/install/templates/websocket.rb
65
65
  - lib/generators/wiser_chat/migration/migration_generator.rb
@@ -72,7 +72,7 @@ homepage: https://github.com/kennethjohnbalgos/wiser_chat
72
72
  licenses:
73
73
  - MIT
74
74
  metadata: {}
75
- post_install_message: Welcome to WiserChat v0.1.3!
75
+ post_install_message: Welcome to WiserChat v0.1.4!
76
76
  rdoc_options: []
77
77
  require_paths:
78
78
  - lib