derail-rails 0.2.1 → 0.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 68de7e965875e1a48210a41778eec4458b8f042dd2e1a20431886427da8164a6
4
- data.tar.gz: a342a67405702f1b5d614758ece861afbd53012b2b0b5759e1ec53420280982a
3
+ metadata.gz: f5bf600d6f3746295333bfc50409a722ec64041081765af6dda8510038eb755d
4
+ data.tar.gz: 6f4c3609d46778eef15df76b1be227aa6b27fc31539d735d85ac40c412c88deb
5
5
  SHA512:
6
- metadata.gz: f0eb5bf717077f3cb82e99317332f38c5b17b023314fe873b9c4d8d3dd597ce8cb8d95a639f36c8a55a694c344565b37d61c78f6fb3f9ba9b245b8f0d3a8f053
7
- data.tar.gz: 6c038ab60178b0ccebeb7bfef45e93259c38f8a515c071b172307486788722ce6dab8af946f5714c815a3078dc41df355b4ea7aef1279b32b618368a64ce7137
6
+ metadata.gz: 84a2b8071997829a8da00f553689395b27db91c4043c5acf9ca1c03c47dc806c9cf7dcee64bea26f791816a6136d065e2b617394753f745f1a7d13d4cb09cec3
7
+ data.tar.gz: 5dc1a9fab8da3de8a8bdff9659c3f0b31ae1b086a2d83fc83d4b660382364ac8d2eef47ebbea24b39923974419192f1d79a616f1dc35b498d95a75fab2f63210
data/README.md CHANGED
@@ -1,12 +1,12 @@
1
1
  ![logo](https://images.unsplash.com/photo-1489928689380-3b404a485daa?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1355&q=80)
2
2
  [Photo by Jerry Kiesewetter on Unsplash](https://unsplash.com/photos/yPnT96Jx5D4)
3
-
3
+
4
4
  # Derail
5
5
  Completely destroys a rails project: Databases, Chewy indices (if any) and deletes the project directory.
6
6
 
7
7
  ## Usage
8
8
  ```bash
9
- rake derail:project
9
+ rake derail:rails
10
10
  ```
11
11
 
12
12
  ## Installation
@@ -14,7 +14,7 @@ Add this line to your application's Gemfile:
14
14
 
15
15
  ```ruby
16
16
  group :development do
17
- gem 'derail-rails'
17
+ gem 'derail-rails', require: 'derail'
18
18
  end
19
19
  ```
20
20
 
@@ -1,3 +1,3 @@
1
1
  module Derail
2
- VERSION = '0.2.1'
2
+ VERSION = '0.3.0'
3
3
  end
@@ -1,6 +1,6 @@
1
1
  namespace :derail do
2
2
  desc "Destroy rails project"
3
- task :project => [:environment] do
3
+ task :rails => [:environment] do
4
4
  puts "\nDo you really want to destroy this project? [Y/N]"
5
5
 
6
6
  if STDIN.gets.chomp == "Y"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: derail-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Novosad