charmkit 0.5.0 → 0.5.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: 10d0c25d8128a82b90918def008d8e908f528a09
4
- data.tar.gz: 146b5a09c853bddb9820ebeae3bd4c8d7cc1dcde
3
+ metadata.gz: cab89bb4367d2520c771adeccc76c45e4098adfc
4
+ data.tar.gz: 351e253c40b3dd3b8470bb54315e5acc76a61d67
5
5
  SHA512:
6
- metadata.gz: d295bc469620b0b36afae912684e2b0b782c6c93bb6b5c5dcb5598c4c4343fa1bac01d148cc2ff9c85c100ca4a65992d97910d51860a1f15f4d37e5ce377785e
7
- data.tar.gz: 94a75b3018d33c28df6f78253831f32c94f8f5a652d41fe86a6e5e10ade542d26e2ed42d549d2701f30181c8c23a4bfe75c14fe49ce22f6be9db3bd73e52e4e4
6
+ metadata.gz: 0aee6d94779fd83872a7d733a14b70b7bde72cc815e2a077a224d95aa6f6e5fe2968d0c72a68b956263044c2553803528d3ff360ae99ff8846a6565ab55a9433
7
+ data.tar.gz: 5889275117a7f500349ae48e1c17758015419ab2ad3b4e305b33078327b8a07e4202993d286f61963e6eb489dfecb9241a2205d172d07fbd8ca5ac7196c3c0c4
@@ -1,13 +1,11 @@
1
1
  module Charmkit
2
2
  module Helpers
3
- module Crypt
4
- # Generate a password salt
5
- #
6
- # @param [Integer] min mininum number of characters
7
- # @param [Integer] max maximum number of characters
8
- def gen_salt(min=0, max=20)
9
- (min...max).map { ('a'..'z').to_a[rand(26)] }.join
10
- end
3
+ # Generate a password salt
4
+ #
5
+ # @param [Integer] min mininum number of characters
6
+ # @param [Integer] max maximum number of characters
7
+ def gen_salt(min=0, max=20)
8
+ (min...max).map { ('a'..'z').to_a[rand(26)] }.join
11
9
  end
12
10
  end
13
11
  end
@@ -6,7 +6,7 @@ module Charmkit
6
6
  module VERSION
7
7
  MAJOR = 0
8
8
  MINOR = 5
9
- PATCH = 0
9
+ PATCH = 1
10
10
  PRE = nil
11
11
 
12
12
  STRING = [MAJOR, MINOR, PATCH, PRE].compact.join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: charmkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Stokes