cheftacular 2.10.1 → 2.10.2
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 +4 -4
- data/lib/cheftacular/stateless_actions/update_cheftacular.rb +15 -13
- data/lib/cheftacular/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 38c998ae8e5731af62924ee61299b8ef290d2968
|
|
4
|
+
data.tar.gz: ebd8a82ef084eb1d59e72e6a78c31eeb8549f10e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3677518b3bc9e7a132323de58962c06bc1038db3966f82fc7b3cf2462b6f9c58a42f614b5c29e4fe7125afc17989ad655463f6c42d58327ad6d814f8b1b2bb52
|
|
7
|
+
data.tar.gz: 27ff9027ab3a1b9e98f82179db6103beb3ac3da4709da5647d1e4d575b616a7fea43aca9e3cdec448ec826b6d40cdbb8eabb9752c93906d5e253f0218b83a373
|
|
@@ -15,7 +15,7 @@ class Cheftacular
|
|
|
15
15
|
|
|
16
16
|
class StatelessAction
|
|
17
17
|
def update_cheftacular status_hash={}
|
|
18
|
-
update_cheftacular_not_configured_to_update if @config['cheftacular']['self_update_repository'] != @config['locs']['root']
|
|
18
|
+
update_cheftacular_not_configured_to_update if @config['cheftacular']['self_update_repository'] != @config['locs']['root'].split('/').last
|
|
19
19
|
|
|
20
20
|
@config['helper'].set_detected_cheftacular_version
|
|
21
21
|
|
|
@@ -23,18 +23,20 @@ class Cheftacular
|
|
|
23
23
|
|
|
24
24
|
status_hash['gemfile_is_latest_version'] = update_cheftacular_from_git
|
|
25
25
|
status_hash['gemfile_is_latest_version'] = update_cheftacular_gemfile unless status_hash['gemfile_is_latest_version']
|
|
26
|
-
status_hash['bundled_latest_version'] = update_cheftacular_bundle
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
26
|
+
#status_hash['bundled_latest_version'] = update_cheftacular_bundle if status_hash['gemfile_is_latest_version']
|
|
27
|
+
|
|
28
|
+
puts "Please run bundle install to update to the latest version."
|
|
29
|
+
|
|
30
|
+
#if !status_hash['gemfile_is_latest_version'] || !status_hash['bundled_latest_version']
|
|
31
|
+
# puts(
|
|
32
|
+
# "Issues occured in automatically updating your cheftacular " +
|
|
33
|
+
# "to #{ @config['detected_cheftacular_version'] }, please send " +
|
|
34
|
+
# "the output of this command to your DevOps administrator or add " +
|
|
35
|
+
# "it as an issue at this gem's github page."
|
|
36
|
+
# )
|
|
37
|
+
#else
|
|
38
|
+
# puts "Successfully installed version #{ @config['detected_cheftacular_version'] }, please re-run your command."
|
|
39
|
+
#end
|
|
38
40
|
end
|
|
39
41
|
|
|
40
42
|
private
|
data/lib/cheftacular/version.rb
CHANGED