opener-opinion-detector-basic 3.1.1 → 3.1.2

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
2
  SHA1:
3
- metadata.gz: f7754e1b84f37755bfeadff1c70fe7aeb8386a37
4
- data.tar.gz: fae3879266340ea656422fb16b9e3f4c17d1bb7d
3
+ metadata.gz: 0a65342c8d95c02c282fbf90cccbc397b9d9233f
4
+ data.tar.gz: 8390fd4150cf63c801a1bcd27cb60858d36daf4e
5
5
  SHA512:
6
- metadata.gz: bea2552b5e25787f09050c9d1e299f63f29c1f885103dca65a3925d8f6169d40f658da46a5d69c4e1d3d8cb95dd88b7e41f5c2958c86a54fde3b55d5f1106c74
7
- data.tar.gz: e40877a4669a4b76db70548cc7c023b67ea61426ea593aa3a4311e5cb96186229a96fe444851cd008d8954644302f56b4ddd5046ea338bccfdcd7f7f6660b06a
6
+ metadata.gz: 5bbbb84831cc42fdb404652569ab41ad86a184b2574fbc2a018d7d52732edf4f9daa0fb0132d8beef2f5990ec687789f88a93aace2ac9aa0f56085dbee7cd3aa
7
+ data.tar.gz: 5c150a3cec3253f2eb4bea8bd3ae42b644b76b81fb0d6f5cedd8dcf95f7747f12977779048d7404827519e06f73b75baffee9f42150ff47fdf656b6b93f0134b
@@ -41,6 +41,22 @@ Opener::OpinionDetectorBasic::Processor.class_eval do
41
41
  add_method_tracer(:apply_conjunctions)
42
42
  end
43
43
 
44
+ Opener::OpinionDetectorBasic::Term.class_eval do
45
+ include NewRelic::Agent::Instrumentation::ControllerInstrumentation
46
+ include NewRelic::Agent::MethodTracer
47
+
48
+ add_method_tracer(:initialize)
49
+ add_method_tracer(:sentiment_modifier)
50
+ add_method_tracer(:polarity)
51
+ add_method_tracer(:target_ids)
52
+ add_method_tracer(:strength)
53
+ add_method_tracer(:get_sentence)
54
+ add_method_tracer(:is_intensifier?)
55
+ add_method_tracer(:is_shifter?)
56
+ add_method_tracer(:is_expression?)
57
+ add_method_tracer(:is_conjunction?)
58
+ end
59
+
44
60
  daemon = Opener::Daemons::Daemon.new(Opener::OpinionDetectorBasic)
45
61
 
46
62
  daemon.start
@@ -1,5 +1,5 @@
1
1
  module Opener
2
2
  class OpinionDetectorBasic
3
- VERSION = '3.1.1'
3
+ VERSION = '3.1.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,135 +1,135 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opener-opinion-detector-basic
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 3.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - development@olery.com
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-07 00:00:00.000000000 Z
11
+ date: 2015-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
+ name: opener-daemons
14
15
  requirement: !ruby/object:Gem::Requirement
15
16
  requirements:
16
- - - ~>
17
+ - - "~>"
17
18
  - !ruby/object:Gem::Version
18
19
  version: '2.2'
19
- name: opener-daemons
20
- prerelease: false
21
20
  type: :runtime
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: '2.2'
27
27
  - !ruby/object:Gem::Dependency
28
+ name: opener-webservice
28
29
  requirement: !ruby/object:Gem::Requirement
29
30
  requirements:
30
- - - ~>
31
+ - - "~>"
31
32
  - !ruby/object:Gem::Version
32
33
  version: '2.1'
33
- name: opener-webservice
34
- prerelease: false
35
34
  type: :runtime
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: '2.1'
41
41
  - !ruby/object:Gem::Dependency
42
+ name: opener-core
42
43
  requirement: !ruby/object:Gem::Requirement
43
44
  requirements:
44
- - - ~>
45
+ - - "~>"
45
46
  - !ruby/object:Gem::Version
46
47
  version: '2.2'
47
- name: opener-core
48
- prerelease: false
49
48
  type: :runtime
49
+ prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '2.2'
55
55
  - !ruby/object:Gem::Dependency
56
+ name: oga
56
57
  requirement: !ruby/object:Gem::Requirement
57
58
  requirements:
58
- - - ~>
59
+ - - "~>"
59
60
  - !ruby/object:Gem::Version
60
61
  version: '1.0'
61
- - - '>='
62
+ - - ">="
62
63
  - !ruby/object:Gem::Version
63
64
  version: 1.3.1
64
- name: oga
65
- prerelease: false
66
65
  type: :runtime
66
+ prerelease: false
67
67
  version_requirements: !ruby/object:Gem::Requirement
68
68
  requirements:
69
- - - ~>
69
+ - - "~>"
70
70
  - !ruby/object:Gem::Version
71
71
  version: '1.0'
72
- - - '>='
72
+ - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: 1.3.1
75
75
  - !ruby/object:Gem::Dependency
76
+ name: rspec
76
77
  requirement: !ruby/object:Gem::Requirement
77
78
  requirements:
78
- - - ~>
79
+ - - "~>"
79
80
  - !ruby/object:Gem::Version
80
81
  version: '3.0'
81
- name: rspec
82
- prerelease: false
83
82
  type: :development
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: '3.0'
89
89
  - !ruby/object:Gem::Dependency
90
+ name: cucumber
90
91
  requirement: !ruby/object:Gem::Requirement
91
92
  requirements:
92
- - - '>='
93
+ - - ">="
93
94
  - !ruby/object:Gem::Version
94
95
  version: '0'
95
- name: cucumber
96
- prerelease: false
97
96
  type: :development
97
+ prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
- - - '>='
100
+ - - ">="
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0'
103
103
  - !ruby/object:Gem::Dependency
104
+ name: rake
104
105
  requirement: !ruby/object:Gem::Requirement
105
106
  requirements:
106
- - - '>='
107
+ - - ">="
107
108
  - !ruby/object:Gem::Version
108
109
  version: '0'
109
- name: rake
110
- prerelease: false
111
110
  type: :development
111
+ prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
- - - '>='
114
+ - - ">="
115
115
  - !ruby/object:Gem::Version
116
116
  version: '0'
117
117
  - !ruby/object:Gem::Dependency
118
+ name: benchmark-ips
118
119
  requirement: !ruby/object:Gem::Requirement
119
120
  requirements:
120
- - - ~>
121
+ - - "~>"
121
122
  - !ruby/object:Gem::Version
122
123
  version: '2.0'
123
- name: benchmark-ips
124
- prerelease: false
125
124
  type: :development
125
+ prerelease: false
126
126
  version_requirements: !ruby/object:Gem::Requirement
127
127
  requirements:
128
- - - ~>
128
+ - - "~>"
129
129
  - !ruby/object:Gem::Version
130
130
  version: '2.0'
131
131
  description: Basic Opinion Detector.
132
- email:
132
+ email:
133
133
  executables:
134
134
  - opinion-detector-basic-server
135
135
  - opinion-detector-basic
@@ -137,47 +137,47 @@ executables:
137
137
  extensions: []
138
138
  extra_rdoc_files: []
139
139
  files:
140
+ - LICENSE.txt
141
+ - README.md
142
+ - bin/opinion-detector-basic
143
+ - bin/opinion-detector-basic-daemon
144
+ - bin/opinion-detector-basic-server
145
+ - config.ru
146
+ - exec/opinion-detector-basic.rb
140
147
  - lib/opener/opinion_detector_basic.rb
141
- - lib/opener/opinion_detector_basic/version.rb
142
- - lib/opener/opinion_detector_basic/term.rb
143
- - lib/opener/opinion_detector_basic/processor.rb
144
- - lib/opener/opinion_detector_basic/server.rb
145
148
  - lib/opener/opinion_detector_basic/cli.rb
146
149
  - lib/opener/opinion_detector_basic/opinion.rb
150
+ - lib/opener/opinion_detector_basic/processor.rb
147
151
  - lib/opener/opinion_detector_basic/public/markdown.css
152
+ - lib/opener/opinion_detector_basic/server.rb
153
+ - lib/opener/opinion_detector_basic/term.rb
154
+ - lib/opener/opinion_detector_basic/version.rb
148
155
  - lib/opener/opinion_detector_basic/views/index.erb
149
- - config.ru
150
156
  - opener-opinion-detector-basic.gemspec
151
- - README.md
152
- - LICENSE.txt
153
- - exec/opinion-detector-basic.rb
154
157
  - task/test.rake
155
- - bin/opinion-detector-basic-server
156
- - bin/opinion-detector-basic
157
- - bin/opinion-detector-basic-daemon
158
158
  homepage: http://opener-project.github.com/
159
159
  licenses:
160
160
  - Apache 2.0
161
161
  metadata: {}
162
- post_install_message:
162
+ post_install_message:
163
163
  rdoc_options: []
164
164
  require_paths:
165
165
  - lib
166
166
  required_ruby_version: !ruby/object:Gem::Requirement
167
167
  requirements:
168
- - - '>='
168
+ - - ">="
169
169
  - !ruby/object:Gem::Version
170
170
  version: 1.9.2
171
171
  required_rubygems_version: !ruby/object:Gem::Requirement
172
172
  requirements:
173
- - - '>='
173
+ - - ">="
174
174
  - !ruby/object:Gem::Version
175
175
  version: '0'
176
176
  requirements: []
177
- rubyforge_project:
178
- rubygems_version: 2.1.9
179
- signing_key:
177
+ rubyforge_project:
178
+ rubygems_version: 2.4.8
179
+ signing_key:
180
180
  specification_version: 4
181
181
  summary: Basic Opinion Detector.
182
182
  test_files: []
183
- has_rdoc:
183
+ has_rdoc: