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 +4 -4
- data/lib/yake/support.rb +2 -2
- data/lib/yake/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9270afa71781bae2db5140a0c060fc361301c2c975fe25d877bf8be61c5b23aa
|
4
|
+
data.tar.gz: b65a6ca27e3e3bb9a0fa3698deac1e4ae434c10e359f3c5febbd2cf7e9612a64
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
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.
|
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-
|
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.
|
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
|