create_rails_mysql_db 0.2 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/Manifest CHANGED
@@ -1,5 +1,6 @@
1
1
  Manifest
2
2
  README
3
+ README.rdoc
3
4
  Rakefile
4
5
  bin/create_rails_mysql_db
5
6
  create_rails_mysql_db.gemspec
data/README.rdoc ADDED
@@ -0,0 +1,15 @@
1
+ = create_rails_mysql_db
2
+
3
+ This gem reading the config/database.yml file for a Rails app and creates the databases in mysql and grants the permissions for the user.
4
+ Start this util from root path just created rails app with -g option, and it will ask root mysql password, and create for you needed databases.
5
+ Or, edit config/database.yml, and then start it without any option, create_rails_mysql_db will create listed databases, usernames and grant passwords.
6
+
7
+
8
+ -g (optional) - if password is empty (this is default for just created new rails app), it generate new, also replace username to database name (for new rails app, login root will be replaced by database name), and rewrite config/database.yml
9
+
10
+ == Note on Patches/Pull Requests
11
+
12
+
13
+ == Copyright
14
+
15
+ Copyright (c) 2011 Dmitry Biryukov. See LICENSE for details.
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'echoe'
4
4
 
5
- Echoe.new('create_rails_mysql_db', '0.2') do |p|
5
+ Echoe.new('create_rails_mysql_db', '0.2.1') do |p|
6
6
  p.description = "cli util to create database and username readed from config/database.yml"
7
7
  p.url = "https://github.com/dmitryz/create_rails_mysql_db"
8
8
  p.author = "Dmitry Biryukov"
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{create_rails_mysql_db}
5
- s.version = "0.2"
5
+ s.version = "0.2.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Dmitry Biryukov"]
@@ -12,8 +12,8 @@ Gem::Specification.new do |s|
12
12
  s.description = %q{cli util to create database and username readed from config/database.yml}
13
13
  s.email = %q{dmitry@biryukov.net}
14
14
  s.executables = ["create_rails_mysql_db"]
15
- s.extra_rdoc_files = ["README", "bin/create_rails_mysql_db", "lib/create_rails_mysql_db.rb"]
16
- s.files = ["Manifest", "README", "Rakefile", "bin/create_rails_mysql_db", "create_rails_mysql_db.gemspec", "lib/create_rails_mysql_db.rb"]
15
+ s.extra_rdoc_files = ["README", "README.rdoc", "bin/create_rails_mysql_db", "lib/create_rails_mysql_db.rb"]
16
+ s.files = ["Manifest", "README", "README.rdoc", "Rakefile", "bin/create_rails_mysql_db", "create_rails_mysql_db.gemspec", "lib/create_rails_mysql_db.rb"]
17
17
  s.homepage = %q{https://github.com/dmitryz/create_rails_mysql_db}
18
18
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Create_rails_mysql_db", "--main", "README"]
19
19
  s.require_paths = ["lib"]
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: create_rails_mysql_db
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- version: "0.2"
9
+ - 1
10
+ version: 0.2.1
10
11
  platform: ruby
11
12
  authors:
12
13
  - Dmitry Biryukov
@@ -47,11 +48,13 @@ extensions: []
47
48
 
48
49
  extra_rdoc_files:
49
50
  - README
51
+ - README.rdoc
50
52
  - bin/create_rails_mysql_db
51
53
  - lib/create_rails_mysql_db.rb
52
54
  files:
53
55
  - Manifest
54
56
  - README
57
+ - README.rdoc
55
58
  - Rakefile
56
59
  - bin/create_rails_mysql_db
57
60
  - create_rails_mysql_db.gemspec
metadata.gz.sig CHANGED
Binary file