awrence 3.0.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (6) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +1 -1
  3. data/README.md +3 -5
  4. data/Rakefile +4 -24
  5. data/VERSION +1 -1
  6. metadata +4 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e5c2e28c418ddf4a29fb3a7f6fcb22bffcf3ef89b5e6e438af0eacca002973ab
4
- data.tar.gz: 64939e8d128b9392ea8eaf7128eb9beda1712662bf2e5c6dd2652b9be4aa21d7
3
+ metadata.gz: 9c41b072f03a3b3484f926ad945bab3d38cc6ddccf981b33182c71a7f93f6a6e
4
+ data.tar.gz: '0139978ece93181ea6d36a10107fda520244a2f139a3ca68f001e0dccb731e37'
5
5
  SHA512:
6
- metadata.gz: 462a73e5ecdab3f058b3fcd1ac57d67eb4ee1441438d3cf71e52988e53562ae0ba604ba6960a2651e2989bc2cfb3e2fb5b10a8d64e4ac84bb1f3cec004dec5d4
7
- data.tar.gz: 4fde555b0c91bf205892cacb531293a5c3953f0688b6d464de27e6de1e2522712884cf47fee3af18fbce50ef54a30de47230a10a49a290bf03031eece0a467f6
6
+ metadata.gz: 4a8943092414f5cb06684e31041712ce46fffc57d9415fd223b8abfc17c084d2277ac76299fb7d793f5eb4472c9098c2267e23917c86961c5047c02ddcc174e7
7
+ data.tar.gz: 8d3ace405f28ea13bd7affea780ef558cbee692092fdbb5726df051960d8794979fde3088db1564a3d18c403b9bd0ab8b44d2328f3650b6f1a01a799595d0b93
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2023 Technical Panda Ltd
1
+ Copyright (c) 2025 Technical Panda Ltd
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [![Gem Version](https://badge.fury.io/rb/awrence.svg)](https://badge.fury.io/rb/awrence)
4
4
  ![CI](https://github.com/technicalpanda/awrence/workflows/CI/badge.svg)
5
5
 
6
- Have you ever needed to automatically convert Rubyish `snake_case` to JSON-style `camelBack` or `CamelCase` hash keys?
6
+ Have you ever needed to automatically convert Rubyish `snake_case` to JSON-style `camelBack` or `CamelCase` hash keys?
7
7
 
8
8
  Awrence to the rescue!
9
9
 
@@ -11,9 +11,7 @@ This gem recursively converts all snake_case keys in a hash structure to camelBa
11
11
 
12
12
  ## Requirements
13
13
 
14
- * Ruby >= 3.0
15
-
16
- For Ruby < 3.0 use version 2.0.1
14
+ * Ruby >= 3.2
17
15
 
18
16
  ## Installation
19
17
 
@@ -79,7 +77,7 @@ camel_hash = my_hash.to_camelback_keys
79
77
  # Going the other way
80
78
 
81
79
  If you've already got `CamelCase` and need to `snake_case` it, you are encouraged to try
82
- the [Plissken](http://github.com/futurechimp/plissken) gem.
80
+ the [Plissken](http://github.com/technicalpanda/plissken) gem.
83
81
 
84
82
  ## Contributing
85
83
 
data/Rakefile CHANGED
@@ -1,30 +1,10 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- begin
4
- require "bundler/setup"
5
- rescue LoadError
6
- puts "You must `gem install bundler` and `bundle install` to run rake tasks"
7
- end
8
-
9
- require "rdoc/task"
10
-
11
- RDoc::Task.new(:rdoc) do |rdoc|
12
- rdoc.rdoc_dir = "rdoc"
13
- rdoc.title = "Awrence"
14
- rdoc.options << "--line-numbers"
15
- rdoc.rdoc_files.include("README.md")
16
- rdoc.rdoc_files.include("lib/**/*.rb")
17
- end
18
-
19
3
  require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
20
5
 
21
- require "rake/testtask"
22
-
23
- Rake::TestTask.new(:test) do |t|
24
- t.libs << "lib"
25
- t.libs << "test"
26
- t.pattern = "test/**/*_test.rb"
27
- t.verbose = false
6
+ RSpec::Core::RakeTask.new(:spec) do |t|
7
+ t.pattern = Dir.glob("spec/**/*_spec.rb")
28
8
  end
29
9
 
30
- task default: :test
10
+ task default: :spec
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.0
1
+ 5.0.0
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awrence
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 5.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Hrycyszyn
8
8
  - Stuart Chinery
9
- autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2024-05-06 00:00:00.000000000 Z
11
+ date: 1980-01-02 00:00:00.000000000 Z
13
12
  dependencies: []
14
13
  description: |-
15
14
  Have you ever needed to automatically convert Ruby-style snake_case to CamelCase or camelBack hash keys?
@@ -38,7 +37,6 @@ licenses:
38
37
  - MIT
39
38
  metadata:
40
39
  rubygems_mfa_required: 'true'
41
- post_install_message:
42
40
  rdoc_options: []
43
41
  require_paths:
44
42
  - lib
@@ -46,15 +44,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
46
44
  requirements:
47
45
  - - ">="
48
46
  - !ruby/object:Gem::Version
49
- version: '3.0'
47
+ version: '3.3'
50
48
  required_rubygems_version: !ruby/object:Gem::Requirement
51
49
  requirements:
52
50
  - - ">="
53
51
  - !ruby/object:Gem::Version
54
52
  version: '0'
55
53
  requirements: []
56
- rubygems_version: 3.5.9
57
- signing_key:
54
+ rubygems_version: 4.0.10
58
55
  specification_version: 4
59
56
  summary: Camelize your snake keys when working with JSON APIs
60
57
  test_files: []