covered 0.16.6 → 0.16.7

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: ab80834ad5a14e4853e865768e7cc51eb38497904e62818e81ce3633ac9f43d2
4
- data.tar.gz: ce3a3757b0c08e8f6b09f8d0c3f7273a623ba293f9b56b81b4b5cff7662bf857
3
+ metadata.gz: 436b85ae993e96487c73e819e1e1e0757e7df176cd149a2955ba91a5ceee4783
4
+ data.tar.gz: d8cceb28e197c84eb2ea0ceb9408d767245aea73a5b869b323de204a97849ae2
5
5
  SHA512:
6
- metadata.gz: c46120d01cc5a48d365f9e3d9dadb39b9f4825b42aee8f667e3a1a3298439f114f5cb29d34cdcf282bb89f2a9982f756892dfd808e406971876e36cfe5028c12
7
- data.tar.gz: 58564662a71b2419a3ed02766614c0b26479702e8cb2d17e1efc0beb5b423b7444eb1b779f7ebc8f79fdf158e7f6ab4ce655af8bf75649fce2459d8f74e97c83
6
+ metadata.gz: fb36d29bf09e34801c9577ac71608588afb22555aaca848d704bebe98ced5bcd9dda4de0b040410c790851f8eeb6d73c485b469b648d944d9825671222bb0262
7
+ data.tar.gz: 44ab811435ed81468be3da0cfb2100a15d62f0e934e19708d4cf898cd7bf0b7ff1655c069e11f5b2a65e05e07e454ba6a3f9b0b597295cf4b7156fcbf4c8013d
checksums.yaml.gz.sig CHANGED
Binary file
@@ -117,8 +117,12 @@ module Covered
117
117
 
118
118
  private
119
119
 
120
- def snake_case(name)
121
- name.gsub(/(.+)(?=[A-Z\z])/){$1 + '_'}.downcase
120
+ def snake_case(string)
121
+ return string.gsub(/::/, '/').
122
+ gsub(/([A-Z]+)([A-Z][a-z])/,'\1_\2').
123
+ gsub(/([a-z\d])([A-Z])/,'\1_\2').
124
+ tr("-", "_").
125
+ downcase
122
126
  end
123
127
  end
124
128
 
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Covered
22
- VERSION = "0.16.6"
22
+ VERSION = "0.16.7"
23
23
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: covered
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.6
4
+ version: 0.16.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -41,7 +41,7 @@ cert_chain:
41
41
  Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
42
42
  voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
43
43
  -----END CERTIFICATE-----
44
- date: 2022-08-27 00:00:00.000000000 Z
44
+ date: 2022-08-28 00:00:00.000000000 Z
45
45
  dependencies:
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: async-rest
@@ -114,19 +114,19 @@ dependencies:
114
114
  - !ruby/object:Gem::Version
115
115
  version: '0'
116
116
  - !ruby/object:Gem::Dependency
117
- name: minitest
117
+ name: sus
118
118
  requirement: !ruby/object:Gem::Requirement
119
119
  requirements:
120
120
  - - "~>"
121
121
  - !ruby/object:Gem::Version
122
- version: '5.0'
122
+ version: '0.12'
123
123
  type: :development
124
124
  prerelease: false
125
125
  version_requirements: !ruby/object:Gem::Requirement
126
126
  requirements:
127
127
  - - "~>"
128
128
  - !ruby/object:Gem::Version
129
- version: '5.0'
129
+ version: '0.12'
130
130
  - !ruby/object:Gem::Dependency
131
131
  name: rspec
132
132
  requirement: !ruby/object:Gem::Requirement
metadata.gz.sig CHANGED
Binary file