paraphraser 1.0.0 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/Gemfile +0 -2
  2. data/README.rdoc +23 -1
  3. data/Rakefile +5 -1
  4. data/VERSION +1 -1
  5. data/paraphraser.gemspec +5 -2
  6. metadata +8 -4
data/Gemfile CHANGED
@@ -6,8 +6,6 @@ source "http://rubygems.org"
6
6
  # Add dependencies to develop your gem here.
7
7
  # Include everything needed to run rake, tests, features, etc.
8
8
  group :development do
9
- # gem "shoulda", ">= 0"
10
9
  gem "bundler", "~> 1.0.0"
11
10
  gem "jeweler", "~> 1.5.2"
12
- # gem "rcov", ">= 0"
13
11
  end
data/README.rdoc CHANGED
@@ -1,6 +1,28 @@
1
1
  = paraphraser
2
2
 
3
- Description goes here.
3
+ Paraphraser, is a very simple gem.
4
+ It adds a rake task that will drop, re-create and migrate a database (default is test) and will output the sql generated in the migration process.
5
+ It will output the sql to screen as well as to a file ./migration.sql.
6
+
7
+ = usage
8
+
9
+ to install:
10
+
11
+ gem install paraphraser
12
+
13
+ then, from your rails project root:
14
+
15
+ rake db:paraphrase:all
16
+
17
+ to use your development database instead of the default test database
18
+
19
+ rake 'db:paraphrase:all[development]'
20
+
21
+ = disclaimer
22
+
23
+ Paraphraser, works like the computer - GIGO. It doesn't verify the semantics of your migrations.
24
+ All it does is, simply redirect the sql sent to connection.execute to the screen and to a file.
25
+ In the process it re-creates your database (test database by default) and hence wipes-out all data.
4
26
 
5
27
  == Contributing to paraphraser
6
28
 
data/Rakefile CHANGED
@@ -16,7 +16,11 @@ Jeweler::Tasks.new do |gem|
16
16
  gem.homepage = "http://github.com/vinayvinay/paraphraser"
17
17
  gem.license = "MIT"
18
18
  gem.summary = "provides a rake task to convert migrations to sql statements for *the dba*."
19
- gem.description = "provides a rake task to convert migrations to sql statements for *the dba*."
19
+ gem.description = <<EOS
20
+ Paraphraser, is a very simple gem.
21
+ It will drop, re-create and migrate a database and will output the sql generated during migration in the process.
22
+ It will output the sql to screen as well as to a file ./migration.sql
23
+ EOS
20
24
  gem.email = "mail@vinayvinay.com"
21
25
  gem.authors = ["Vinay Patel"]
22
26
  # Include your dependencies below. Runtime dependencies are required when using your gem,
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.2
data/paraphraser.gemspec CHANGED
@@ -5,12 +5,15 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{paraphraser}
8
- s.version = "1.0.0"
8
+ s.version = "1.0.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Vinay Patel"]
12
12
  s.date = %q{2011-01-05}
13
- s.description = %q{provides a rake task to convert migrations to sql statements for *the dba*.}
13
+ s.description = %q{Paraphraser, is a very simple gem.
14
+ It will drop, re-create and migrate a database and will output the sql generated during migration in the process.
15
+ It will output the sql to screen as well as to a file ./migration.sql
16
+ }
14
17
  s.email = %q{mail@vinayvinay.com}
15
18
  s.extra_rdoc_files = [
16
19
  "LICENSE.txt",
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 0
9
- version: 1.0.0
8
+ - 2
9
+ version: 1.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Vinay Patel
@@ -47,7 +47,11 @@ dependencies:
47
47
  type: :development
48
48
  prerelease: false
49
49
  version_requirements: *id002
50
- description: provides a rake task to convert migrations to sql statements for *the dba*.
50
+ description: |
51
+ Paraphraser, is a very simple gem.
52
+ It will drop, re-create and migrate a database and will output the sql generated during migration in the process.
53
+ It will output the sql to screen as well as to a file ./migration.sql
54
+
51
55
  email: mail@vinayvinay.com
52
56
  executables: []
53
57
 
@@ -86,7 +90,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
86
90
  requirements:
87
91
  - - ">="
88
92
  - !ruby/object:Gem::Version
89
- hash: 848231213
93
+ hash: -833975215
90
94
  segments:
91
95
  - 0
92
96
  version: "0"