rusty_camel 1.0.3 → 1.0.4

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 (4) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +25 -0
  4. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9b86c8946cae5e61fa6b8757537deeca5ce6c77e
4
- data.tar.gz: bae51bfcc8b98590c5621717f2be9942b4635baf
3
+ metadata.gz: 67f97de93b74cec966522bfe75d877649f6baeff
4
+ data.tar.gz: f171e26e4551f1a8e78f07ea880148bfc7ca068c
5
5
  SHA512:
6
- metadata.gz: 202a7fdb3fe2a95bde2d80b312f67434e4abdd7f0f3c76bdd9ae3bc0c4f7f307af38d05ae5604c2a2edddf52ec7e8d163628d2e8d0f9d5b2963aa8f236e3a561
7
- data.tar.gz: 7c7cc074ab5126ad4e448b74530543d3758f85d4205732630dbd9a8e0587ec05d1dfcfcf2a72a995853a1851c24e4ca3018a34b39101f8b316249f1cd2b0e25a
6
+ metadata.gz: ccade52f78a2fd77a4fa8b431ab070e5a204e2ea96d8dd36339b364a7c8f23647fd8cae1377be6bebf2b003f961c3c7167e63f5b16993dec476793ff85e327f7
7
+ data.tar.gz: fab45a774cdf4bffe9dcb282a4cc149d508a6fae2fcbb68b6c7cbaf29f9ab084e313716242e131b4c9a688b973ccec8a37ca5c8da6f8772643c637820198b199
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rusty_camel (1.0.2)
4
+ rusty_camel (1.0.4)
5
5
  helix_runtime (~> 0.5.0)
6
6
 
7
7
  GEM
@@ -0,0 +1,25 @@
1
+ # Rusty Camel
2
+ Ruby snake to camel in rust
3
+
4
+ ### Example
5
+ ``` ruby
6
+ require 'rusty_camel'
7
+
8
+ "some_snake_case_string".camelcase
9
+ "someCamelCaseString".snakecase
10
+
11
+ ```
12
+
13
+ ### Benchmark
14
+ Converting 50k rails accounts in json format
15
+ ```
16
+ To camel case
17
+ user system total real
18
+ Rust 0.970000 0.080000 1.050000 ( 1.056655)
19
+ Ruby 9.940000 0.360000 10.300000 ( 10.363646)
20
+
21
+ To snake case
22
+ user system total real
23
+ Rust 1.100000 0.100000 1.200000 ( 1.208300)
24
+ Ruby 10.960000 0.430000 11.390000 ( 11.404156)
25
+ ```
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rusty_camel
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Squiidz
@@ -34,11 +34,12 @@ files:
34
34
  - Cargo.toml
35
35
  - Gemfile
36
36
  - Gemfile.lock
37
+ - README.md
37
38
  - Rakefile
38
39
  - lib/rusty_camel.rb
39
40
  - lib/rusty_camel/native.bundle
40
41
  - lib/tasks/helix_runtime.rake
41
- homepage:
42
+ homepage: https://github.com/squiidz/rusty_camel
42
43
  licenses: []
43
44
  metadata: {}
44
45
  post_install_message: