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 +4 -4
- data/Gemfile.lock +1 -1
- data/breezer.gemspec +1 -0
- data/lib/breezer/version.rb +1 -1
- data/plugins.rb +9 -6
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b48a058a44090d39e91df0ae3cfda2498eceed5360757e11662c0efdcc6371a6
|
4
|
+
data.tar.gz: 8e76dd21e7246a36160b3a6652eb6408a7e8994e8d297a783f00d98dc525b89e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: deb6954feeb4674ed00d892abf60640e4f4b77ec7c5034f55b53f39573ab10d8ea716cfd44b3880b0f1b4227e1707c70551b7be6f2cfcebcdf9c73f22ef1c5b2
|
7
|
+
data.tar.gz: e1f2304a85e85a322404d6f1b0adf2f3908cb5ec6799c47abdef29f3e5ee16b6a9d6469261a64dfcb43a05429db067c977f4b6d203f2535804c826a42c79d534
|
data/Gemfile.lock
CHANGED
data/breezer.gemspec
CHANGED
data/lib/breezer/version.rb
CHANGED
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
|
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(
|
9
|
-
|
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)
|