rusky 0.1.2 → 0.1.3

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: d20b04413d99a1a1c2e9d08398fad340ee6aaa6c
4
- data.tar.gz: 2c3f23d49d85ce6a6f05f4b44753c083bcf1c348
3
+ metadata.gz: df3aa342ba13d0944def81bba2cc1cba8d3e77ab
4
+ data.tar.gz: ea7f33e03538cfc6ec192c784d376c518495bf17
5
5
  SHA512:
6
- metadata.gz: f4d9573e2866fa2f4ef68e5cbe1d93c9201a4312caded0bc6ec7a54e1ed283e3299b1bd1bde9e22920e1279e887263d6e58fd53c1492c8f277e27719dc0b139e
7
- data.tar.gz: 9dc75abaaa0883a333f010171eb9a8221c4219db17b7fd70f54425d16ab9e324174e0373497bb693196e8ccb14ac2cf4d85027d20e0510992c649918547d131d
6
+ metadata.gz: d04613960f789fa70be3a76154bcdd57f6d96cbfa3c6b644da9f6251dd23f54068a0c0d5bcdb65aa6e340128addb21b504c40e2ba4a397fca66c19c31ca8ddf3
7
+ data.tar.gz: 547e587628bfe538730ea08b14a2f3038acfdfb4e52d02a25a6d92ddbd28c5d7a35071483da9312628f83279948562bd38004a3f2acb627ecf971fb1edd88301
data/lib/rusky/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Rusky
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
data/rusky.gemspec CHANGED
@@ -3,6 +3,22 @@ lib = File.expand_path("../lib", __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require "rusky/version"
5
5
 
6
+ Gem.post_install do |installer|
7
+ require "rusky"
8
+
9
+ Rusky.install
10
+ puts installer.inspect
11
+ puts installer.instance_variable_get(:gem_dir)
12
+ end
13
+
14
+ Gem.pre_uninstall do |uninstaller|
15
+ require "rusky"
16
+
17
+ Rusky.uninstall
18
+ puts uninstaller.inspect
19
+ puts installer.instance_variable_get(:gem_dir)
20
+ end
21
+
6
22
  Gem::Specification.new do |spec|
7
23
  spec.name = "rusky"
8
24
  spec.version = Rusky::VERSION
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rusky
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - ohbarye
@@ -70,7 +70,6 @@ files:
70
70
  - Rakefile
71
71
  - bin/console
72
72
  - bin/setup
73
- - lib/rubygems_plugin.rb
74
73
  - lib/rusky.rb
75
74
  - lib/rusky/callback.rb
76
75
  - lib/rusky/version.rb
@@ -1,11 +0,0 @@
1
- require 'rusky'
2
-
3
- Gem.post_install do |installer|
4
- Rusky.install
5
- puts installer.inspect
6
- end
7
-
8
- Gem.pre_uninstall do |uninstaller|
9
- Rusky.uninstall
10
- puts uninstaller.inspect
11
- end