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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3eea011223e5c1fbbe87cbd330931d43c29a7d96
4
- data.tar.gz: 503eb833c0df8b24df7716b04524d8130d5caa56
3
+ metadata.gz: 1a576432280857725491d155a3a369e1b6ec7608
4
+ data.tar.gz: f598f278c151ca64a7ebb60a191c133c43eaa7e5
5
5
  SHA512:
6
- metadata.gz: 107aa4856362bdce021814c6b0f60d529cb711feae6b18b311813077991b36a70597d1766a695721af5d5374f6f66557fc0f34143731f07199eb9899f1b971ad
7
- data.tar.gz: 0b0a54d013fc86319adaa1b29d3a775a7e8a91a5ab9056f438f376d7622df847ad86e0933042655db1d8b7c238b9afcf02f03a2329902c00e1f18c413a49344d
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 )
@@ -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('../templates', __FILE__)
15
+ g.templates.unshift File::expand_path('../../templates', __FILE__)
16
16
  end
17
17
  end
18
18
  end
@@ -1,5 +1,5 @@
1
1
  module Adminlte
2
2
  module Generators
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  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.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-07 00:00:00.000000000 Z
11
+ date: 2015-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler