rename-rails 1.0.1 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/.ruby-version +1 -1
- data/README.md +6 -4
- data/lib/generators/rename_rails/app_to/USAGE +1 -1
- data/lib/generators/rename_rails/app_to/app_to_generator.rb +0 -1
- data/lib/rename_rails/version.rb +1 -1
- data/rename_rails.gemspec +6 -5
- metadata +15 -14
- data/lib/generators/rename_rails/into/USAGE +0 -1
- data/lib/generators/rename_rails/into/into_generator.rb +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c6971b22e7e0a5f36b5c0927f4525124f1a66f90972627a4254291ce92f75c6
|
4
|
+
data.tar.gz: c6ecf48eef9f784e27f26208c604d9995b49c824952db6976ba55ef20cdae0a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2dffec998f490c53e87539cd4417f64b31cdf96d4dd0d891bd49f2dc0a6239fba07861d4526df79afc7d5f289934c142595fb1e4c962723d131fe532f010d613
|
7
|
+
data.tar.gz: 7ffa43a2b780525b19a234c6a52e4e24af0a62ced633aebdcccc4425802ff2149ad801523c4eb07bdc79a6773504586d087380f651c996ff63f573a8831fe34b
|
data/.rubocop.yml
CHANGED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
2.7.6
|
data/README.md
CHANGED
@@ -3,11 +3,13 @@ rename-rails
|
|
3
3
|
|
4
4
|
This gem allows you to rename your Rails application using a single command.
|
5
5
|
|
6
|
-
A fork of [rename][
|
7
|
-
updates for Rails 6 provided by [@rlogwood][] and
|
6
|
+
A fork of [rename][], originally authored by [@morshedalam][] and
|
7
|
+
[@mindplace][], with updates for Rails 6 provided by [@rlogwood][] and
|
8
|
+
[@dbronzetti][].
|
8
9
|
|
9
10
|
[rename]: https://github.com/morshedalam/rename
|
10
11
|
[@morshedalam]: https://github.com/morshedalam
|
12
|
+
[@mindplace]: https://github.com/mindplace
|
11
13
|
[@rlogwood]: https://github.com/rlogwood
|
12
14
|
[@dbronzetti]: https://github.com/dbronzetti
|
13
15
|
|
@@ -18,14 +20,14 @@ Installation
|
|
18
20
|
Add the following to your Rails app's `Gemfile` and `bundle install`:
|
19
21
|
|
20
22
|
```ruby
|
21
|
-
gem "rename"
|
23
|
+
gem "rename-rails"
|
22
24
|
```
|
23
25
|
|
24
26
|
Usage
|
25
27
|
-----
|
26
28
|
|
27
29
|
```sh
|
28
|
-
$ rails generate
|
30
|
+
$ rails generate rename_rails:app_to NewAppName
|
29
31
|
```
|
30
32
|
|
31
33
|
Contributing
|
@@ -1 +1 @@
|
|
1
|
-
rails generate
|
1
|
+
rails generate rename_rails:app_to NewAppName
|
data/lib/rename_rails/version.rb
CHANGED
data/rename_rails.gemspec
CHANGED
@@ -7,15 +7,16 @@ Gem::Specification.new do |gem|
|
|
7
7
|
gem.version = RenameRails::VERSION
|
8
8
|
gem.licenses = ["MIT"]
|
9
9
|
gem.summary = "Rename your Rails application using a single command."
|
10
|
-
gem.authors = ["Morshed Alam", "Richard Logwood", "Jake Romer"]
|
10
|
+
gem.authors = ["Morshed Alam", "Esther Leytush", "Damian Bronzetti", "Richard Logwood", "Jake Romer"]
|
11
11
|
gem.email = "jake@jmromer.org"
|
12
12
|
gem.files = `git ls-files`.split("\n")
|
13
13
|
gem.homepage = "https://github.com/jmromer/rename-rails"
|
14
14
|
gem.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
|
15
15
|
gem.require_paths = %w[lib]
|
16
16
|
|
17
|
-
gem.required_ruby_version = "
|
18
|
-
gem.add_dependency "rails", "
|
19
|
-
gem.add_dependency "thor", "
|
20
|
-
gem.add_runtime_dependency "activesupport", "
|
17
|
+
gem.required_ruby_version = ">= 2.7"
|
18
|
+
gem.add_dependency "rails", ">= 6.1"
|
19
|
+
gem.add_dependency "thor", ">= 1.1"
|
20
|
+
gem.add_runtime_dependency "activesupport", ">= 6.1"
|
21
|
+
gem.metadata["rubygems_mfa_required"] = "true"
|
21
22
|
end
|
metadata
CHANGED
@@ -1,57 +1,59 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rename-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Morshed Alam
|
8
|
+
- Esther Leytush
|
9
|
+
- Damian Bronzetti
|
8
10
|
- Richard Logwood
|
9
11
|
- Jake Romer
|
10
12
|
autorequire:
|
11
13
|
bindir: bin
|
12
14
|
cert_chain: []
|
13
|
-
date:
|
15
|
+
date: 2022-12-03 00:00:00.000000000 Z
|
14
16
|
dependencies:
|
15
17
|
- !ruby/object:Gem::Dependency
|
16
18
|
name: rails
|
17
19
|
requirement: !ruby/object:Gem::Requirement
|
18
20
|
requirements:
|
19
|
-
- - "
|
21
|
+
- - ">="
|
20
22
|
- !ruby/object:Gem::Version
|
21
23
|
version: '6.1'
|
22
24
|
type: :runtime
|
23
25
|
prerelease: false
|
24
26
|
version_requirements: !ruby/object:Gem::Requirement
|
25
27
|
requirements:
|
26
|
-
- - "
|
28
|
+
- - ">="
|
27
29
|
- !ruby/object:Gem::Version
|
28
30
|
version: '6.1'
|
29
31
|
- !ruby/object:Gem::Dependency
|
30
32
|
name: thor
|
31
33
|
requirement: !ruby/object:Gem::Requirement
|
32
34
|
requirements:
|
33
|
-
- - "
|
35
|
+
- - ">="
|
34
36
|
- !ruby/object:Gem::Version
|
35
37
|
version: '1.1'
|
36
38
|
type: :runtime
|
37
39
|
prerelease: false
|
38
40
|
version_requirements: !ruby/object:Gem::Requirement
|
39
41
|
requirements:
|
40
|
-
- - "
|
42
|
+
- - ">="
|
41
43
|
- !ruby/object:Gem::Version
|
42
44
|
version: '1.1'
|
43
45
|
- !ruby/object:Gem::Dependency
|
44
46
|
name: activesupport
|
45
47
|
requirement: !ruby/object:Gem::Requirement
|
46
48
|
requirements:
|
47
|
-
- - "
|
49
|
+
- - ">="
|
48
50
|
- !ruby/object:Gem::Version
|
49
51
|
version: '6.1'
|
50
52
|
type: :runtime
|
51
53
|
prerelease: false
|
52
54
|
version_requirements: !ruby/object:Gem::Requirement
|
53
55
|
requirements:
|
54
|
-
- - "
|
56
|
+
- - ">="
|
55
57
|
- !ruby/object:Gem::Version
|
56
58
|
version: '6.1'
|
57
59
|
description:
|
@@ -69,8 +71,6 @@ files:
|
|
69
71
|
- Rakefile
|
70
72
|
- lib/generators/rename_rails/app_to/USAGE
|
71
73
|
- lib/generators/rename_rails/app_to/app_to_generator.rb
|
72
|
-
- lib/generators/rename_rails/into/USAGE
|
73
|
-
- lib/generators/rename_rails/into/into_generator.rb
|
74
74
|
- lib/generators/rename_rails/shared/common_methods.rb
|
75
75
|
- lib/rename_rails.rb
|
76
76
|
- lib/rename_rails/version.rb
|
@@ -78,23 +78,24 @@ files:
|
|
78
78
|
homepage: https://github.com/jmromer/rename-rails
|
79
79
|
licenses:
|
80
80
|
- MIT
|
81
|
-
metadata:
|
81
|
+
metadata:
|
82
|
+
rubygems_mfa_required: 'true'
|
82
83
|
post_install_message:
|
83
84
|
rdoc_options: []
|
84
85
|
require_paths:
|
85
86
|
- lib
|
86
87
|
required_ruby_version: !ruby/object:Gem::Requirement
|
87
88
|
requirements:
|
88
|
-
- - "
|
89
|
+
- - ">="
|
89
90
|
- !ruby/object:Gem::Version
|
90
|
-
version: '
|
91
|
+
version: '2.7'
|
91
92
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
92
93
|
requirements:
|
93
94
|
- - ">="
|
94
95
|
- !ruby/object:Gem::Version
|
95
96
|
version: '0'
|
96
97
|
requirements: []
|
97
|
-
rubygems_version: 3.
|
98
|
+
rubygems_version: 3.1.6
|
98
99
|
signing_key:
|
99
100
|
specification_version: 4
|
100
101
|
summary: Rename your Rails application using a single command.
|
@@ -1 +0,0 @@
|
|
1
|
-
rails g rename:into NewName
|
@@ -1,15 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require File.expand_path("../shared/common_methods", File.dirname(__FILE__))
|
4
|
-
|
5
|
-
module RenameRails
|
6
|
-
module Generators
|
7
|
-
class IntoGenerator < Rails::Generators::Base
|
8
|
-
include CommonMethods
|
9
|
-
|
10
|
-
def into
|
11
|
-
perform
|
12
|
-
end
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|