yake 1.1.0 → 1.1.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: fc13e0e5293f2878eedbe89a7e9aa132d72d478751a5d5f159b28ee579d97d59
4
- data.tar.gz: 29fe7d819734aec8b28b27b30eca18340e37ba59bb24b705efcf3e036ba46479
3
+ metadata.gz: 9270afa71781bae2db5140a0c060fc361301c2c975fe25d877bf8be61c5b23aa
4
+ data.tar.gz: b65a6ca27e3e3bb9a0fa3698deac1e4ae434c10e359f3c5febbd2cf7e9612a64
5
5
  SHA512:
6
- metadata.gz: 8608775e85da8d706e49a066f2df7df9b133f672cedbb3bb226d7854c48fedec84e45887c92b173fb7be71de5b274a6aa1737cebd7f69dfb87f29f85f9c547e6
7
- data.tar.gz: 0b746f99b54c0428ff20feb7083aca5addb6479ce395c6fe0d26e20d20fd2973a650a5acc2ad38ab38dc2735b116f144f1e755700222335ed7cc80b7392a4b3b
6
+ metadata.gz: 9c863de9801407df3810927502358018e1f03c7c6b353e6f531edc82b3a4bebcb11d8ec4b7a48cdaf3982dcca162f5888e4a8b570887c3fedfff878195f89b7d
7
+ data.tar.gz: 0b23a97b5c6b0231c9b62da4b5bdbf1970c44c8f5889d2b011810b78d0f78191b544e74d2e8f55b6808d06033d92119988e2efcdd0b622c358cdd7f8938fa97a
data/lib/yake/support.rb CHANGED
@@ -117,12 +117,12 @@ end
117
117
 
118
118
  class String
119
119
  def /(path) = File.join(self, path.to_s)
120
- def camel_case = split(/_/).map(&:capitalize).join
120
+ def camel_case = split(/[_ ]/).map(&:capitalize).join
121
121
  def decode64 = self.unpack1('m')
122
122
  def encode64 = [self].pack('m')
123
123
  def md5sum = Digest::MD5.hexdigest(self)
124
124
  def sha1sum = Digest::SHA1.hexdigest(self)
125
- def snake_case = gsub(/([a-z])([A-Z])/, '\1_\2').downcase
125
+ def snake_case = gsub(/([a-z])([A-Z])/, '\1_\2').gsub(/ /, '_').downcase
126
126
  def strict_decode64 = self.unpack1('m0')
127
127
  def strict_encode64 = [self].pack('m0')
128
128
  def to_dynamodb = { S: self }
data/lib/yake/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Yake
4
- VERSION = '1.1.0'
4
+ VERSION = '1.1.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yake
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Mancevice
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-23 00:00:00.000000000 Z
11
+ date: 2024-10-15 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email:
@@ -46,7 +46,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  requirements: []
49
- rubygems_version: 3.5.3
49
+ rubygems_version: 3.5.16
50
50
  signing_key:
51
51
  specification_version: 4
52
52
  summary: Rake-like DSL for declaring AWS Lambda function handlers