lolcommits 0.5.1 → 0.5.2.pre1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.coveralls.yml +1 -0
- data/.gitignore +1 -0
- data/CHANGELOG +13 -0
- data/README.md +29 -16
- data/bin/lolcommits +68 -15
- data/features/lolcommits.feature +40 -6
- data/features/plugins.feature +4 -4
- data/features/step_definitions/lolcommits_steps.rb +6 -0
- data/lib/lolcommits/configuration.rb +41 -35
- data/lib/lolcommits/plugin.rb +62 -19
- data/lib/lolcommits/plugins/dot_com.rb +14 -4
- data/lib/lolcommits/plugins/lol_twitter.rb +87 -65
- data/lib/lolcommits/plugins/lolsrv.rb +31 -32
- data/lib/lolcommits/plugins/loltext.rb +13 -34
- data/lib/lolcommits/plugins/tranzlate.rb +104 -9
- data/lib/lolcommits/plugins/uploldz.rb +13 -9
- data/lib/lolcommits/version.rb +1 -1
- data/lolcommits.gemspec +2 -1
- data/test/test_lolcommits.rb +39 -21
- metadata +25 -67
- data/lib/tranzlate/lolspeak.rb +0 -101
@@ -1,18 +1,113 @@
|
|
1
|
-
|
1
|
+
# Adapted and expanded from https://github.com/rwtnorton/moar-lolspeak
|
2
|
+
# which was largely taken from an old Perl script and is sadly is not
|
3
|
+
# available via rubygems
|
4
|
+
|
5
|
+
module Lolspeak
|
6
|
+
|
7
|
+
LOL_DICTIONARY = {
|
8
|
+
/what/ => %w{wut whut},
|
9
|
+
/you\b/ => %w{yu yous yoo u yooz},
|
10
|
+
/cture/ => %w{kshur},
|
11
|
+
/ss\b/ => %w{s zz z},
|
12
|
+
/the\b/ => %w{teh},
|
13
|
+
/more/ => %w{moar},
|
14
|
+
/my/ => %w{mah mai},
|
15
|
+
/are/ => %w{is ar},
|
16
|
+
/eese/ => %w{eez},
|
17
|
+
/ph/ => %w{f},
|
18
|
+
/as\b/ => %w{az},
|
19
|
+
/seriously/ => %w{srsly},
|
20
|
+
/sion/ => %w{shun},
|
21
|
+
/just/ => %w{jus},
|
22
|
+
/ose\b/ => %w{oze},
|
23
|
+
/eady/ => %w{eddy},
|
24
|
+
/ome?\b/ => %w{um},
|
25
|
+
/of\b/ => %w{of ov of},
|
26
|
+
/uestion/ => %w{wesjun},
|
27
|
+
/want/ => %w{wants},
|
28
|
+
/ead\b/ => %w{edd},
|
29
|
+
/ck/ => %w{kk kkk},
|
30
|
+
/sion/ => %w{shun},
|
31
|
+
/cat|kitten|kitty/ => %w{kitteh kittehz cat fuzzeh fuzzyrumpus foozles fuzzbut fluffernutter beast mew},
|
32
|
+
/eak/ => %w{ekk},
|
33
|
+
/age/ => %w{uj},
|
34
|
+
/like/ => %w{likez liek licks},
|
35
|
+
/love/ => %w{lovez lub lubs luv lurve lurves},
|
36
|
+
/\bis\b/ => ['ar teh','ar'],
|
37
|
+
/nd\b/ => %w{n n'},
|
38
|
+
/who/ => %w{hoo},
|
39
|
+
/'/ => [''],
|
40
|
+
/ese\b/ => %w{eez},
|
41
|
+
/outh/ => %w{owf},
|
42
|
+
/scio/ => %w{shu},
|
43
|
+
/esque/ => %w{esk},
|
44
|
+
/ture/ => %w{chur},
|
45
|
+
/\btoo?\b/ => %w{to t 2 to t},
|
46
|
+
/tious/ => %w{shus},
|
47
|
+
/sure\b/ => %w{shur},
|
48
|
+
/tty\b/ => %w{tteh},
|
49
|
+
/were/ => %w{was},
|
50
|
+
/ok\b|okay/ => %w{kthxbye!},
|
51
|
+
/\ba\b/ => %w{uh},
|
52
|
+
/ym/ => %w{im},
|
53
|
+
/fish/ => %w{ghoti},
|
54
|
+
/thy\b/ => %w{fee},
|
55
|
+
/\wly\w/ => %w{li},
|
56
|
+
/que\w/ => %w{kwe},
|
57
|
+
/\both/ => %w{udd},
|
58
|
+
/though\b/ => %w{tho},
|
59
|
+
/(t|r|en)ough/ => %w{\1uff},
|
60
|
+
/ought/ => %w{awt},
|
61
|
+
/ease/ => %w{eez},
|
62
|
+
/ing\b/ => %w{in ins ng ing in'},
|
63
|
+
/have/ => ['haz', 'hav', 'haz a'],
|
64
|
+
/has/ => %w{haz gots},
|
65
|
+
/your/ => %w{yur ur yore yoar},
|
66
|
+
/ove\b/ => %w{oov ove uuv uv oove},
|
67
|
+
/for/ => %w{for 4 fr fur for foar},
|
68
|
+
/thank/ => %w{fank tank thx thnx},
|
69
|
+
/good/ => %w{gud goed guud gude gewd goot gut},
|
70
|
+
/really/ => %w{rly rily rilly rilleh},
|
71
|
+
/world/ => %w{wurrld whirld wurld wrld},
|
72
|
+
/i'?m\b/ => ['im', 'i yam', 'i iz'],
|
73
|
+
/(?!e)ight/ => %w{ite},
|
74
|
+
/(?!ues)tion/ => %w{shun},
|
75
|
+
/you'?re/ => %w{yore yr},
|
76
|
+
/er\b|are|ere/ => %w{r},
|
77
|
+
/y\b|ey\b/ => %w{eh},
|
78
|
+
/ea/ => %w{ee},
|
79
|
+
/can\si\s(?:ple(?:a|e)(?:s|z)e?)?\s?have\sa/ => ['i can haz'],
|
80
|
+
/(?:hello|\bhi\b|\bhey\b|howdy|\byo\b),?/ => ['oh hai,'],
|
81
|
+
/(?:god\b|allah|buddah?|diety|lord)/ => ['ceiling cat'],
|
82
|
+
}
|
83
|
+
|
84
|
+
def tranzlate(str)
|
85
|
+
lolstr = str.dup
|
86
|
+
LOL_DICTIONARY.each do |english, lolspeak|
|
87
|
+
#ghetto ruby1.8/1.9 agnostic version of choice vs sample
|
88
|
+
lolstr.gsub!(english, lolspeak.shuffle.first)
|
89
|
+
end
|
90
|
+
|
91
|
+
lolstr << '! kthxbye!' if rand(10) == 2
|
92
|
+
lolstr.gsub!(/(\?|!|,|\.)+/, '!')
|
93
|
+
|
94
|
+
lolstr.upcase
|
95
|
+
end
|
96
|
+
end
|
2
97
|
|
3
98
|
module Lolcommits
|
4
99
|
class Tranzlate < Plugin
|
5
|
-
def initialize(runner)
|
6
|
-
super
|
7
100
|
|
8
|
-
|
9
|
-
self.default = false
|
10
|
-
end
|
101
|
+
extend Lolspeak
|
11
102
|
|
12
103
|
def run
|
13
|
-
|
14
|
-
self.runner.message = self.runner.message
|
15
|
-
|
104
|
+
debug "Commit message before: #{self.runner.message}"
|
105
|
+
self.runner.message = self.class.tranzlate(self.runner.message)
|
106
|
+
debug "Commit message after: #{self.runner.message}"
|
107
|
+
end
|
108
|
+
|
109
|
+
def self.name
|
110
|
+
'tranzlate'
|
16
111
|
end
|
17
112
|
end
|
18
113
|
end
|
@@ -6,25 +6,29 @@ module Lolcommits
|
|
6
6
|
|
7
7
|
def initialize(runner)
|
8
8
|
super
|
9
|
-
|
10
|
-
self.name = 'uploldz'
|
11
|
-
self.default = false
|
12
|
-
self.options.concat(['endpoint'])
|
9
|
+
self.options << 'endpoint'
|
13
10
|
end
|
14
11
|
|
15
12
|
def run
|
13
|
+
return unless valid_configuration?
|
14
|
+
|
16
15
|
repo = self.runner.repo.to_s
|
17
|
-
if
|
18
|
-
puts "Endpoint URL is empty, please run lolcommits --config to add one."
|
19
|
-
elsif repo.empty?
|
16
|
+
if repo.empty?
|
20
17
|
puts "Repo is empty, skipping upload"
|
21
18
|
else
|
22
|
-
|
23
|
-
RestClient.post(configuration['endpoint'],
|
19
|
+
debug "Calling " + configuration['endpoint'] + " with repo " + repo
|
20
|
+
RestClient.post(configuration['endpoint'],
|
24
21
|
:file => File.new(self.runner.main_image),
|
25
22
|
:repo => repo)
|
26
23
|
end
|
24
|
+
end
|
25
|
+
|
26
|
+
def is_configured?
|
27
|
+
!configuration["enabled"].nil? && configuration["endpoint"]
|
28
|
+
end
|
27
29
|
|
30
|
+
def self.name
|
31
|
+
'uploldz'
|
28
32
|
end
|
29
33
|
end
|
30
34
|
end
|
data/lib/lolcommits/version.rb
CHANGED
data/lolcommits.gemspec
CHANGED
@@ -34,9 +34,10 @@ Gem::Specification.new do |s|
|
|
34
34
|
s.add_development_dependency('fivemat')
|
35
35
|
s.add_development_dependency('faker')
|
36
36
|
s.add_development_dependency('travis')
|
37
|
+
s.add_development_dependency('coveralls')
|
37
38
|
|
38
39
|
# plugin dependencies
|
39
|
-
s.add_runtime_dependency('twitter')
|
40
|
+
s.add_runtime_dependency('twitter', '~> 4.8.1') #twitter
|
40
41
|
s.add_runtime_dependency('oauth') #twitter
|
41
42
|
s.add_runtime_dependency('rest-client') #uploldz
|
42
43
|
s.add_runtime_dependency('httmultiparty') #dot_com
|
data/test/test_lolcommits.rb
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
require 'coveralls'
|
2
|
+
Coveralls.wear!
|
3
|
+
|
1
4
|
require 'test/unit'
|
2
5
|
# Loads lolcommits directly from the lib folder so don't have to create
|
3
6
|
# a gem before testing
|
@@ -9,21 +12,36 @@ include Lolcommits
|
|
9
12
|
|
10
13
|
class LolTest < Test::Unit::TestCase
|
11
14
|
def test_can_parse_git
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
15
|
+
assert_nothing_raised do
|
16
|
+
gi = GitInfo.new
|
17
|
+
assert_not_nil gi.message
|
18
|
+
assert_not_nil gi.sha
|
19
|
+
end
|
17
20
|
end
|
18
21
|
|
19
22
|
#
|
20
23
|
# issue #57, https://github.com/mroth/lolcommits/issues/57
|
21
24
|
#
|
22
25
|
def test_tranzlate
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
26
|
+
[["what the hell","(WH|W)UT TEH HELL"],["seriously wtf", "SRSLEH WTF"]].each do |normal, lol|
|
27
|
+
tranzlated = Lolcommits::Tranzlate.tranzlate(normal)
|
28
|
+
assert_match /^#{lol}/, tranzlated
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
#
|
33
|
+
# issue #136, https://github.com/mroth/lolcommits/issues/136
|
34
|
+
def test_lol_twitter_build_tweet
|
35
|
+
long_commit_message = %q{I wanna run, I want to hide, I want to tear down
|
36
|
+
the walls that hold me inside. I want to reach out, and touch the flame...
|
37
|
+
Where the streets have no name.. ah ah ah.. I want to feel sunlight on my
|
38
|
+
face... I see the dust clouds disappear, without a trace... I want to take
|
39
|
+
shelter... from the poison rain... where the streets have no name... oahhhhh
|
40
|
+
where the streets have no name... where the streets have no name }.gsub("\n", ' ')
|
41
|
+
|
42
|
+
plugin = Lolcommits::LolTwitter.new(nil)
|
43
|
+
Lolcommits::LolTwitter.send(:define_method, :max_tweet_size, Proc.new { 116 })
|
44
|
+
assert_match 'I wanna run, I want to hide, I want to tear down the walls that hold me inside. I want to reach out, a... #lolcommits', plugin.build_tweet(long_commit_message)
|
27
45
|
end
|
28
46
|
|
29
47
|
#
|
@@ -31,22 +49,22 @@ class LolTest < Test::Unit::TestCase
|
|
31
49
|
# this will test the permissions but only locally, important before building a gem package!
|
32
50
|
#
|
33
51
|
def test_permissions
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
52
|
+
impact_perms = File.lstat(File.join(Configuration::LOLCOMMITS_ROOT, "vendor", "fonts", "Impact.ttf")).mode & 0777
|
53
|
+
imagesnap_perms = File.lstat(File.join(Configuration::LOLCOMMITS_ROOT, "vendor", "ext", "imagesnap", "imagesnap")).mode & 0777
|
54
|
+
videosnap_perms = File.lstat(File.join(Configuration::LOLCOMMITS_ROOT, "vendor", "ext", "videosnap", "videosnap")).mode & 0777
|
55
|
+
assert impact_perms == 0644 || impact_perms == 0664,
|
56
|
+
"expected perms of 644/664 but instead got #{sprintf '%o', impact_perms}"
|
57
|
+
assert imagesnap_perms == 0755 || imagesnap_perms == 0775,
|
58
|
+
"expected perms of 755/775 but instead got #{sprintf '%o', imagesnap_perms}"
|
59
|
+
assert videosnap_perms == 0755 || videosnap_perms == 0775,
|
60
|
+
"expected perms of 755/775 but instead got #{sprintf '%o', videosnap_perms}"
|
43
61
|
end
|
44
62
|
|
45
63
|
# Hmm.. webcam capture breaks travis-ci tests
|
46
64
|
#def test_can_capture
|
47
|
-
#
|
48
|
-
#
|
49
|
-
#
|
65
|
+
# assert_nothing_raised do
|
66
|
+
# Lolcommits.capture(0,true,'test commit message','test-sha-001')
|
67
|
+
# end
|
50
68
|
#end
|
51
69
|
|
52
70
|
end
|
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lolcommits
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
5
|
-
prerelease:
|
4
|
+
version: 0.5.2.pre1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Matthew Rothenberg
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-12-04 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: mini_magick
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ~>
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,7 +27,6 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: git
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ~>
|
36
32
|
- !ruby/object:Gem::Version
|
@@ -38,7 +34,6 @@ dependencies:
|
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - ~>
|
44
39
|
- !ruby/object:Gem::Version
|
@@ -46,7 +41,6 @@ dependencies:
|
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: choice
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - ~>
|
52
46
|
- !ruby/object:Gem::Version
|
@@ -54,7 +48,6 @@ dependencies:
|
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - ~>
|
60
53
|
- !ruby/object:Gem::Version
|
@@ -62,7 +55,6 @@ dependencies:
|
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: launchy
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
59
|
- - ~>
|
68
60
|
- !ruby/object:Gem::Version
|
@@ -70,7 +62,6 @@ dependencies:
|
|
70
62
|
type: :runtime
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
66
|
- - ~>
|
76
67
|
- !ruby/object:Gem::Version
|
@@ -78,7 +69,6 @@ dependencies:
|
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: methadone
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
73
|
- - ~>
|
84
74
|
- !ruby/object:Gem::Version
|
@@ -86,7 +76,6 @@ dependencies:
|
|
86
76
|
type: :runtime
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
80
|
- - ~>
|
92
81
|
- !ruby/object:Gem::Version
|
@@ -94,7 +83,6 @@ dependencies:
|
|
94
83
|
- !ruby/object:Gem::Dependency
|
95
84
|
name: open4
|
96
85
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
86
|
requirements:
|
99
87
|
- - ~>
|
100
88
|
- !ruby/object:Gem::Version
|
@@ -102,7 +90,6 @@ dependencies:
|
|
102
90
|
type: :runtime
|
103
91
|
prerelease: false
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
93
|
requirements:
|
107
94
|
- - ~>
|
108
95
|
- !ruby/object:Gem::Version
|
@@ -110,7 +97,6 @@ dependencies:
|
|
110
97
|
- !ruby/object:Gem::Dependency
|
111
98
|
name: activesupport
|
112
99
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
100
|
requirements:
|
115
101
|
- - ~>
|
116
102
|
- !ruby/object:Gem::Version
|
@@ -118,7 +104,6 @@ dependencies:
|
|
118
104
|
type: :runtime
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
107
|
requirements:
|
123
108
|
- - ~>
|
124
109
|
- !ruby/object:Gem::Version
|
@@ -126,7 +111,6 @@ dependencies:
|
|
126
111
|
- !ruby/object:Gem::Dependency
|
127
112
|
name: rdoc
|
128
113
|
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
114
|
requirements:
|
131
115
|
- - ! '>='
|
132
116
|
- !ruby/object:Gem::Version
|
@@ -134,7 +118,6 @@ dependencies:
|
|
134
118
|
type: :development
|
135
119
|
prerelease: false
|
136
120
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
121
|
requirements:
|
139
122
|
- - ! '>='
|
140
123
|
- !ruby/object:Gem::Version
|
@@ -142,7 +125,6 @@ dependencies:
|
|
142
125
|
- !ruby/object:Gem::Dependency
|
143
126
|
name: aruba
|
144
127
|
requirement: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
128
|
requirements:
|
147
129
|
- - ~>
|
148
130
|
- !ruby/object:Gem::Version
|
@@ -150,7 +132,6 @@ dependencies:
|
|
150
132
|
type: :development
|
151
133
|
prerelease: false
|
152
134
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
135
|
requirements:
|
155
136
|
- - ~>
|
156
137
|
- !ruby/object:Gem::Version
|
@@ -158,7 +139,6 @@ dependencies:
|
|
158
139
|
- !ruby/object:Gem::Dependency
|
159
140
|
name: rake
|
160
141
|
requirement: !ruby/object:Gem::Requirement
|
161
|
-
none: false
|
162
142
|
requirements:
|
163
143
|
- - ~>
|
164
144
|
- !ruby/object:Gem::Version
|
@@ -166,7 +146,6 @@ dependencies:
|
|
166
146
|
type: :development
|
167
147
|
prerelease: false
|
168
148
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
none: false
|
170
149
|
requirements:
|
171
150
|
- - ~>
|
172
151
|
- !ruby/object:Gem::Version
|
@@ -174,7 +153,6 @@ dependencies:
|
|
174
153
|
- !ruby/object:Gem::Dependency
|
175
154
|
name: fivemat
|
176
155
|
requirement: !ruby/object:Gem::Requirement
|
177
|
-
none: false
|
178
156
|
requirements:
|
179
157
|
- - ! '>='
|
180
158
|
- !ruby/object:Gem::Version
|
@@ -182,7 +160,6 @@ dependencies:
|
|
182
160
|
type: :development
|
183
161
|
prerelease: false
|
184
162
|
version_requirements: !ruby/object:Gem::Requirement
|
185
|
-
none: false
|
186
163
|
requirements:
|
187
164
|
- - ! '>='
|
188
165
|
- !ruby/object:Gem::Version
|
@@ -190,7 +167,6 @@ dependencies:
|
|
190
167
|
- !ruby/object:Gem::Dependency
|
191
168
|
name: faker
|
192
169
|
requirement: !ruby/object:Gem::Requirement
|
193
|
-
none: false
|
194
170
|
requirements:
|
195
171
|
- - ! '>='
|
196
172
|
- !ruby/object:Gem::Version
|
@@ -198,7 +174,6 @@ dependencies:
|
|
198
174
|
type: :development
|
199
175
|
prerelease: false
|
200
176
|
version_requirements: !ruby/object:Gem::Requirement
|
201
|
-
none: false
|
202
177
|
requirements:
|
203
178
|
- - ! '>='
|
204
179
|
- !ruby/object:Gem::Version
|
@@ -206,7 +181,6 @@ dependencies:
|
|
206
181
|
- !ruby/object:Gem::Dependency
|
207
182
|
name: travis
|
208
183
|
requirement: !ruby/object:Gem::Requirement
|
209
|
-
none: false
|
210
184
|
requirements:
|
211
185
|
- - ! '>='
|
212
186
|
- !ruby/object:Gem::Version
|
@@ -214,31 +188,41 @@ dependencies:
|
|
214
188
|
type: :development
|
215
189
|
prerelease: false
|
216
190
|
version_requirements: !ruby/object:Gem::Requirement
|
217
|
-
none: false
|
218
191
|
requirements:
|
219
192
|
- - ! '>='
|
220
193
|
- !ruby/object:Gem::Version
|
221
194
|
version: '0'
|
222
195
|
- !ruby/object:Gem::Dependency
|
223
|
-
name:
|
196
|
+
name: coveralls
|
224
197
|
requirement: !ruby/object:Gem::Requirement
|
225
|
-
none: false
|
226
198
|
requirements:
|
227
199
|
- - ! '>='
|
228
200
|
- !ruby/object:Gem::Version
|
229
201
|
version: '0'
|
230
|
-
type: :
|
202
|
+
type: :development
|
231
203
|
prerelease: false
|
232
204
|
version_requirements: !ruby/object:Gem::Requirement
|
233
|
-
none: false
|
234
205
|
requirements:
|
235
206
|
- - ! '>='
|
236
207
|
- !ruby/object:Gem::Version
|
237
208
|
version: '0'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: twitter
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ~>
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: 4.8.1
|
216
|
+
type: :runtime
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ~>
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: 4.8.1
|
238
223
|
- !ruby/object:Gem::Dependency
|
239
224
|
name: oauth
|
240
225
|
requirement: !ruby/object:Gem::Requirement
|
241
|
-
none: false
|
242
226
|
requirements:
|
243
227
|
- - ! '>='
|
244
228
|
- !ruby/object:Gem::Version
|
@@ -246,7 +230,6 @@ dependencies:
|
|
246
230
|
type: :runtime
|
247
231
|
prerelease: false
|
248
232
|
version_requirements: !ruby/object:Gem::Requirement
|
249
|
-
none: false
|
250
233
|
requirements:
|
251
234
|
- - ! '>='
|
252
235
|
- !ruby/object:Gem::Version
|
@@ -254,7 +237,6 @@ dependencies:
|
|
254
237
|
- !ruby/object:Gem::Dependency
|
255
238
|
name: rest-client
|
256
239
|
requirement: !ruby/object:Gem::Requirement
|
257
|
-
none: false
|
258
240
|
requirements:
|
259
241
|
- - ! '>='
|
260
242
|
- !ruby/object:Gem::Version
|
@@ -262,7 +244,6 @@ dependencies:
|
|
262
244
|
type: :runtime
|
263
245
|
prerelease: false
|
264
246
|
version_requirements: !ruby/object:Gem::Requirement
|
265
|
-
none: false
|
266
247
|
requirements:
|
267
248
|
- - ! '>='
|
268
249
|
- !ruby/object:Gem::Version
|
@@ -270,7 +251,6 @@ dependencies:
|
|
270
251
|
- !ruby/object:Gem::Dependency
|
271
252
|
name: httmultiparty
|
272
253
|
requirement: !ruby/object:Gem::Requirement
|
273
|
-
none: false
|
274
254
|
requirements:
|
275
255
|
- - ! '>='
|
276
256
|
- !ruby/object:Gem::Version
|
@@ -278,7 +258,6 @@ dependencies:
|
|
278
258
|
type: :runtime
|
279
259
|
prerelease: false
|
280
260
|
version_requirements: !ruby/object:Gem::Requirement
|
281
|
-
none: false
|
282
261
|
requirements:
|
283
262
|
- - ! '>='
|
284
263
|
- !ruby/object:Gem::Version
|
@@ -286,7 +265,6 @@ dependencies:
|
|
286
265
|
- !ruby/object:Gem::Dependency
|
287
266
|
name: httparty
|
288
267
|
requirement: !ruby/object:Gem::Requirement
|
289
|
-
none: false
|
290
268
|
requirements:
|
291
269
|
- - ~>
|
292
270
|
- !ruby/object:Gem::Version
|
@@ -294,7 +272,6 @@ dependencies:
|
|
294
272
|
type: :runtime
|
295
273
|
prerelease: false
|
296
274
|
version_requirements: !ruby/object:Gem::Requirement
|
297
|
-
none: false
|
298
275
|
requirements:
|
299
276
|
- - ~>
|
300
277
|
- !ruby/object:Gem::Version
|
@@ -302,7 +279,6 @@ dependencies:
|
|
302
279
|
- !ruby/object:Gem::Dependency
|
303
280
|
name: json
|
304
281
|
requirement: !ruby/object:Gem::Requirement
|
305
|
-
none: false
|
306
282
|
requirements:
|
307
283
|
- - ~>
|
308
284
|
- !ruby/object:Gem::Version
|
@@ -310,7 +286,6 @@ dependencies:
|
|
310
286
|
type: :runtime
|
311
287
|
prerelease: false
|
312
288
|
version_requirements: !ruby/object:Gem::Requirement
|
313
|
-
none: false
|
314
289
|
requirements:
|
315
290
|
- - ~>
|
316
291
|
- !ruby/object:Gem::Version
|
@@ -318,7 +293,6 @@ dependencies:
|
|
318
293
|
- !ruby/object:Gem::Dependency
|
319
294
|
name: mime-types
|
320
295
|
requirement: !ruby/object:Gem::Requirement
|
321
|
-
none: false
|
322
296
|
requirements:
|
323
297
|
- - ~>
|
324
298
|
- !ruby/object:Gem::Version
|
@@ -326,7 +300,6 @@ dependencies:
|
|
326
300
|
type: :runtime
|
327
301
|
prerelease: false
|
328
302
|
version_requirements: !ruby/object:Gem::Requirement
|
329
|
-
none: false
|
330
303
|
requirements:
|
331
304
|
- - ~>
|
332
305
|
- !ruby/object:Gem::Version
|
@@ -340,6 +313,7 @@ executables:
|
|
340
313
|
extensions: []
|
341
314
|
extra_rdoc_files: []
|
342
315
|
files:
|
316
|
+
- .coveralls.yml
|
343
317
|
- .gitignore
|
344
318
|
- .travis.yml
|
345
319
|
- CHANGELOG
|
@@ -377,7 +351,6 @@ files:
|
|
377
351
|
- lib/lolcommits/plugins/uploldz.rb
|
378
352
|
- lib/lolcommits/runner.rb
|
379
353
|
- lib/lolcommits/version.rb
|
380
|
-
- lib/tranzlate/lolspeak.rb
|
381
354
|
- lolcommits.gemspec
|
382
355
|
- test/images/test_image.jpg
|
383
356
|
- test/test_lolcommits.rb
|
@@ -391,40 +364,25 @@ files:
|
|
391
364
|
homepage: http://mroth.github.com/lolcommits/
|
392
365
|
licenses:
|
393
366
|
- LGPL-3
|
367
|
+
metadata: {}
|
394
368
|
post_install_message:
|
395
369
|
rdoc_options: []
|
396
370
|
require_paths:
|
397
371
|
- lib
|
398
372
|
required_ruby_version: !ruby/object:Gem::Requirement
|
399
|
-
none: false
|
400
373
|
requirements:
|
401
374
|
- - ! '>='
|
402
375
|
- !ruby/object:Gem::Version
|
403
376
|
version: '0'
|
404
|
-
segments:
|
405
|
-
- 0
|
406
|
-
hash: 4089819227576804590
|
407
377
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
408
|
-
none: false
|
409
378
|
requirements:
|
410
|
-
- - ! '
|
379
|
+
- - ! '>'
|
411
380
|
- !ruby/object:Gem::Version
|
412
|
-
version:
|
413
|
-
segments:
|
414
|
-
- 0
|
415
|
-
hash: 4089819227576804590
|
381
|
+
version: 1.3.1
|
416
382
|
requirements: []
|
417
383
|
rubyforge_project: lolcommits
|
418
|
-
rubygems_version: 1.
|
384
|
+
rubygems_version: 2.1.11
|
419
385
|
signing_key:
|
420
|
-
specification_version:
|
386
|
+
specification_version: 4
|
421
387
|
summary: Capture webcam image on git commit for lulz.
|
422
|
-
test_files:
|
423
|
-
- features/bugs.feature
|
424
|
-
- features/lolcommits.feature
|
425
|
-
- features/plugins.feature
|
426
|
-
- features/step_definitions/lolcommits_steps.rb
|
427
|
-
- features/support/env.rb
|
428
|
-
- features/support/path_helpers.rb
|
429
|
-
- test/images/test_image.jpg
|
430
|
-
- test/test_lolcommits.rb
|
388
|
+
test_files: []
|