cinch-links-tumblr 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/cinch-links-tumblr.gemspec +16 -15
- data/lib/cinch/plugins/links-tumblr/version.rb +1 -1
- data/lib/cinch/plugins/links-tumblr.rb +2 -2
- metadata +13 -12
data/cinch-links-tumblr.gemspec
CHANGED
@@ -4,28 +4,29 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
require 'cinch/plugins/links-tumblr/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |gem|
|
7
|
-
gem.name =
|
7
|
+
gem.name = 'cinch-links-tumblr'
|
8
8
|
gem.version = Cinch::Plugins::LinksTumblr::VERSION
|
9
|
-
gem.authors = [
|
10
|
-
gem.email = [
|
9
|
+
gem.authors = ['Brian Haberer']
|
10
|
+
gem.email = ['bhaberer@gmail.com']
|
11
11
|
gem.description = %q{Cinch gem that logs every link posted in the channel to a Tumblr}
|
12
12
|
gem.summary = %q{Cinch Tumblr Plugin}
|
13
|
-
gem.homepage =
|
13
|
+
gem.homepage = 'https://github.com/bhaberer/cinch-links-tumblr'
|
14
|
+
gem.license = 'MIT'
|
14
15
|
|
15
16
|
gem.files = `git ls-files`.split($/)
|
16
17
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
17
18
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
|
-
gem.require_paths = [
|
19
|
+
gem.require_paths = ['lib']
|
19
20
|
|
20
|
-
gem.add_development_dependency
|
21
|
-
gem.add_development_dependency
|
22
|
-
gem.add_development_dependency
|
23
|
-
gem.add_development_dependency
|
24
|
-
gem.add_development_dependency
|
21
|
+
gem.add_development_dependency 'rake'
|
22
|
+
gem.add_development_dependency 'rspec'
|
23
|
+
gem.add_development_dependency 'coveralls'
|
24
|
+
gem.add_development_dependency 'cinch-test'
|
25
|
+
gem.add_development_dependency 'json'
|
25
26
|
|
26
|
-
gem.add_dependency
|
27
|
-
gem.add_dependency
|
28
|
-
gem.add_dependency
|
29
|
-
gem.add_dependency
|
30
|
-
gem.add_dependency
|
27
|
+
gem.add_dependency 'cinch', '~> 2.0.12'
|
28
|
+
gem.add_dependency 'cinch-storage', '~> 1.1.0'
|
29
|
+
gem.add_dependency 'cinch-toolbox', '~> 1.1.0'
|
30
|
+
gem.add_dependency 'tumblr-rb', '~> 2.1.1'
|
31
|
+
gem.add_dependency 'weary', '~> 1.1.3'
|
31
32
|
end
|
@@ -3,7 +3,7 @@ require 'open-uri'
|
|
3
3
|
require 'tumblr'
|
4
4
|
require 'yaml'
|
5
5
|
require 'cinch'
|
6
|
-
require 'cinch
|
6
|
+
require 'cinch/storage'
|
7
7
|
require 'cinch/toolbox'
|
8
8
|
|
9
9
|
module Cinch::Plugins
|
@@ -19,7 +19,7 @@ module Cinch::Plugins
|
|
19
19
|
|
20
20
|
def initialize(*args)
|
21
21
|
super
|
22
|
-
@storage =
|
22
|
+
@storage = Cinch::Storage.new(config[:filename] || 'yaml/tumblr.yml')
|
23
23
|
@storage.data ||= {}
|
24
24
|
@hostname = config[:hostname]
|
25
25
|
@password = config[:password]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cinch-links-tumblr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-02-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -92,13 +92,13 @@ dependencies:
|
|
92
92
|
- !ruby/object:Gem::Version
|
93
93
|
version: '0'
|
94
94
|
- !ruby/object:Gem::Dependency
|
95
|
-
name: cinch
|
95
|
+
name: cinch
|
96
96
|
requirement: !ruby/object:Gem::Requirement
|
97
97
|
none: false
|
98
98
|
requirements:
|
99
99
|
- - ~>
|
100
100
|
- !ruby/object:Gem::Version
|
101
|
-
version:
|
101
|
+
version: 2.0.12
|
102
102
|
type: :runtime
|
103
103
|
prerelease: false
|
104
104
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -106,15 +106,15 @@ dependencies:
|
|
106
106
|
requirements:
|
107
107
|
- - ~>
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version:
|
109
|
+
version: 2.0.12
|
110
110
|
- !ruby/object:Gem::Dependency
|
111
|
-
name: cinch-
|
111
|
+
name: cinch-storage
|
112
112
|
requirement: !ruby/object:Gem::Requirement
|
113
113
|
none: false
|
114
114
|
requirements:
|
115
115
|
- - ~>
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 1.0
|
117
|
+
version: 1.1.0
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -122,15 +122,15 @@ dependencies:
|
|
122
122
|
requirements:
|
123
123
|
- - ~>
|
124
124
|
- !ruby/object:Gem::Version
|
125
|
-
version: 1.0
|
125
|
+
version: 1.1.0
|
126
126
|
- !ruby/object:Gem::Dependency
|
127
|
-
name: cinch
|
127
|
+
name: cinch-toolbox
|
128
128
|
requirement: !ruby/object:Gem::Requirement
|
129
129
|
none: false
|
130
130
|
requirements:
|
131
131
|
- - ~>
|
132
132
|
- !ruby/object:Gem::Version
|
133
|
-
version:
|
133
|
+
version: 1.1.0
|
134
134
|
type: :runtime
|
135
135
|
prerelease: false
|
136
136
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -138,7 +138,7 @@ dependencies:
|
|
138
138
|
requirements:
|
139
139
|
- - ~>
|
140
140
|
- !ruby/object:Gem::Version
|
141
|
-
version:
|
141
|
+
version: 1.1.0
|
142
142
|
- !ruby/object:Gem::Dependency
|
143
143
|
name: tumblr-rb
|
144
144
|
requirement: !ruby/object:Gem::Requirement
|
@@ -191,7 +191,8 @@ files:
|
|
191
191
|
- spec/cinch-links-tumblr_spec.rb
|
192
192
|
- spec/spec_helper.rb
|
193
193
|
homepage: https://github.com/bhaberer/cinch-links-tumblr
|
194
|
-
licenses:
|
194
|
+
licenses:
|
195
|
+
- MIT
|
195
196
|
post_install_message:
|
196
197
|
rdoc_options: []
|
197
198
|
require_paths:
|