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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: df51a2868e8b8155f5a3659b132b08520fe3e4de
4
- data.tar.gz: a1ff75df187d2ef1aa0253a6b9e9f72f1f121e2c
3
+ metadata.gz: 8fc1ec453500fc08473d113dc06eb5cd76f1a0d4
4
+ data.tar.gz: 69b5a8640f18702f28c0a1c70aff01afeaee6a4e
5
5
  SHA512:
6
- metadata.gz: 61a335146fb8d0dccf6213192259c7665ae95bb84e4cc64aa7ef6634782f616898fb1f4084f5d7d06159639a10416de30180aa84c305ff222643787488f8987f
7
- data.tar.gz: f501f48cde86077e0c37c147e9bef829fdebe62b569f51ed7c8286acb22ed7c01ffb439d6cbaa44d688a3a3b7f4efcd6e1e1ad1d365c6fb6f4a9f827b982b062
6
+ metadata.gz: 54cdc5b4439231673105c506cbdd8c07fc42378b6a05dd6e73d21f25fd0282097170ccacd8faead83eff1253efa565dcb74d63f0a7035b0c8f01a3aaca2a94ca
7
+ data.tar.gz: b8f91dc5b281d575905beb80dba43e652d602a1aaf4abb32679c07261a22dfe936ef60c4bd24527d879c3ef2d442c0932499caa3cff6ebf5411c6ca434052534
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
4
+ - 2.0.0
5
+ - jruby-head
data/README.md CHANGED
@@ -1,6 +1,11 @@
1
1
  # Palenque
2
2
 
3
- Tiny library to check is an Integer or String is palindrome.
3
+ [![Build
4
+ Status](https://travis-ci.org/sebasoga/palenque.png?branch=master)](https://travis-ci.org/sebasoga/palenque)
5
+ [![Code
6
+ Climate](https://codeclimate.com/github/sebasoga/palenque.png)](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
 
@@ -1,3 +1,3 @@
1
1
  module Palenque
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
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 Stting object is palindrome}
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"
@@ -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.2
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-13 00:00:00.000000000 Z
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 Stting object is palindrome
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