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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 59dcefa0ad39fd863840b89bfaa4b6d79395009d63c489243fbea126496a901a
4
- data.tar.gz: 3125cd4d95bb1d153ae31f2c6e21e8a6cce0232ccbe7d3115307de3215a5bb2f
3
+ metadata.gz: 1639c5917067e70fac97db3b66637cf571f13be880d3237d522aa3ddbe217f26
4
+ data.tar.gz: 567d8ee3c28f6cd9db39e71a410f6669da4b2ca545c00e7d6f8800106790e2df
5
5
  SHA512:
6
- metadata.gz: fc304eb7f357c6b8adc6ed8daefd10460c417df186050574035b4c63ea7ede4a555fff2e1355cf4e6e03d7e4459c88a6ba7b980acebe4b4b18c5b1cdd8848bb1
7
- data.tar.gz: 7af04e3ac1bfb29ca8596d40dfad2434ccc4578d16a53d8bc3d1edaedb4f9b464171fdde8fa924891d99afa7da6612ebbca1c9486948f7cd342b68867c232918
6
+ metadata.gz: a889d0c18954dc474161dbcdc75f6c4926834f52517b97f9463eed48e96d12fb96ff3bddb2fc8c212a37cde26764a56823500a5137925c6a9ce69cf526843dac
7
+ data.tar.gz: a2350d8b99ed51207029c693dc5f42aa6de66e036facd69355efae190c0848dbad0ff262e99aaa4bd173cc2d69f82ee5499745a347858e05d17cda37c0a7c243
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  This gem allows you to rename your Rails application by using a single command.
4
4
 
5
- Tested up to Rails 6.1.
5
+ Tested up to Ruby 3.2.2 and Rails 7.0.8
6
6
 
7
7
  ## Installation
8
8
 
@@ -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, '[Error] Already in use, please choose another name.'
49
+ raise Thor::Error, "[Error] Folder '#{@new_dir}' already in use, please choose another name."
50
50
  end
51
51
  end
52
52
 
@@ -1,3 +1,3 @@
1
1
  module Rename
2
- VERSION = '1.0.9'
2
+ VERSION = '1.0.10'
3
3
  end
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.9
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-07 00:00:00.000000000 Z
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: '0'
90
+ version: 1.8.7
91
91
  required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  requirements:
93
93
  - - ">="