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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 538f8c43946baf80d032611cd205f407b9a5837a
4
- data.tar.gz: 79a1bbdfd7d936dd837b9a2ac5a4b8fd565b8a01
3
+ metadata.gz: 38c998ae8e5731af62924ee61299b8ef290d2968
4
+ data.tar.gz: ebd8a82ef084eb1d59e72e6a78c31eeb8549f10e
5
5
  SHA512:
6
- metadata.gz: 9c6c78974796baf6f56870b8af2e15984082004e4ae80c3b421d2346792c8f7ad467efb321080cd9de44a2de06c323fc817dae32e09e364f9de7bacfe34f2c5e
7
- data.tar.gz: 86e41240d220f27f40cf87c9e412969e08252082fc41fa82e57ef6531951301b8d405819c7eb27b578cf771da0b93aba9f8b956dd331537b7bd357cb6aba084a
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 if status_hash['gemfile_is_latest_version']
27
-
28
- if !status_hash['gemfile_is_latest_version'] || !status_hash['bundled_latest_version']
29
- puts(
30
- "Issues occured in automatically updating your cheftacular " +
31
- "to #{ @config['detected_cheftacular_version'] }, please send " +
32
- "the output of this command to your DevOps administrator or add " +
33
- "it as an issue at this gem's github page."
34
- )
35
- else
36
- puts "Successfully installed version #{ @config['detected_cheftacular_version'] }, please re-run your command."
37
- end
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
@@ -1,5 +1,5 @@
1
1
  class Cheftacular
2
2
  #major_version.minor_version.bugfixes
3
- VERSION = "2.10.1"
3
+ VERSION = "2.10.2"
4
4
  RUBY_VERSION = "2.2.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cheftacular
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.10.1
4
+ version: 2.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Louis Alridge