cinch-urbandict 1.0.4 → 1.0.5

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
- !binary "U0hBMQ==":
3
- metadata.gz: ef763c1add5d934d58eee962cd4965e133f8595f
4
- data.tar.gz: ea5050c3a10bee60f8f855efec9046a35aed0d2b
2
+ SHA1:
3
+ metadata.gz: eb9dcdf12ce886de2a8ac6ff630219a5039e710b
4
+ data.tar.gz: 1dc9d57c782c678d9507aee7e8b6ecaf77c9a977
5
5
  SHA512:
6
- metadata.gz: 190b47a4636f039d7f20fbeaa680a073e6efa27cf2fef863ea380f3392da9f89c9feb065b72285dbffe8e9d70c08b9a7879b50056ea0a6792b9dc11d4ab08d8e
7
- data.tar.gz: 4344651cf1f5f9e695554e3b8f85a0ff8a4a26b15755c6e6e99128db2c2b02692fda67ea84394d6f03b200469a647c1c2d382a37d3327e447fe4fe71cb8f5271
6
+ metadata.gz: d2a22c9be8b81ccb171e64a6be4c044bf774644092b7bc0e1d08409bf2bc3879bafbbb7f52186da2f2e6839ff4f2c0b84490a971247c15b670faa5da5e3074c9
7
+ data.tar.gz: 91438817450c8cb590c4e79e1c7e5bb25eba34d8432600a1e2766c7b5bc7733d72166c6c15eb023d3b2dd6f16883c70c286f005a1744633cb3685137f13098df
@@ -1,8 +1,16 @@
1
1
  language: ruby
2
+ addons:
3
+ code_climate:
4
+ repo_token: 8427e4894ac96f71edfdf334c892b27bc647dafd5a72ac7c0f366574fe67df0e
5
+ before_install:
6
+ - gem update --system
7
+ - gem update bundler
2
8
  env:
3
9
  global:
4
10
  - "JRUBY_OPTS=-Xcext.enabled=true"
5
11
  rvm:
12
+ - 2.3.0
13
+ - 2.2.0
6
14
  - 2.1.0
7
15
  - 2.0.0
8
16
  - 1.9.3
@@ -15,9 +23,13 @@ rvm:
15
23
  - ree
16
24
  matrix:
17
25
  allow_failures:
26
+ - rvm: 1.9.3
27
+ - rvm: 1.9.2
28
+ - rvm: 1.8.7
18
29
  - rvm: 1.8.7
19
30
  - rvm: ree
20
31
  - rvm: jruby-18mode
21
32
  - rvm: jruby-19mode
22
33
  - rvm: jruby-head
34
+ - rvm: ruby-head
23
35
  fast_finish: true
@@ -20,9 +20,10 @@ Gem::Specification.new do |gem|
20
20
 
21
21
  gem.add_development_dependency 'rake', '~> 10'
22
22
  gem.add_development_dependency 'rspec', '~> 3'
23
- gem.add_development_dependency 'coveralls', '~> 0.7'
24
- gem.add_development_dependency 'cinch-test', '~> 0.1', '>= 0.1.0'
23
+ gem.add_development_dependency 'cinch-test', '~> 0.1', '>= 0.1.1'
24
+ gem.add_development_dependency 'codeclimate-test-reporter', '~> 0.4'
25
+
25
26
  gem.add_dependency 'cinch', '~> 2'
26
- gem.add_dependency 'cinch-cooldown', '~> 1.1', '>= 1.1.1'
27
+ gem.add_dependency 'cinch-cooldown', '~> 1.1', '>= 1.1.7'
27
28
  gem.add_dependency 'cinch-toolbox', '~> 1.1'
28
29
  end
@@ -26,7 +26,8 @@ module Cinch
26
26
  term = URI.escape(term, Regexp.new("[^#{URI::PATTERN::UNRESERVED}]"))
27
27
 
28
28
  # Check if it's not defined.
29
- if Cinch::Toolbox.get_html_element(ud_url(term), '#not_defined_yet')
29
+ check = Cinch::Toolbox.get_html_element(ud_url(term), '.word')
30
+ if check && check == '¯\_(ツ)_/¯'
30
31
  return "Urban Dictionary ∴ #{term}: No definition available."
31
32
  end
32
33
 
@@ -3,7 +3,7 @@ module Cinch
3
3
  module Plugins
4
4
  # Versioning Info
5
5
  class UrbanDict
6
- VERSION = '1.0.4'
6
+ VERSION = '1.0.5'
7
7
  end
8
8
  end
9
9
  end
@@ -1,4 +1,6 @@
1
- require 'coveralls'
2
- Coveralls.wear!
1
+
2
+ require "codeclimate-test-reporter"
3
+ CodeClimate::TestReporter.start
4
+
3
5
  require 'cinch-urbandict'
4
6
  require 'cinch/test'
metadata CHANGED
@@ -1,123 +1,123 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cinch-urbandict
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Haberer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-02 00:00:00.000000000 Z
11
+ date: 2016-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '10'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '10'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '3'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '3'
41
41
  - !ruby/object:Gem::Dependency
42
- name: coveralls
42
+ name: cinch-test
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '0.1'
48
+ - - ">="
46
49
  - !ruby/object:Gem::Version
47
- version: '0.7'
50
+ version: 0.1.1
48
51
  type: :development
49
52
  prerelease: false
50
53
  version_requirements: !ruby/object:Gem::Requirement
51
54
  requirements:
52
- - - ~>
55
+ - - "~>"
56
+ - !ruby/object:Gem::Version
57
+ version: '0.1'
58
+ - - ">="
53
59
  - !ruby/object:Gem::Version
54
- version: '0.7'
60
+ version: 0.1.1
55
61
  - !ruby/object:Gem::Dependency
56
- name: cinch-test
62
+ name: codeclimate-test-reporter
57
63
  requirement: !ruby/object:Gem::Requirement
58
64
  requirements:
59
- - - ~>
60
- - !ruby/object:Gem::Version
61
- version: '0.1'
62
- - - ! '>='
65
+ - - "~>"
63
66
  - !ruby/object:Gem::Version
64
- version: 0.1.0
67
+ version: '0.4'
65
68
  type: :development
66
69
  prerelease: false
67
70
  version_requirements: !ruby/object:Gem::Requirement
68
71
  requirements:
69
- - - ~>
70
- - !ruby/object:Gem::Version
71
- version: '0.1'
72
- - - ! '>='
72
+ - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: 0.1.0
74
+ version: '0.4'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: cinch
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
- - - ~>
79
+ - - "~>"
80
80
  - !ruby/object:Gem::Version
81
81
  version: '2'
82
82
  type: :runtime
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
- - - ~>
86
+ - - "~>"
87
87
  - !ruby/object:Gem::Version
88
88
  version: '2'
89
89
  - !ruby/object:Gem::Dependency
90
90
  name: cinch-cooldown
91
91
  requirement: !ruby/object:Gem::Requirement
92
92
  requirements:
93
- - - ~>
93
+ - - "~>"
94
94
  - !ruby/object:Gem::Version
95
95
  version: '1.1'
96
- - - ! '>='
96
+ - - ">="
97
97
  - !ruby/object:Gem::Version
98
- version: 1.1.1
98
+ version: 1.1.7
99
99
  type: :runtime
100
100
  prerelease: false
101
101
  version_requirements: !ruby/object:Gem::Requirement
102
102
  requirements:
103
- - - ~>
103
+ - - "~>"
104
104
  - !ruby/object:Gem::Version
105
105
  version: '1.1'
106
- - - ! '>='
106
+ - - ">="
107
107
  - !ruby/object:Gem::Version
108
- version: 1.1.1
108
+ version: 1.1.7
109
109
  - !ruby/object:Gem::Dependency
110
110
  name: cinch-toolbox
111
111
  requirement: !ruby/object:Gem::Requirement
112
112
  requirements:
113
- - - ~>
113
+ - - "~>"
114
114
  - !ruby/object:Gem::Version
115
115
  version: '1.1'
116
116
  type: :runtime
117
117
  prerelease: false
118
118
  version_requirements: !ruby/object:Gem::Requirement
119
119
  requirements:
120
- - - ~>
120
+ - - "~>"
121
121
  - !ruby/object:Gem::Version
122
122
  version: '1.1'
123
123
  description: Cinch Plugin to fetch definition data from Urban Dictionary
@@ -127,8 +127,8 @@ executables: []
127
127
  extensions: []
128
128
  extra_rdoc_files: []
129
129
  files:
130
- - .gitignore
131
- - .travis.yml
130
+ - ".gitignore"
131
+ - ".travis.yml"
132
132
  - Gemfile
133
133
  - LICENSE.txt
134
134
  - README.md
@@ -149,17 +149,17 @@ require_paths:
149
149
  - lib
150
150
  required_ruby_version: !ruby/object:Gem::Requirement
151
151
  requirements:
152
- - - ! '>='
152
+ - - ">="
153
153
  - !ruby/object:Gem::Version
154
154
  version: '0'
155
155
  required_rubygems_version: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - ! '>='
157
+ - - ">="
158
158
  - !ruby/object:Gem::Version
159
159
  version: '0'
160
160
  requirements: []
161
161
  rubyforge_project:
162
- rubygems_version: 2.2.2
162
+ rubygems_version: 2.4.8
163
163
  signing_key:
164
164
  specification_version: 4
165
165
  summary: Cinch Plugin for Urban Dictionary