gem_sarne 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/.travis.yml +12 -0
- data/Rakefile +5 -0
- data/gem_sarne.gemspec +1 -0
- data/lib/gem_sarne.rb +20 -2
- data/lib/gem_sarne/cli.rb +2 -5
- data/lib/gem_sarne/version.rb +2 -2
- data/test/gem_sarne_test.rb +15 -0
- metadata +39 -22
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
NDVlODMwYjMwZjRjYmUyYTBjZmM3NTJlNGJhMWUzOWIzNGQ0YjM4MQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
ZTU0ZDkxYTYwY2U1Yjk4ZGJjY2U0MGFlZTI4YTI5ZjJkZTVlZjJmOA==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
NWZkNzVhMWUxNGYwNDg5YTBlZGU5YWJkZTI1YWM1YzE0MzVlNTg0MjQxZmM2
|
10
|
+
OGI3NWEyYWQyNTdmMTdlNGE5ODFlZDc1NDg3ZWFkNWUyNWMwMzllMjc2ZjNm
|
11
|
+
N2Y2NGJmOThjY2MwZTJmNGU2OTY1ZDM1ZDdlNDJmMjAwNGMwMzg=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
YWVmYTI1ZDM0MDg2OTU2MzU3OWU3NTgyMjI5MzliMmIwOGNlMzczNDQ4MDEz
|
14
|
+
Yjk1ZDBlNTZkMmNlM2JlNGYyMjY4MGM3MTlmNjk1MjU0Mjc5OWVkYTNkYzU1
|
15
|
+
YmEwYjdjMzUzMWU5MTJlN2JkZWFiNmEzY2M3ZjA3M2Q5NWU5MmI=
|
data/.travis.yml
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
language: ruby
|
2
|
+
rvm:
|
3
|
+
- 2.1.2
|
4
|
+
- 1.9.3
|
5
|
+
- jruby-19mode
|
6
|
+
- ruby-head
|
7
|
+
- jruby-head
|
8
|
+
script: rake test
|
9
|
+
notifications:
|
10
|
+
webhooks: https://gd-radiator.ngrok.com/hubot/travis?room=devlab@conference.im.office.gdi
|
11
|
+
on_success: always
|
12
|
+
on_failure: always
|
data/Rakefile
CHANGED
data/gem_sarne.gemspec
CHANGED
data/lib/gem_sarne.rb
CHANGED
@@ -1,7 +1,25 @@
|
|
1
1
|
require "launchy"
|
2
2
|
require "gem_sarne/version"
|
3
3
|
require "gem_sarne/cli"
|
4
|
+
require 'singleton'
|
5
|
+
|
6
|
+
class GemSarne
|
7
|
+
include Singleton # there is only one
|
8
|
+
|
9
|
+
def run
|
10
|
+
rulz
|
11
|
+
`say gem sarne`
|
12
|
+
end
|
13
|
+
|
14
|
+
def rulz
|
15
|
+
Dir[File.expand_path("../media/*", __FILE__)].each do |file|
|
16
|
+
Launchy.open(file)
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
def cool?
|
21
|
+
# of course, always
|
22
|
+
true
|
23
|
+
end
|
4
24
|
|
5
|
-
module GemSarne
|
6
|
-
|
7
25
|
end
|
data/lib/gem_sarne/cli.rb
CHANGED
data/lib/gem_sarne/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
VERSION = "0.0.
|
1
|
+
class GemSarne
|
2
|
+
VERSION = "0.0.5"
|
3
3
|
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require "minitest/autorun"
|
2
|
+
require 'gem_sarne'
|
3
|
+
|
4
|
+
describe GemSarne do
|
5
|
+
describe 'is so cool' do
|
6
|
+
before do
|
7
|
+
@jim = GemSarne.instance # the one and only
|
8
|
+
end
|
9
|
+
|
10
|
+
it 'should always be true' do
|
11
|
+
assert_equal true, @jim.cool?
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
end
|
metadata
CHANGED
@@ -1,57 +1,71 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gem_sarne
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Billy Reisinger
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
|
-
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.5'
|
20
|
-
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
21
23
|
requirements:
|
22
24
|
- - ~>
|
23
25
|
- !ruby/object:Gem::Version
|
24
26
|
version: '1.5'
|
25
|
-
prerelease: false
|
26
|
-
type: :development
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
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
|
29
36
|
version_requirements: !ruby/object:Gem::Requirement
|
30
37
|
requirements:
|
31
|
-
- - '>='
|
38
|
+
- - ! '>='
|
32
39
|
- !ruby/object:Gem::Version
|
33
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: minitest
|
34
43
|
requirement: !ruby/object:Gem::Requirement
|
35
44
|
requirements:
|
36
|
-
- - '>='
|
45
|
+
- - ! '>='
|
37
46
|
- !ruby/object:Gem::Version
|
38
47
|
version: '0'
|
39
|
-
prerelease: false
|
40
48
|
type: :development
|
41
|
-
|
42
|
-
name: launchy
|
49
|
+
prerelease: false
|
43
50
|
version_requirements: !ruby/object:Gem::Requirement
|
44
51
|
requirements:
|
45
|
-
- - '>='
|
52
|
+
- - ! '>='
|
46
53
|
- !ruby/object:Gem::Version
|
47
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: launchy
|
48
57
|
requirement: !ruby/object:Gem::Requirement
|
49
58
|
requirements:
|
50
|
-
- - '>='
|
59
|
+
- - ! '>='
|
51
60
|
- !ruby/object:Gem::Version
|
52
61
|
version: '0'
|
53
|
-
prerelease: false
|
54
62
|
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ! '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
55
69
|
description: Death Stare
|
56
70
|
email:
|
57
71
|
- billy.reisinger@govdelivery.com
|
@@ -61,6 +75,7 @@ extensions: []
|
|
61
75
|
extra_rdoc_files: []
|
62
76
|
files:
|
63
77
|
- .gitignore
|
78
|
+
- .travis.yml
|
64
79
|
- Gemfile
|
65
80
|
- LICENSE.txt
|
66
81
|
- README.md
|
@@ -73,28 +88,30 @@ files:
|
|
73
88
|
- lib/media/barbie.png
|
74
89
|
- lib/media/jim-sarne-2.jpg
|
75
90
|
- lib/media/jim-sarne.png
|
91
|
+
- test/gem_sarne_test.rb
|
76
92
|
homepage: http://github.com/govdelivery/gem_sarne
|
77
93
|
licenses:
|
78
94
|
- MIT
|
79
95
|
metadata: {}
|
80
|
-
post_install_message:
|
96
|
+
post_install_message:
|
81
97
|
rdoc_options: []
|
82
98
|
require_paths:
|
83
99
|
- lib
|
84
100
|
required_ruby_version: !ruby/object:Gem::Requirement
|
85
101
|
requirements:
|
86
|
-
- - '>='
|
102
|
+
- - ! '>='
|
87
103
|
- !ruby/object:Gem::Version
|
88
104
|
version: '0'
|
89
105
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
90
106
|
requirements:
|
91
|
-
- - '>='
|
107
|
+
- - ! '>='
|
92
108
|
- !ruby/object:Gem::Version
|
93
109
|
version: '0'
|
94
110
|
requirements: []
|
95
|
-
rubyforge_project:
|
96
|
-
rubygems_version: 2.
|
97
|
-
signing_key:
|
111
|
+
rubyforge_project:
|
112
|
+
rubygems_version: 2.4.2
|
113
|
+
signing_key:
|
98
114
|
specification_version: 4
|
99
115
|
summary: Gemes Sarne
|
100
|
-
test_files:
|
116
|
+
test_files:
|
117
|
+
- test/gem_sarne_test.rb
|