palenque 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 +4 -4
- data/.travis.yml +5 -0
- data/README.md +6 -1
- data/lib/palenque/version.rb +1 -1
- data/palenque.gemspec +1 -1
- data/spec/palenque_spec.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8fc1ec453500fc08473d113dc06eb5cd76f1a0d4
|
4
|
+
data.tar.gz: 69b5a8640f18702f28c0a1c70aff01afeaee6a4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54cdc5b4439231673105c506cbdd8c07fc42378b6a05dd6e73d21f25fd0282097170ccacd8faead83eff1253efa565dcb74d63f0a7035b0c8f01a3aaca2a94ca
|
7
|
+
data.tar.gz: b8f91dc5b281d575905beb80dba43e652d602a1aaf4abb32679c07261a22dfe936ef60c4bd24527d879c3ef2d442c0932499caa3cff6ebf5411c6ca434052534
|
data/.travis.yml
ADDED
data/README.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
# Palenque
|
2
2
|
|
3
|
-
|
3
|
+
[](https://travis-ci.org/sebasoga/palenque)
|
5
|
+
[](https://codeclimate.com/github/sebasoga/palenque)
|
7
|
+
|
8
|
+
Tiny library to check if an Integer or String is palindrome.
|
4
9
|
|
5
10
|
This was done as part of a short presentation at the [Bogota Ruby Meetup](http://www.meetup.com/bogota-ruby-meetup/events/153932032/) about creating Ruby Gems, slides are [here](https://speakerdeck.com/sebasoga/building-a-ruby-gem).
|
6
11
|
|
data/lib/palenque/version.rb
CHANGED
data/palenque.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = Palenque::VERSION
|
9
9
|
spec.authors = ["Sebastian Sogamoso"]
|
10
10
|
spec.email = ["sebasoga@gmail.com"]
|
11
|
-
spec.description = %q{Checks if an Integer or a
|
11
|
+
spec.description = %q{Checks if an Integer or a String object is palindrome}
|
12
12
|
spec.summary = %q{Recevies any object, if the object is an Integer or a String it checks whether it is palindrome or not }
|
13
13
|
spec.homepage = "https://github.com/sebasoga/palenque"
|
14
14
|
spec.license = "MIT"
|
data/spec/palenque_spec.rb
CHANGED
@@ -33,7 +33,7 @@ describe Palenque do
|
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
-
context "when the argument is not a String" do
|
36
|
+
context "when the argument is not a String or an Integer" do
|
37
37
|
it "returns false" do
|
38
38
|
expect(Palenque.palindrome? [1, 2, 3]).to be_false
|
39
39
|
expect(Palenque.palindrome? nil).to be_false
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: palenque
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastian Sogamoso
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-12-
|
11
|
+
date: 2013-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -52,7 +52,7 @@ dependencies:
|
|
52
52
|
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '2.14'
|
55
|
-
description: Checks if an Integer or a
|
55
|
+
description: Checks if an Integer or a String object is palindrome
|
56
56
|
email:
|
57
57
|
- sebasoga@gmail.com
|
58
58
|
executables: []
|
@@ -62,6 +62,7 @@ files:
|
|
62
62
|
- .gitignore
|
63
63
|
- .rspec
|
64
64
|
- .ruby-version
|
65
|
+
- .travis.yml
|
65
66
|
- Gemfile
|
66
67
|
- LICENSE.md
|
67
68
|
- README.md
|