nyan-cat 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -8
- data/Gemfile.lock +8 -35
- data/lib/nyan-cat/version.rb +1 -1
- data/nyan-cat.gemspec +3 -0
- data/spec/cat_integration_spec.rb +1 -3
- metadata +30 -3
- data/Guardfile +0 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c75470a2d90992f1012fa0f121c0f7925c087267
|
4
|
+
data.tar.gz: 8a2e3013d47473324b7b4b7413b4260272ddcc9f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d39bf3a4ef50c12e9573aea71cf8e6ea1789f833d4f7c1e2c0bd19b6182bd8dc880d84cb7e1c0e0f028ad0dd389d053a51ed944a92c27be94382793b2a650a0
|
7
|
+
data.tar.gz: 3311e139394d1877309f9dc09a2fd681621eb59cb0a8f484d4f6b7b9d1fc011ff81ced98084f257046c96377a80384247735b2a882b68abb62a944588e3ab9d1
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,45 +1,18 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
nyan-cat (0.0.4)
|
5
|
+
paint (~> 0.8.6)
|
6
|
+
|
1
7
|
GEM
|
2
8
|
remote: https://rubygems.org/
|
3
9
|
specs:
|
4
|
-
celluloid (0.15.2)
|
5
|
-
timers (~> 1.1.0)
|
6
|
-
coderay (1.1.0)
|
7
|
-
ffi (1.9.3)
|
8
|
-
formatador (0.2.4)
|
9
|
-
guard (2.2.5)
|
10
|
-
formatador (>= 0.2.4)
|
11
|
-
listen (~> 2.1)
|
12
|
-
lumberjack (~> 1.0)
|
13
|
-
pry (>= 0.9.12)
|
14
|
-
thor (>= 0.18.1)
|
15
|
-
guard-minitest (2.1.3)
|
16
|
-
guard (~> 2.0)
|
17
|
-
minitest (>= 3.0)
|
18
|
-
listen (2.4.0)
|
19
|
-
celluloid (>= 0.15.2)
|
20
|
-
rb-fsevent (>= 0.9.3)
|
21
|
-
rb-inotify (>= 0.9)
|
22
|
-
lumberjack (1.0.4)
|
23
|
-
method_source (0.8.2)
|
24
|
-
minitest (5.2.0)
|
25
10
|
paint (0.8.6)
|
26
|
-
|
27
|
-
coderay (~> 1.0)
|
28
|
-
method_source (~> 0.8)
|
29
|
-
slop (~> 3.4)
|
30
|
-
rake (10.0.3)
|
31
|
-
rb-fsevent (0.9.3)
|
32
|
-
rb-inotify (0.9.3)
|
33
|
-
ffi (>= 0.5.0)
|
34
|
-
slop (3.4.7)
|
35
|
-
thor (0.18.1)
|
36
|
-
timers (1.1.0)
|
11
|
+
rake (10.1.0)
|
37
12
|
|
38
13
|
PLATFORMS
|
39
14
|
ruby
|
40
15
|
|
41
16
|
DEPENDENCIES
|
42
|
-
|
43
|
-
guard-minitest
|
44
|
-
paint
|
17
|
+
nyan-cat!
|
45
18
|
rake
|
data/lib/nyan-cat/version.rb
CHANGED
data/nyan-cat.gemspec
CHANGED
@@ -13,6 +13,9 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.homepage = 'https://github.com/spyc3r/nyan-cat'
|
14
14
|
s.license = 'MIT'
|
15
15
|
|
16
|
+
s.add_runtime_dependency "paint", "~> 0.8.6"
|
17
|
+
s.add_development_dependency "rake"
|
18
|
+
|
16
19
|
s.files = `git ls-files`.split("\n")
|
17
20
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
18
21
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
@@ -1,8 +1,6 @@
|
|
1
1
|
require 'minitest/autorun'
|
2
2
|
require 'minitest/spec'
|
3
3
|
|
4
|
-
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
5
|
-
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
6
4
|
require 'nyan-cat'
|
7
5
|
|
8
6
|
describe NyanCat do
|
@@ -44,7 +42,7 @@ END
|
|
44
42
|
# this is just a punt since matching the whole string with the colors
|
45
43
|
# is a bit of pain. So instead we just use a simple regex to match
|
46
44
|
# against a specific color. We're not really validating that the colors
|
47
|
-
# are correct or anything. Just that they are
|
45
|
+
# are correct or anything. Just that they are present.
|
48
46
|
it "should add colors to the trail" do
|
49
47
|
cat = NyanCat.new_cat(:colorize => true)
|
50
48
|
result = cat.tick.strip
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nyan-cat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Keathley
|
@@ -9,7 +9,35 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2013-12-17 00:00:00.000000000 Z
|
12
|
-
dependencies:
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: paint
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.8.6
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.8.6
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
13
41
|
description: Nyan Cat all of the things
|
14
42
|
email: spyc3r@gmail.com
|
15
43
|
executables:
|
@@ -21,7 +49,6 @@ files:
|
|
21
49
|
- .travis.yml
|
22
50
|
- Gemfile
|
23
51
|
- Gemfile.lock
|
24
|
-
- Guardfile
|
25
52
|
- LICENSE
|
26
53
|
- README.md
|
27
54
|
- Rakefile
|
data/Guardfile
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
# A sample Guardfile
|
2
|
-
# More info at https://github.com/guard/guard#readme
|
3
|
-
|
4
|
-
guard :minitest do
|
5
|
-
# with Minitest::Unit
|
6
|
-
watch(%r{^test/(.*)\/?test_(.*)\.rb})
|
7
|
-
watch(%r{^lib/(.*/)?([^/]+)\.rb}) { |m| "test/#{m[1]}test_#{m[2]}.rb" }
|
8
|
-
watch(%r{^test/test_helper\.rb}) { 'test' }
|
9
|
-
|
10
|
-
# with Minitest::Spec
|
11
|
-
watch(%r{^spec/(.*)_spec\.rb})
|
12
|
-
watch(%r{^lib/(.+)\.rb}) { |m| "spec/#{m[1]}_spec.rb" }
|
13
|
-
watch(%r{^spec/spec_helper\.rb}) { 'spec' }
|
14
|
-
end
|