lh_string_thing 0.1.0 → 0.3.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.
- checksums.yaml +4 -4
- data/Gemfile.lock +35 -0
- data/lh_string_thing-0.1.0.gem +0 -0
- data/lib/lh_string_thing.rb +4 -2
- data/lib/lh_string_thing/version.rb +1 -1
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c175d544e7e88b8191357724a9e1e549ceee4dc40e037d66e6f052eca4bb147a
|
4
|
+
data.tar.gz: 7c523da8483df200cbb1f5a0d5eb421542cac2ae57ce4c974b7aa3207db67937
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0b62495b7729bef8d1db35ee9efb70167ddaa6ec5534890ce2f27c5a6fa3b9b18c454fe1fe9654d26c4ac515fa1cb59bf8198462d552a8e5856c14b81890976
|
7
|
+
data.tar.gz: 842619791b2893bb390b572af767f0167c7a1e272b9a50b8ae53ce5f87d196301d86e4738469121b217df2d419e0b8b976cea0ab1da784d15ad81d43a514962f
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
lh_string_thing (0.1.0)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: https://rubygems.org/
|
8
|
+
specs:
|
9
|
+
diff-lcs (1.3)
|
10
|
+
rake (10.5.0)
|
11
|
+
rspec (3.7.0)
|
12
|
+
rspec-core (~> 3.7.0)
|
13
|
+
rspec-expectations (~> 3.7.0)
|
14
|
+
rspec-mocks (~> 3.7.0)
|
15
|
+
rspec-core (3.7.1)
|
16
|
+
rspec-support (~> 3.7.0)
|
17
|
+
rspec-expectations (3.7.0)
|
18
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
19
|
+
rspec-support (~> 3.7.0)
|
20
|
+
rspec-mocks (3.7.0)
|
21
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
22
|
+
rspec-support (~> 3.7.0)
|
23
|
+
rspec-support (3.7.1)
|
24
|
+
|
25
|
+
PLATFORMS
|
26
|
+
ruby
|
27
|
+
|
28
|
+
DEPENDENCIES
|
29
|
+
bundler (~> 1.16)
|
30
|
+
lh_string_thing!
|
31
|
+
rake (~> 10.0)
|
32
|
+
rspec (~> 3.0)
|
33
|
+
|
34
|
+
BUNDLED WITH
|
35
|
+
1.16.1
|
Binary file
|
data/lib/lh_string_thing.rb
CHANGED
@@ -5,7 +5,7 @@ module LhStringThing
|
|
5
5
|
str.split('').reverse.join('')
|
6
6
|
end
|
7
7
|
|
8
|
-
def self.casify
|
8
|
+
def self.casify(str)
|
9
9
|
to_case = [:upcase, :downcase]
|
10
10
|
arr = str.split('')
|
11
11
|
arr.each_with_index do |letter, i|
|
@@ -19,6 +19,8 @@ module LhStringThing
|
|
19
19
|
new_string = str
|
20
20
|
spaces.times do
|
21
21
|
new_string = new_string.split('').join(' ')
|
22
|
+
end
|
23
|
+
new_string
|
22
24
|
end
|
23
|
-
|
25
|
+
|
24
26
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lh_string_thing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Liz House
|
@@ -64,11 +64,13 @@ files:
|
|
64
64
|
- ".travis.yml"
|
65
65
|
- CODE_OF_CONDUCT.md
|
66
66
|
- Gemfile
|
67
|
+
- Gemfile.lock
|
67
68
|
- LICENSE.txt
|
68
69
|
- README.md
|
69
70
|
- Rakefile
|
70
71
|
- bin/console
|
71
72
|
- bin/setup
|
73
|
+
- lh_string_thing-0.1.0.gem
|
72
74
|
- lh_string_thing.gemspec
|
73
75
|
- lib/lh_string_thing.rb
|
74
76
|
- lib/lh_string_thing/version.rb
|