caveman 0.0.2 → 0.0.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1d08f61305702bdcff329d74a6141bb005e67d94
4
- data.tar.gz: f4f901ec583720d9fac2edcf328f8972d04f5138
3
+ metadata.gz: b45b8cc26919cc38fdb86f5a25ca7528be3dda94
4
+ data.tar.gz: 84a537519f224e56e7878eacc093da5d7784abd4
5
5
  SHA512:
6
- metadata.gz: 4215d48dd672aebbfbf1800d19700489d422d1a59aec0436c5a1d051c5afbf6668eabd250435dc8cd96d863d3b739bb6a2161480559f61727b636d8f86afa764
7
- data.tar.gz: b8a4dc7aed147c0cc65eb3e0a617c1235ff3676fcc1026be621896b98e94e42ef9421faa86da49b75494a1f05dcd6d0c3754b7d02643b2fa06d5aecf52350962
6
+ metadata.gz: cb0d6ae9a45bd791de5c1d70dfd2c0e4bf246c4c7d7babda8e7537921a2fc03a4603572b7af85d45d0898f6fb709a79c52f69ca4a90c7fad55f90415dc68e031
7
+ data.tar.gz: c053cb34152a176ca006a5c316cd4ba9d70f98022ba6f81e641ef9d0e50c66971169606a428ae0dc30699ea788b62f72db1bfb1bf5866a7c18aa191567edaced
data/caveman-0.0.2.gem ADDED
Binary file
data/lib/caveman.rb CHANGED
@@ -11,7 +11,7 @@ module Project
11
11
 
12
12
  def sub_string
13
13
  new_string = @input
14
- SUBSTITUTES.each {|word, replacement| new_string = new_string.gsub(word, replacement)}
14
+ SUBSTITUTES.each {|word, replacement| new_string = new_string.gsub(/\b#{word}\b/, replacement)}
15
15
  "grunt...#{new_string.downcase}"
16
16
  end
17
17
 
@@ -1,3 +1,3 @@
1
1
  module Caveman
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caveman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - ipc103
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-03 00:00:00.000000000 Z
11
+ date: 2015-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -53,6 +53,7 @@ files:
53
53
  - Rakefile
54
54
  - bin/caveman
55
55
  - caveman-0.0.1.gem
56
+ - caveman-0.0.2.gem
56
57
  - caveman.gemspec
57
58
  - lib/caveman.rb
58
59
  - lib/caveman/version.rb
@@ -81,3 +82,4 @@ signing_key:
81
82
  specification_version: 4
82
83
  summary: Takes any text and returns it how a caveman would say it.
83
84
  test_files: []
85
+ has_rdoc: