kamelcase 0.0.0 → 0.0.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
  SHA1:
3
- metadata.gz: a4f034cc7bda12c1cd8ced2b678fd640f5c2237a
4
- data.tar.gz: abf59bb16f6dcbb4c92250cdbed0e2f87a54e87a
3
+ metadata.gz: f3bf532844f69a2b7ae4822afd87e2822cf90d19
4
+ data.tar.gz: cf023d2e33378e354ffb31c74a3ec5ac48042222
5
5
  SHA512:
6
- metadata.gz: af62f6454d00139c176a9ebf8282bcae150ad001055399754b50ead0f8d16840f7bf52d91df28a54310559ae19f376f45b8204a510771ecf887c15511ef95ed3
7
- data.tar.gz: e97485b436f6821d5893995674cd0589e0e2355f69fb3f39fa1f917f8ad19c804865e5c76bc0bdc3bce8dd9f926d622939b390e3c7ce541481650c933b4d1b8f
6
+ metadata.gz: 73444907fc33cc79f90778a77512940338dbba9578dc83dc557ed5fc664cbaf0c27e39e5d1a4e8befc6e6babb37746acdc55c9f15ac64137238a2f2cea80492e
7
+ data.tar.gz: df30a8669dcce25849fc52b6ec99ef417fbf960851d94d7f26bb6e2df0ddce03d68edce4c060a581d865a9de5425f4ef0252ba0d5ccbaa8650917faef3c2cb4d
data/.semver CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 0
4
- :patch: 0
4
+ :patch: 1
5
5
  :special: ''
data/Gemfile.lock CHANGED
@@ -26,28 +26,31 @@ GEM
26
26
  highline (1.7.8)
27
27
  interception (0.5)
28
28
  json (1.8.6)
29
- juwelier (2.4.0)
29
+ juwelier (2.4.6)
30
30
  builder
31
31
  bundler (>= 1.13)
32
32
  git (>= 1.2.5)
33
33
  github_api
34
34
  highline (>= 1.6.15)
35
+ kamelcase (~> 0)
35
36
  nokogiri (>= 1.5.10)
36
37
  psych (~> 2.2)
37
38
  rake
38
39
  rdoc
39
40
  semver2
40
41
  jwt (1.5.6)
42
+ kamelcase (0.0.0)
43
+ semver2 (~> 3)
41
44
  method_source (0.8.2)
42
45
  mime-types (2.99.3)
43
- mini_portile2 (2.1.0)
46
+ mini_portile2 (2.2.0)
44
47
  multi_json (1.12.1)
45
48
  multi_xml (0.6.0)
46
49
  multipart-post (2.0.0)
47
- nokogiri (1.7.1)
48
- mini_portile2 (~> 2.1.0)
49
- oauth2 (1.3.1)
50
- faraday (>= 0.8, < 0.12)
50
+ nokogiri (1.8.0)
51
+ mini_portile2 (~> 2.2.0)
52
+ oauth2 (1.4.0)
53
+ faraday (>= 0.8, < 0.13)
51
54
  jwt (~> 1.0)
52
55
  multi_json (~> 1.3)
53
56
  multi_xml (~> 0.5)
@@ -72,7 +75,7 @@ GEM
72
75
  binding_of_caller (>= 0.7)
73
76
  pry (>= 0.9.11)
74
77
  psych (2.2.4)
75
- rack (2.0.2)
78
+ rack (2.0.3)
76
79
  rake (12.0.0)
77
80
  rdoc (3.12.2)
78
81
  json (~> 1.4)
@@ -94,7 +97,7 @@ GEM
94
97
  docile (~> 1.1.0)
95
98
  json (>= 1.8, < 3)
96
99
  simplecov-html (~> 0.10.0)
97
- simplecov-html (0.10.0)
100
+ simplecov-html (0.10.1)
98
101
  slop (3.6.0)
99
102
  thread_safe (0.3.6)
100
103
  yard (0.9.9)
data/README.org CHANGED
@@ -26,6 +26,7 @@
26
26
  puts s.camel.snake # little_green_men
27
27
  puts s.snake.camel # LittleGreenMen
28
28
  puts s.snake.camel_lower # littleGreenMen
29
+ puts s.nuke('it') # lle green men
29
30
  #+end_src
30
31
 
31
32
  ** Contributing to kamelcase
data/kamelcase.gemspec CHANGED
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: kamelcase 0.0.0 ruby lib
5
+ # stub: kamelcase 0.0.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "kamelcase".freeze
9
- s.version = "0.0.0"
9
+ s.version = "0.0.1"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
13
13
  s.authors = ["Fred Mitchell".freeze]
14
- s.date = "2017-05-09"
14
+ s.date = "2017-06-16"
15
15
  s.description = "This is a -- yet another -- super-simple monkeypatch of the\n String class to offer both camelCase and snake_case.".freeze
16
16
  s.email = "fred.mitchell@gmx.de".freeze
17
17
  s.extra_rdoc_files = [
data/lib/kamelcase.rb CHANGED
@@ -18,4 +18,8 @@ class String
18
18
  tr(' ', '_').
19
19
  downcase
20
20
  end
21
+
22
+ def nuke chars
23
+ self.tr(chars, '')
24
+ end
21
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kamelcase
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fred Mitchell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-09 00:00:00.000000000 Z
11
+ date: 2017-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: semver2