atk_toolbox 0.0.124 → 0.0.125

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: 8c587820c85d4cb00282cd60f5ecac5e4d1b60650d3a382f3636ab1047439231
4
- data.tar.gz: 0b261ba2505b5f9fe28bf58c7142f3dc0b829a6df329c5faa577fd246a52e58c
3
+ metadata.gz: 3093604a34703d0247b4e3f63905967469144e26ba279ed33787019991ab34be
4
+ data.tar.gz: 5a2e55ba76bbaa542aedeafd92611aefb43c15620c8dc5bd5e8e942a9375b922
5
5
  SHA512:
6
- metadata.gz: 559793cc4c443e1c7b5ff525514ae130a8470b6278c75fa60cd663bd1f398bb462bc81356c633b51f80feef36657d7d4bb777fab01341ccccedc256f197ca8ed
7
- data.tar.gz: 3f1c1192bb6e869e8e09da47fb96f9ed269f6f74ac8c97ab4b30eeb667adec8c8554503efa02e1c32101d32af3fcb3eb37898a777fbe8d8415b30eed004243e4
6
+ metadata.gz: 15911eced9eed23a539289ebd8ef9c2e77c8b3a91d5d4648fc2e0ba5298084412c000e3906a736d1af231dbe7b464de9369be883d778311e0ef855fd9be53b0c
7
+ data.tar.gz: 3bead7aa56d61bd0b84873dd1b4826369745f1c2886c387839f7df68744d42b7dcc48918ed244928fc919c968c3999e8e8304d96d4c3a1f47d5dd32580f75d5a
@@ -1,5 +1,8 @@
1
1
  require 'atk_toolbox'
2
2
 
3
+ previous_version = Console.args[0]
4
+ puts "previous_version is: #{previous_version} "
5
+
3
6
  # helper function
4
7
  download_and_install_command = ->(command) do
5
8
  atk_command_download_path = Atk.temp_path("#{command}.rb")
@@ -1,3 +1,3 @@
1
1
  module AtkToolbox
2
- VERSION = '0.0.124'
2
+ VERSION = '0.0.125'
3
3
  end
@@ -1,23 +1,23 @@
1
- #
2
- # right before gem install
3
- #
4
- pre_version = nil
5
- Gem.pre_install do
6
- begin
7
- # if atk is already installed
8
- require 'atk_toolbox'
9
- pre_version = Atk.version
10
- rescue
11
- end
12
- end
1
+ # #
2
+ # # right before gem install
3
+ # #
4
+ # pre_version = nil
5
+ # Gem.pre_install do
6
+ # begin
7
+ # # if atk is already installed
8
+ # require 'atk_toolbox'
9
+ # pre_version = Atk.version
10
+ # rescue
11
+ # end
12
+ # end
13
13
 
14
- #
15
- # right after gem install
16
- #
17
- Gem.post_install do
18
- post_version = Atk.version
19
- # download the latest
20
- temp_file = Atk.temp_path("update_handler.rb")
21
- FS.download("https://raw.githubusercontent.com/aggie-tool-kit/atk-toolbox/master/lib/after_gem_update.rb", to: temp_file)
22
- system(Atk.paths["ruby"], temp_file)
23
- end
14
+ # #
15
+ # # right after gem install
16
+ # #
17
+ # Gem.post_install do
18
+ # post_version = Atk.version
19
+ # # download the latest
20
+ # temp_file = Atk.temp_path("update_handler.rb")
21
+ # FS.download("https://raw.githubusercontent.com/aggie-tool-kit/atk-toolbox/master/lib/after_gem_update.rb", to: temp_file)
22
+ # system(Atk.paths["ruby"], temp_file)
23
+ # end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atk_toolbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.124
4
+ version: 0.0.125
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Hykin