strong_versions 0.1.0 → 0.1.1

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
  SHA1:
3
- metadata.gz: 0b2a89ed59746e5534ec6bfbccb3d8ed6fae8955
4
- data.tar.gz: 01bc60f0c62daa26773848f8b92ff8d560538b8b
3
+ metadata.gz: 781e63371b2ecd0953ea88bcf84ce8673fe1df2a
4
+ data.tar.gz: 39099e9c2c5f84bcb67150a7a2b0e6f84c613fb9
5
5
  SHA512:
6
- metadata.gz: fe632e15aaff1e7e79003d150752824a6b6027ab753b24cf1174d2adff17389f969d265bd54b1d659f0c21e1a9eac24898f54a2d0b4e6010cc0b24d863641bdc
7
- data.tar.gz: ea249ac4881ac37f25113d3d21dea282c1350f627fc093edecad95b40fd871c08830c32b7443f645833ca806c291ab20951f458ef45cdad1971bf12dbe3a3a50
6
+ metadata.gz: 81a2471b4847714f914b76368b4bce0a0f5f9f2859d999838158ccec69762e293e3e5443fabb5a633874002de4fc77e6946c2388a1ce7403499cd72da19fe2ee
7
+ data.tar.gz: ea2d11b94e7a6c4932bf3a2fd7bc3aa383756e5870ba1b0df6da1190ad374c56968d16f6bb99a7ced78f457e1934a6ceafea25ea6c0d51d64c6d58f7cdbe88a4
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module StrongVersions
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.1'
5
5
  end
@@ -3,5 +3,25 @@
3
3
  require 'strong_versions/version'
4
4
 
5
5
  module StrongVersions
6
- # Your code goes here...
6
+ module_function
7
+
8
+ def post_install_hooks
9
+ puts 'post install'
10
+ end
11
+
12
+ def post_build_hooks
13
+ puts 'post build'
14
+ end
15
+
16
+ def pre_install_hooks
17
+ puts 'pre-install'
18
+ end
7
19
  end
20
+
21
+ puts 'hmmm'
22
+ puts 'hmmm'
23
+ puts 'hmmm'
24
+ puts 'hmmm'
25
+ puts 'hmmm'
26
+ puts 'hmmm'
27
+ puts 'hmmm'
data/plugins.rb ADDED
@@ -0,0 +1,11 @@
1
+ require 'byebug'; byebug
2
+ class MyCommand < Bundler::Plugin::API
3
+ command 'my_command'
4
+ def exec(command, args)
5
+ require 'byebug'; byebug
6
+ end
7
+ end
8
+
9
+ Bundler::Plugin.add_hook('before-install-all') do |_d|
10
+ require 'byebug'; byebug
11
+ end
@@ -19,6 +19,7 @@ Gem::Specification.new do |spec|
19
19
  f.match(%r{^(test|spec|features)/})
20
20
  end
21
21
  end
22
+ p spec.files
22
23
 
23
24
  spec.bindir = 'bin'
24
25
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strong_versions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Farrell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-25 00:00:00.000000000 Z
11
+ date: 2018-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -87,6 +87,7 @@ files:
87
87
  - bin/setup
88
88
  - lib/strong_versions.rb
89
89
  - lib/strong_versions/version.rb
90
+ - plugins.rb
90
91
  - strong_versions.gemspec
91
92
  homepage: https://github.com/bobf/strong_versions
92
93
  licenses: []