bobhr 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/bob/util.rb +1 -0
  3. data/lib/bob/version.rb +1 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7be7ee6eb8986610c73cb5b369e2ba00cdb23b1ab33762e470fe35f141ccb95e
4
- data.tar.gz: '08f8d8c2aed85d5d59bb68b269e0edbbaaa6c0d89b15613b7ed16c0b492e331f'
3
+ metadata.gz: 3b0bf74cdd6568f0a8e6cb6ce99e9c988926fdcd7ec82ff9a268f1a96798836f
4
+ data.tar.gz: 4fce330ba37ef3ec5f7961bd4b7f37cc86e369269b27b6b3a38f6f1dee2ff6b9
5
5
  SHA512:
6
- metadata.gz: 463751142a4aaf1dd4112d38ac2f5849ff6b0228336a220ec61294e608639189674d2ef844cbc8ac6d88d4a93b6898240aadc5d01038916a79984306e0d7b6e2
7
- data.tar.gz: eea598bc6402bcf2c28ed741fcb574d395b4a617a6e1bd75194f0dd6449d22ea419b341122ac77e4753ee48d8e5904669763a71068986d6e3adb171c45354edc
6
+ metadata.gz: c2b7e2971d9ab457c6df69420a7d2e6a2c93761fdd39ad17200f9d02964e84e5e8f802142fd116dc8e38bf7738576a6c8e680595f3e6c8814131587e1a7f4c52
7
+ data.tar.gz: 905aef3136da6b26f180c62e573044cfa43ef12d1c085888b7d968d12a8861aff3d8c422f4b0861a53160649940677360ca5225fe88a6c826bfa3fac7b2c6201
data/lib/bob/util.rb CHANGED
@@ -15,6 +15,7 @@ module Bob
15
15
  word = camel_cased_word.to_s.gsub(/([A-Z\d]+)([A-Z][a-z])/, '\1_\2')
16
16
  word.gsub!(/([a-z\d])([A-Z])/, '\1_\2')
17
17
  word.tr!('-', '_')
18
+ word.tr!(' ', '_')
18
19
  word.downcase!
19
20
  word
20
21
  end
data/lib/bob/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bob
4
- VERSION = '0.5.1'
4
+ VERSION = '0.5.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bobhr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lien Van Den Steen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-07 00:00:00.000000000 Z
11
+ date: 2022-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  requirements: []
126
- rubygems_version: 3.2.31
126
+ rubygems_version: 3.3.7
127
127
  signing_key:
128
128
  specification_version: 4
129
129
  summary: Ruby gem for Bob API