clir 0.24.0 → 0.24.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
  SHA256:
3
- metadata.gz: 2d53290b6d837c966b5f469f575ba98ab17aa2b56e436c723cc8c0e694263491
4
- data.tar.gz: 58b30552dc64a88a8f7e829bf99753703068b94c00d4e60fe5a275b785a24355
3
+ metadata.gz: 79e0a7675391de7c2b674bcfba994bfa6654cd45cb0e46a206eacf3f2b8eea01
4
+ data.tar.gz: 3703b9981c31cee92f0dae4e0552a888b6f6cf4cd8dbd8442bbeee0f679e4aa9
5
5
  SHA512:
6
- metadata.gz: c8081cb8a5214b8800462c1a998168b7f5b9813fa2d2534c4784fb687c3f9c777349ece07df4a4a244351af1975a30a31e1ba4db15b0b227a834491c15673968
7
- data.tar.gz: eeb5240cca755a5c8793f9367640b017a4bb83bbba07995fcd3a7eb85ceec37ef8dca3ecca75530207fb35b0d48101b912f0868316daae1bcafb8defffc98c1e
6
+ metadata.gz: 756c8aa8a23f9a2d97854afd51cbc2cc625d6a30f3705431fa1b0d653ef05834f9b277c1ddf9924c49d4581c3878306c14fff6a95074cd6b5b0435423afb1b79
7
+ data.tar.gz: 758e43d74bf1168f5b432d70b121d17065e0e942a2835455b631bc2e3bb5cc188f0a5c628a5c9276549355921cac523916c66f3bb950c575862713f75db6813a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ * 0.24.1
2
+
3
+ - (minor change) exposition de la méthode `version?`
4
+
1
5
  * 0.24.0
2
6
 
3
7
  - Ajout de `version?` qui permet de demande l’affichage de la version de l’application avec `<app> -v` ou `<app> --version`. L’application doit alors traiter la commande `version`.
@@ -16,6 +16,10 @@ def help?
16
16
  Clir::State.help?
17
17
  end
18
18
 
19
+ def version?
20
+ Clir::State.version?
21
+ end
22
+
19
23
  module Clir
20
24
  class State
21
25
  class << self
data/lib/clir/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Clir
2
- VERSION = "0.24.0"
2
+ VERSION = "0.24.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clir
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.0
4
+ version: 0.24.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philippe Perret