kablam 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/kablam.gemspec +1 -1
- data/lib/generators/kablam/messaging_generator.rb +2 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d70da38092cba7abfe0629e3e6acca26a8f2d22868c531521ba3118249f5398
|
4
|
+
data.tar.gz: 4f7ec4138f20726790ba74360edd3fbf69f1f63702e4173bb9e0940eeaddfb92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5e4f9dddf5fe6dbf4fda41abfdd9dbf158a6074e7631bdb8c0e851bdfe19824af550515bec5040f7d9562e2aa4af01919eb76176a43c33f38f5e71a90763521
|
7
|
+
data.tar.gz: c525b2518f9c3bab74822fcd35285248baf797a8a73107690bc030b56881733e43175a3a7f08f3033cff19fd9e380a37cc82497ffb32fa818f7d81b7239ed924
|
data/kablam.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'kablam'
|
3
|
-
s.version = '0.1.
|
3
|
+
s.version = '0.1.5'
|
4
4
|
s.date = '2018-09-14'
|
5
5
|
s.summary = "Kablam! All the things you hate. But Faster."
|
6
6
|
s.description = "Gem to make development of everything in rails faster. Form creation & styling, all the resource routes, even actioncable messaging!\n {NOTE: In Development. NOT READY FOR TESTING.}"
|
@@ -1,15 +1,12 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'rails/generators/
|
3
|
+
require 'rails/generators/base'
|
4
4
|
|
5
5
|
module Kablam
|
6
6
|
module Generators
|
7
|
-
class MessagingGenerator < Rails::Generators::
|
8
|
-
include Rails::Generators::ResourceHelpers
|
7
|
+
class MessagingGenerator < Rails::Generators::Base
|
9
8
|
namespace "kablam:messaging"
|
10
9
|
source_root File.expand_path('../templates', __FILE__)
|
11
|
-
# argument :name, :type => :string, :default => "en"
|
12
|
-
|
13
10
|
|
14
11
|
def setup_action_cable
|
15
12
|
inject_into_file 'app/assets/javascripts/application.js', after: "//=require_tree .\n" do
|