rename 1.0.9 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/generators/rename/shared/common_methods.rb +2 -2
- data/lib/rename/version.rb +1 -1
- data/rename.gemspec +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1639c5917067e70fac97db3b66637cf571f13be880d3237d522aa3ddbe217f26
|
4
|
+
data.tar.gz: 567d8ee3c28f6cd9db39e71a410f6669da4b2ca545c00e7d6f8800106790e2df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a889d0c18954dc474161dbcdc75f6c4926834f52517b97f9463eed48e96d12fb96ff3bddb2fc8c212a37cde26764a56823500a5137925c6a9ce69cf526843dac
|
7
|
+
data.tar.gz: a2350d8b99ed51207029c693dc5f42aa6de66e036facd69355efae190c0848dbad0ff262e99aaa4bd173cc2d69f82ee5499745a347858e05d17cda37c0a7c243
|
data/README.md
CHANGED
@@ -44,9 +44,9 @@ module CommonMethods
|
|
44
44
|
elsif reserved_names.include?(@new_module_name.downcase)
|
45
45
|
raise Thor::Error, '[Error] Please give a name which does not match any of the reserved Rails keywords.'
|
46
46
|
elsif Object.const_defined?(@new_module_name)
|
47
|
-
raise Thor::Error, "[Error] Constant #{@new_module_name} is already in use, please choose another name."
|
47
|
+
raise Thor::Error, "[Error] Constant '#{@new_module_name}' is already in use, please choose another name."
|
48
48
|
elsif file_exist?(@new_path)
|
49
|
-
raise Thor::Error,
|
49
|
+
raise Thor::Error, "[Error] Folder '#{@new_dir}' already in use, please choose another name."
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
data/lib/rename/version.rb
CHANGED
data/rename.gemspec
CHANGED
@@ -9,6 +9,7 @@ Gem::Specification.new do |gem|
|
|
9
9
|
gem.email = %w(morshed201@gmail.com)
|
10
10
|
gem.homepage = 'https://github.com/morshedalam/rename'
|
11
11
|
gem.summary = 'Rename your Rails application using a single command.'
|
12
|
+
gem.required_ruby_version = ">= 1.8.7"
|
12
13
|
|
13
14
|
gem.add_dependency 'rails', '>= 3.0.0'
|
14
15
|
gem.add_dependency 'thor', '>= 0.19.1'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rename
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Morshed Alam
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
11
|
+
date: 2024-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -87,7 +87,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
87
87
|
requirements:
|
88
88
|
- - ">="
|
89
89
|
- !ruby/object:Gem::Version
|
90
|
-
version:
|
90
|
+
version: 1.8.7
|
91
91
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
92
92
|
requirements:
|
93
93
|
- - ">="
|