adminlte-generators 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -0
- data/lib/adminlte-generators.rb +2 -2
- data/lib/adminlte/generators/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a576432280857725491d155a3a369e1b6ec7608
|
4
|
+
data.tar.gz: f598f278c151ca64a7ebb60a191c133c43eaa7e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fb180f58ab6f5c8c88d83443481c94f2a8b26662f6fe129d8c6d70b12de575ac13568efb12194992d9b61a99000af59bb9de26d4adc2f58cc39ca8edc6b02b8
|
7
|
+
data.tar.gz: 4d8dceab27fb3bd7a6756fd7c8d7c194b4a0a7fd32fac4af7705b130b5b38a9125d9e40d37b56d88befab24286cbb2beaa91db13656c40c28a8d1c75ea84bd0d
|
data/README.md
CHANGED
@@ -84,6 +84,12 @@ And if you want to create a treeview, just use `treeview_link` helper:
|
|
84
84
|
<% end %>
|
85
85
|
```
|
86
86
|
|
87
|
+
## Known issues
|
88
|
+
|
89
|
+
There is an known issue with `gem spring`. In case if after running `rails g adminlte:install` your app will keep using default rails scaffold templates - you may need to restart spring or simply run your `rails g scaffold Model` or `rails g controller ControllerName` in another terminal window.
|
90
|
+
|
91
|
+
If someone know how to fix this - please let me know or simply create a pull request.
|
92
|
+
|
87
93
|
## Contributing
|
88
94
|
|
89
95
|
1. Fork it ( https://github.com/[my-github-username]/adminlte-generators/fork )
|
data/lib/adminlte-generators.rb
CHANGED
@@ -2,7 +2,7 @@ require "rails"
|
|
2
2
|
|
3
3
|
module Adminlte
|
4
4
|
module Generators
|
5
|
-
class Engine < Rails::Engine
|
5
|
+
class Engine < ::Rails::Engine
|
6
6
|
config.app_generators.stylesheets false
|
7
7
|
|
8
8
|
initializer 'adminlte-generators.setup', group: :all do |app|
|
@@ -12,7 +12,7 @@ module Adminlte
|
|
12
12
|
end
|
13
13
|
|
14
14
|
config.app_generators do |g|
|
15
|
-
g.templates.unshift File::expand_path('
|
15
|
+
g.templates.unshift File::expand_path('../../templates', __FILE__)
|
16
16
|
end
|
17
17
|
end
|
18
18
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adminlte-generators
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavlo Babenko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|