teleporter 0.0.27 → 0.0.28

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e582b31b9866e11d6dceb89c4994a71398ed085d
4
- data.tar.gz: 51eee53286064a6d20062faa4b6b1cd86f7a5d8b
3
+ metadata.gz: acc900e3fc54f6a50f8a5d9a32a979e50ac240d3
4
+ data.tar.gz: a20efecce01f81f89257afffbefb5ecb28587cfc
5
5
  SHA512:
6
- metadata.gz: f8c98c67a38c3fb42d1a596b7a5f84eaa601f82939acb1012dab6f450c5fe2ee59ba04b17fcbc53b95f1de737c31779a226891c83aa51945b4ea8d49dc64c462
7
- data.tar.gz: c3b9f96b35cb4dc9676f32a6660205d2ff8eb7c167147512ccd7b701035835789558fb1eccfb5b16f7d677307965121d8517e749865c837323f7f1c95a607837
6
+ metadata.gz: 8d02bbb3bc290ecca3f93d736307a260d1fc6c78774edde61375e8655ea01e1e6e49072a3445b66796e4a0e01228d99c23f5c8baf4ac759e3f1635504281859d
7
+ data.tar.gz: e768668ab8392db4665ec2821fd99529ce2d5308dc91ba7417f7e8e9a54518ebc94b14d5d0bcce1ed2f9f8844b082b79b00d84e1c241807064cc569e5fee1679
data/README.md CHANGED
@@ -9,6 +9,7 @@ $ rails g initial:start
9
9
  $ rails g initial:welcome
10
10
  $ rails g initial:capistrano
11
11
  $ rails g initial:bootstrap
12
+ $ rails g initial:devise
12
13
 
13
14
  $ rails g admin:start
14
15
  ```
@@ -4,8 +4,12 @@ module Initial
4
4
 
5
5
  def add
6
6
  @name = ask "Type the project's name"
7
+ @username = ask 'Type database username'
8
+ @password = ask 'Type database password'
7
9
  template 'database/database.yml', 'config/database.yml'
8
10
  template 'database/database.yml', 'config/database.yml.example'
11
+ create_db = ask 'Create database?'
12
+ rake('db:create') if create_db =~ /y/
9
13
  end
10
14
  end
11
15
  end
@@ -2,8 +2,8 @@ common: &common
2
2
  adapter: postgresql
3
3
  encoding: utf8
4
4
  pool: 5
5
- username: root
6
- password: ""
5
+ username: <%= @username %>
6
+ password: <%= @passoword %>
7
7
 
8
8
  development:
9
9
  <<: *common
@@ -1,3 +1,3 @@
1
1
  module Teleporter
2
- VERSION = "0.0.27"
2
+ VERSION = "0.0.28"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teleporter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.27
4
+ version: 0.0.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ponomarev Nikolay
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-14 00:00:00.000000000 Z
11
+ date: 2014-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler