fastlane-plugin-rename_android 1.1.0 → 1.1.1

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: f4f8dd16cb6fe24cab8523efeb34b8e60e1cffcff2a4f2a16cadfac025553185
4
- data.tar.gz: f4257ed943b4326671376fdf98b7afb83b3f0d02ed380a527ab62ca3830cea45
3
+ metadata.gz: b2bda1e041770bafee2c25e3e1466bbc3231c5f3edc4268f796172709dff1151
4
+ data.tar.gz: cacf555305d636585283e5fa1f29c42d31a59de620cbc475db2842169ccf5c85
5
5
  SHA512:
6
- metadata.gz: cfb64c795dd67b6e9cb2ea5e98bd77fcfbcbb9c977f266e08231f0e02778f9c26f314f1f52ea3536c90a6122e7e0484f250706ad30a24196378ad0188fc4927d
7
- data.tar.gz: a33f9f355e46e65a204696850f001a038796f00ae7cc455f6f921ecedd280effb11e87d14ce4864d3a8eb4f6e4fcea280d1ccfc6bafaa32f9407c11c9f948b68
6
+ metadata.gz: 06357d4f041368d738b992443fbaaabc783c15dd9689ec8475bf37ac74019e0c3b05d1cbf849e0eb097633a0e9ea5a25c0c9d7e1bb8ae611d58539c6c81460a9
7
+ data.tar.gz: fcb119e44ee9376368d2b02e7ce9d4af9e62cbcc4043074eb791bc14d5788e654e08b59c366cc952a3809cd41e2df5680e28ddf240273bf4b76cadc42d7a6d8c
data/LICENSE CHANGED
@@ -1,6 +1,7 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2018 Josh Holtz <josh@rokkincat.com:>
3
+ Copyright (c) 2018 Josh Holtz <josh@rokkincat.com>
4
+ Copyright (c) 2025 Sourcetoad <info@sourcetoad.com>
4
5
 
5
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
7
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -25,11 +25,11 @@ rename_android(
25
25
  )
26
26
  ```
27
27
 
28
- | Parameter | Description | Required | Default |
29
- |---|---|---|---|
30
- | `path` | Path to the Android project root | Yes | |
31
- | `package_name` | The current package name | Yes | |
32
- | `new_package_name` | The new package name | Yes | |
28
+ | Parameter | Description | Required | Default |
29
+ |--------------------|----------------------------------|----------|---------|
30
+ | `path` | Path to the Android project root | Yes | |
31
+ | `package_name` | The current package name | Yes | |
32
+ | `new_package_name` | The new package name | Yes | |
33
33
 
34
34
  ### rename_android_app_name
35
35
 
@@ -42,22 +42,22 @@ rename_android_app_name(
42
42
  )
43
43
  ```
44
44
 
45
- | Parameter | Description | Required | Default |
46
- |---|---|---|---|
47
- | `new_name` | The new display name for the app | No | |
48
- | `manifest` | Path to the AndroidManifest.xml file | No | `app/src/main/AndroidManifest.xml` |
45
+ | Parameter | Description | Required | Default |
46
+ |------------|--------------------------------------|----------|------------------------------------|
47
+ | `new_name` | The new display name for the app | No | |
48
+ | `manifest` | Path to the AndroidManifest.xml file | No | `app/src/main/AndroidManifest.xml` |
49
49
 
50
50
  ## Run tests for this plugin
51
51
 
52
52
  To run both the tests, and code style validation, run
53
53
 
54
54
  ```
55
- rake
55
+ bundle exec rake
56
56
  ```
57
57
 
58
58
  To automatically fix many of the styling issues, use
59
59
  ```
60
- rubocop -a
60
+ bundle exec rubocop -a
61
61
  ```
62
62
 
63
63
  ## Issues and Feedback
@@ -16,6 +16,11 @@ module Fastlane
16
16
  package_name = params[:package_name]
17
17
  new_package_name = params[:new_package_name]
18
18
 
19
+ if package_name == new_package_name
20
+ UI.message("Old and new package names are the same, nothing to do")
21
+ return 0
22
+ end
23
+
19
24
  folder = package_name.gsub('.', '/')
20
25
  new_folder = new_package_name.gsub('.', '/')
21
26
  new_folder_path = "#{path}/app/src/main/java/#{new_folder}"
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module RenameAndroid
3
- VERSION = "1.1.0"
3
+ VERSION = "1.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-rename_android
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Holtz
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2026-03-27 00:00:00.000000000 Z
12
+ date: 2026-05-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ox