breezer 0.7.3 → 0.7.5

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: e55a1de81c8fff6777cfab781d875fcaf8c29e270a51203c74b9f1d263abc8f6
4
- data.tar.gz: da017654e6c573fb38744d241012fd71cf8f253119a9f0a96d3d7162bea9cec8
3
+ metadata.gz: b48a058a44090d39e91df0ae3cfda2498eceed5360757e11662c0efdcc6371a6
4
+ data.tar.gz: 8e76dd21e7246a36160b3a6652eb6408a7e8994e8d297a783f00d98dc525b89e
5
5
  SHA512:
6
- metadata.gz: c550d787c69ee714247a88b080519a3cd630a499ff1799d2bdcd6d0fc9ffff1ab3db3924d0920089ed7cfadafe6744f8c6218a8b62ee01140ba2185e25b5710a
7
- data.tar.gz: d88d24b54f6c4a44ddab2987adebf58fa4a65b7717e9fe23fce52297eb3f8d141e243a1e1811c7af86261131ccc7ca48f3aff29333fba5b7a92249d0e3e2eced
6
+ metadata.gz: deb6954feeb4674ed00d892abf60640e4f4b77ec7c5034f55b53f39573ab10d8ea716cfd44b3880b0f1b4227e1707c70551b7be6f2cfcebcdf9c73f22ef1c5b2
7
+ data.tar.gz: e1f2304a85e85a322404d6f1b0adf2f3908cb5ec6799c47abdef29f3e5ee16b6a9d6469261a64dfcb43a05429db067c977f4b6d203f2535804c826a42c79d534
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- breezer (0.7.3)
4
+ breezer (0.7.5)
5
5
  bundler (> 1.0)
6
6
 
7
7
  GEM
data/breezer.gemspec CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  # rubocop:todo Gemspec/RequiredRubyVersion
4
4
  $LOAD_PATH.push File.expand_path('lib', __dir__)
5
+
5
6
  require 'breezer/version'
6
7
 
7
8
  Gem::Specification.new do |s|
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Breezer
4
- VERSION = '0.7.3'
4
+ VERSION = '0.7.5'
5
5
  end
data/plugins.rb CHANGED
@@ -1,20 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler'
4
+ require 'breezer'
5
+
1
6
  # This is the plugin for bundler
2
7
  class Breezer < Bundler::Plugin::API
3
8
  # Register this class as a handler for the `my_command` command
4
- command "freeze"
9
+ command 'freeze'
5
10
 
6
11
  # The exec method will be called with the `command` and the `args`.
7
12
  # This is where you should handle all logic and functionality
8
- def exec(command, args)
9
- puts "You called " + command + " with args: " + args.inspect
13
+ def exec(_command, args)
14
+ r = Breezer::Command.run!(args)
15
+ exit(r == false ? 2 : 0)
10
16
  end
11
17
  end
12
18
 
13
19
  # #!/usr/bin/env ruby
14
- # # frozen_string_literal: true
15
20
 
16
- # require 'bundler'
17
- # require 'breezer'
18
21
 
19
22
  # r = Breezer::Command.run!(ARGV)
20
23
  # exit(r == false ? 2 : 0)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: breezer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - André Aubin