kamigo 0.2.0 → 0.2.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/kamigo/railtie.rb +1 -26
- data/lib/kamigo/version.rb +1 -1
- metadata +1 -2
- data/lib/tasks/kamigo.rake +0 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bf3bc5b1dcc848ea459d76e5567f0297fceea777b2cf1f74a52ec2337cb35ad3
|
|
4
|
+
data.tar.gz: fc8306d1c5770378f38223c6726594f60919c1776aeedf08e802e87c5cb7c3b2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 71ff0323f7f2ae1f7da67d83bc9224be384c2e61b35c91a954f61e33fc46bb6de76310916a207caa4e67e3e63f191c679aa6ff6ca9702a764542a1ef95a9d578
|
|
7
|
+
data.tar.gz: 9162dd57581cde4a82059ee78251acf1ee54283b0eed23232c300bf0dd871d93c4c0cdd8d5cec160e8745ff6a69f04b1b6bf50f13501c3115bafc1022dd13ff4
|
data/lib/kamigo/railtie.rb
CHANGED
|
@@ -1,36 +1,11 @@
|
|
|
1
1
|
require 'rails/railtie'
|
|
2
|
-
# require 'jbuilder/jbuilder_template'
|
|
3
2
|
|
|
4
|
-
|
|
3
|
+
module Kamigo
|
|
5
4
|
class Railtie < ::Rails::Railtie
|
|
6
|
-
# initializer :jbuilder do
|
|
7
|
-
# ActiveSupport.on_load :action_view do
|
|
8
|
-
# ActionView::Template.register_template_handler :jbuilder, JbuilderHandler
|
|
9
|
-
# require 'jbuilder/dependency_tracker'
|
|
10
|
-
# end
|
|
11
|
-
|
|
12
|
-
# if Rails::VERSION::MAJOR >= 5
|
|
13
|
-
# module ::ActionController
|
|
14
|
-
# module ApiRendering
|
|
15
|
-
# include ActionView::Rendering
|
|
16
|
-
# end
|
|
17
|
-
# end
|
|
18
|
-
|
|
19
|
-
# ActiveSupport.on_load :action_controller do
|
|
20
|
-
# if self == ActionController::API
|
|
21
|
-
# include ActionController::Helpers
|
|
22
|
-
# include ActionController::ImplicitRender
|
|
23
|
-
# end
|
|
24
|
-
# end
|
|
25
|
-
# end
|
|
26
|
-
# end
|
|
27
|
-
|
|
28
|
-
# if Rails::VERSION::MAJOR >= 4
|
|
29
5
|
generators do |app|
|
|
30
6
|
Rails::Generators.configure! app.config.generators
|
|
31
7
|
Rails::Generators.hidden_namespaces.uniq!
|
|
32
8
|
require 'generators/rails/scaffold_controller_generator'
|
|
33
9
|
end
|
|
34
|
-
# end
|
|
35
10
|
end
|
|
36
11
|
end
|
data/lib/kamigo/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kamigo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- etrex
|
|
@@ -106,7 +106,6 @@ files:
|
|
|
106
106
|
- lib/kamigo/engine.rb
|
|
107
107
|
- lib/kamigo/railtie.rb
|
|
108
108
|
- lib/kamigo/version.rb
|
|
109
|
-
- lib/tasks/kamigo.rake
|
|
110
109
|
homepage: https://github.com/etrex/kamigo
|
|
111
110
|
licenses:
|
|
112
111
|
- MIT
|