gocd_pre_push 2.0 → 2.0.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
  SHA256:
3
- metadata.gz: d5925d7af5d26d9d32842815ad7f7cb6e848b85b144f1fe9b6cd9def71f07efd
4
- data.tar.gz: c72e21c59f3fc372d00b36472fc928c7431cf6cf160fc1c8a5cced00a3818026
3
+ metadata.gz: '068dfd81a70a73f9c5860b97c0fffa8733c618c821ede35e6066ce953f9f15a9'
4
+ data.tar.gz: 07bbab7cdd314531a216317578b40ecb91b6861c7a3a28f5818a7b9973b35e2a
5
5
  SHA512:
6
- metadata.gz: 49e9556295eef2793d8021096b9bf97d3a808d14a9dc8b588d6c22e97c6864b451608e6173cac8234050b791928cd43c02ea6b7ea68844328c3fff6e79a2bc78
7
- data.tar.gz: afdc3fcc9e12d99396bac5667d96a8739cab810d603450be8b739ff71fe08784bd36f8fa7cecd028b91a4395b1b373f2b24b3ca07dcf98f37b463e716ab8ab1e
6
+ metadata.gz: 04fda6da6f5eeaf9f8c8a3627f364b6ababeb989ced6d6d1445fa8b8ca45bf54a54cccde6c6f6d15ec5a67c0acfebc1f651c1b9921c190e5837939b911cde458
7
+ data.tar.gz: 64a0345f570fc64205d437efbe7ddfe01e8a1a0386459fe5392fd57dbbb97d97bf30e71cc1bafc73f487306718be604cf1ea8d4e37034220d77dd774ca39c7bf
@@ -3,6 +3,11 @@ lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require_relative './lib/gocd_pre_push/version.rb'
5
5
 
6
+ Gem.pre_install do |installer|
7
+ require "gocd_pre_push"
8
+ GOCD_PRE_PUSH::Linker.new.symlink_git_hooks
9
+ end
10
+
6
11
  Gem::Specification.new do |s|
7
12
  s.name = 'gocd_pre_push'
8
13
  s.version = GOCD_PRE_PUSH::VERSION
@@ -1,3 +1,3 @@
1
1
  module GOCD_PRE_PUSH
2
- VERSION = '2.0'
2
+ VERSION = '2.0.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gocd_pre_push
3
3
  version: !ruby/object:Gem::Version
4
- version: '2.0'
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ajit Singh
@@ -60,7 +60,6 @@ files:
60
60
  - lib/gocd_pre_push/linker.rb
61
61
  - lib/gocd_pre_push/pretty_printer.rb
62
62
  - lib/gocd_pre_push/version.rb
63
- - lib/rubygems_plugin.rb
64
63
  - spec/gocd_pre_push/build_informer_spec.rb
65
64
  - spec/gocd_pre_push/build_officer_spec.rb
66
65
  - spec/gocd_pre_push/gocd_server_spec.rb
@@ -1,7 +0,0 @@
1
- require 'rubygems'
2
- require 'bundler'
3
- require_relative 'gocd_pre_push/linker'
4
-
5
- Gem.post_install do |_installer|
6
- GOCD_PRE_PUSH::Linker.new.symlink_git_hooks
7
- end