dbconsole 0.0.2 → 0.0.3

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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Yzg2M2ZlNzM4ZjYzNGY4MzBmOWQxMjMzMDY0ZTM0OTE3YzQzNGVlMQ==
4
+ ZWY2NmYwYmJmZGVjOThmMmQ5MDE4NDkwYjA5NTViN2FhMTViMjc1Mg==
5
5
  data.tar.gz: !binary |-
6
- MWRiYTE0ZGQxNGIxMDVlZTkwNDViYjIzMzA3OWVhNjc5NTM1Yjg1NA==
6
+ YWFjZTk1NjEwZjUyNDk2NDk5NzQzMGQzNDMyNzc2NzBkYzM1YTAyYQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OWZmMDNlY2QzZjZiM2EwNTI1MmVlNmVlMmRmNmM2NTg2M2VkZjUwYWIxNjJl
10
- OTlmMWFlOGUxMWVhMmJhOTc0MGQ4MzMzZWQ3Y2YwMWJiZTY5ZjZkNTRkODcy
11
- YTI3MzI3MTk5ZjdkMDhjOGUxMWFmODk5OTY4ZjI3OTY4OWRkMDA=
9
+ MjU1Yjc4OWJiMDFmMjlhMTY0YTlhZDYzMWQ2NjllNTMwODRhZmFiMWRiNzNm
10
+ YTQ1M2UxOTIwMjgxZjdlOTVmMThkNDMyYWNkODhlMzFlZDRkYjhkZDlhZjgx
11
+ ZGExMmI3YWVhOTE0NmY0MjdmODI0ZmRjZWRhZDc4ZTRiNGE3M2E=
12
12
  data.tar.gz: !binary |-
13
- OGIxMGIyOTAyYmFhYTk4NDlhNjJjYThjMDE5NDlhNjE5M2MyMDU0MmQ0MzU4
14
- MjdlNGUwYzVmNTdkNjRiN2QyY2FjYmQwZmNhNTA1ODZkNmQzMGNlMjhiYzc5
15
- NzU3MTA2MGIzNDQwODhkY2NlNzVlOGU4NzIwYzU5YTUxZjU1Nzg=
13
+ MDliNTJmN2IxMTllOTg0ZWQ0YjQwZWFmYTk2NWMxN2EwN2Q2NTcyZmRhNTUy
14
+ OGEyYWZiY2Q2Yzk0YTM4ZmQ1ZmM2MTYyY2VlNTk5NWUyOWVmZTc4OWZlNDk2
15
+ OTlkZWU0ZjdlNmJiNGY4NDAyMjU5MzU4YTIzYzE0NzFiZmMwOGI=
@@ -1,3 +1,3 @@
1
1
  module Dbconsole
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -0,0 +1,8 @@
1
+ Description:
2
+ Explain the generator
3
+
4
+ Example:
5
+ rails generate initializer Thing
6
+
7
+ This will create:
8
+ what/will/it/create
@@ -0,0 +1,8 @@
1
+ class InitializerGenerator < Rails::Generators::NamedBase
2
+ source_root File.expand_path('../templates', __FILE__)
3
+
4
+ def add_devise_routes
5
+ devise_route = "mount Dbconsole::Engine, at: \"/dbconsole\""
6
+ route devise_route
7
+ end
8
+ end
@@ -0,0 +1,9 @@
1
+ class InitializerGenerator < Rails::Generators::NamedBase
2
+ source_root File.expand_path('../templates', __FILE__)
3
+
4
+ def add_devise_routes
5
+ devise_route = "mount Dbconsole::Engine, at: \"/dbconsole\""
6
+ devise_route << %Q(, skip: :all) unless options.routes?
7
+ route devise_route
8
+ end
9
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dbconsole
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - SrinivasaReddy
@@ -77,6 +77,9 @@ files:
77
77
  - lib/dbconsole/engine.rb
78
78
  - lib/dbconsole/version.rb
79
79
  - lib/generators/dbconsole_generator.rb
80
+ - lib/generators/initializer/USAGE
81
+ - lib/generators/initializer/initializer_generator.rb
82
+ - lib/generators/initializer/initializer_generator.rb~
80
83
  - lib/generators/install_generator.rb
81
84
  - lib/tasks/dbconsole_tasks.rake
82
85
  - test/controllers/dbconsole/database_controller_test.rb