rateaux 2.1.0 → 2.2.0
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 +4 -4
- data/README.md +14 -4
- data/lib/rateaux/version.rb +1 -1
- data/lib/tasks/rateaux_db_schema_print_dump.rake +13 -0
- data/lib/tasks/rateaux_db_schema_view.rake +2 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e346b9a084dd267e02240cee8f40e665d8ac61eb56a1203e5abe45601862276b
|
|
4
|
+
data.tar.gz: 86450dae663250be671655bb286b507a2c79c3eb44529cf4639f239a2417e8fd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f88fc1aada08f4a57170b1b5c818c01183a38d89b33473e3878c345a24c2e91ce1b54c7e43f1620f34864ff652472d914f3cd4150c6b5fd0f255e83c8df33f71
|
|
7
|
+
data.tar.gz: dc75de811d58084701898d3921f5e626dc4df3e84f1fbf39cff4afe07befc7d5d570abad1520566fe28b7b55a0afd0be59c186d0f2a903634856199e309d9fd8
|
data/README.md
CHANGED
|
@@ -47,12 +47,21 @@ $ rake db:migrate:delete_orphaned
|
|
|
47
47
|
|
|
48
48
|
### DB schema view
|
|
49
49
|
|
|
50
|
-
View the database structure.
|
|
50
|
+
View the database structure as an ascii table.
|
|
51
51
|
|
|
52
52
|
```sh
|
|
53
53
|
$ rake db:schema:view
|
|
54
54
|
```
|
|
55
55
|
|
|
56
|
+
### DB schema print dump
|
|
57
|
+
|
|
58
|
+
Print the database structure as a Ruby file. Like `db:schema:dump` but printed
|
|
59
|
+
out instead of written to `db/schema.rb`.
|
|
60
|
+
|
|
61
|
+
```sh
|
|
62
|
+
$ rake db:schema:print_dump
|
|
63
|
+
```
|
|
64
|
+
|
|
56
65
|
### I18n word count
|
|
57
66
|
|
|
58
67
|
Show the number of translated words in every available locale.
|
|
@@ -63,7 +72,7 @@ $ rake i18n:word_count
|
|
|
63
72
|
|
|
64
73
|
### Checkout
|
|
65
74
|
|
|
66
|
-
Remove migrations then checkout a git branch.
|
|
75
|
+
Remove Rails migrations then checkout a git branch.
|
|
67
76
|
|
|
68
77
|
```sh
|
|
69
78
|
$ rake checkout new_branch_name
|
|
@@ -127,8 +136,9 @@ bin/rake release
|
|
|
127
136
|
|
|
128
137
|
## License
|
|
129
138
|
|
|
130
|
-
The gem is available as open source under the terms of the
|
|
139
|
+
The gem is available as open source under the terms of the
|
|
140
|
+
[MIT License](http://opensource.org/licenses/MIT).
|
|
131
141
|
|
|
132
142
|
## The name
|
|
133
143
|
|
|
134
|
-
In French _rateaux_ means _rakes_.
|
|
144
|
+
In French _rateaux_ means _rakes_. 🌾
|
data/lib/rateaux/version.rb
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Print database schema.
|
|
4
|
+
#
|
|
5
|
+
# $ rake db:schema:print_dump
|
|
6
|
+
namespace :db do
|
|
7
|
+
namespace :schema do
|
|
8
|
+
desc "Print database dump"
|
|
9
|
+
task print_dump: :environment do
|
|
10
|
+
ActiveRecord::SchemaDumper.dump
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rateaux
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sunny Ripert
|
|
@@ -84,6 +84,7 @@ files:
|
|
|
84
84
|
- lib/tasks/rateaux_copy_non_digested_assets.rake
|
|
85
85
|
- lib/tasks/rateaux_db.rake
|
|
86
86
|
- lib/tasks/rateaux_db_migrate.rake
|
|
87
|
+
- lib/tasks/rateaux_db_schema_print_dump.rake
|
|
87
88
|
- lib/tasks/rateaux_db_schema_view.rake
|
|
88
89
|
- lib/tasks/rateaux_git_checkout.rake
|
|
89
90
|
- lib/tasks/rateaux_i18n_word_count.rake
|