inquisitive_alex 0.0.3 → 0.1.0

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: 91e80b939e3a4f09470a90e4df4d21f97a38b28e
4
- data.tar.gz: 0c288685c07406a455f8db1d3f0d3c884952c4f7
3
+ metadata.gz: 5bad195b080f432cb1a9f9e08aa5307be0f132e4
4
+ data.tar.gz: 5bf2ce58f2520e1c618e549d3e7884124b5038c6
5
5
  SHA512:
6
- metadata.gz: a2e3d16cede044212097f84233a3882c7afe5aade1b8d9b03e110a0570d890275bc68e08eed81d67c0f520460a2bf8e356e1ecc62f78062faad3341302959441
7
- data.tar.gz: 9efaad2123b5d7f73414d31fd038a48ff979610adffec38b70bf42e4474e70c23a6b46e23e64e820e565ce5016a247563ad8c7a47028f04ab70d57c30c57db08
6
+ metadata.gz: 70c352396baed85d9caa96e964a2f78cf4e2b33c91e0071cfe288017a0a02efdd05de772b2c06310f1e9db68ce6d5369a7631b4f3967ba5e02429d52efa5cf74
7
+ data.tar.gz: ded7eb6d52f5021a145ff66b36203c34171f4287670832fe6675e4fdbe2d2b3e546f4d11ac4a9a9a95ed6fc1e10a615a7d3ecb898b5d34f03bd6f22f2f34f8a0
data/README.md CHANGED
@@ -22,12 +22,6 @@ Or install it yourself as:
22
22
 
23
23
  ````
24
24
  $ ruby
25
- > require 'inquisitive_alex'
26
- > class Alex
27
- > include InquisitiveAlex
28
- > end
29
- > alex = Alex.new
30
- > alex.tell
31
25
  ````
32
26
 
33
27
  ## Contributing
@@ -1,3 +1,3 @@
1
- module InquisitiveAlex
2
- VERSION = "0.0.3"
1
+ class InquisitiveAlex
2
+ VERSION = "0.1.0"
3
3
  end
@@ -1,9 +1,11 @@
1
1
  require_relative "inquisitive_alex/version"
2
2
 
3
- module InquisitiveAlex
3
+ class InquisitiveAlex
4
4
 
5
- def tell
6
- "Stop asking questions, Alex."
5
+ def self.tell
6
+ %x(say "Stop asking questions, Alex.")
7
7
  end
8
8
 
9
9
  end
10
+
11
+ InquisitiveAlex.tell
@@ -1,13 +1,10 @@
1
1
  require 'spec_helper'
2
2
 
3
- class Alex; include InquisitiveAlex; end
4
-
5
3
  describe InquisitiveAlex do
6
4
 
7
- let(:alex){Alex.new}
8
-
9
5
  it 'should print a phrase' do
10
- expect(alex.tell).to eq 'Stop asking questions, Alex.'
6
+ expect(InquisitiveAlex).to receive(:`).with('say "Stop asking questions, Alex."')
7
+ InquisitiveAlex.tell
11
8
  end
12
9
 
13
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inquisitive_alex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Giles