sentimentalizer 0.1.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -6,7 +6,7 @@ source "http://rubygems.org"
6
6
  # Add dependencies to develop your gem here.
7
7
  # Include everything needed to run rake, tests, features, etc.
8
8
  group :development do
9
- gem "rspec", "~> 2.8.0"
9
+ gem "rspec", "~> 2.11.0"
10
10
  gem "rdoc", "~> 3.12"
11
11
  gem "jeweler", "~> 1.8.4"
12
12
  gem "simplecov", ">= 0"
data/Gemfile.lock CHANGED
@@ -13,14 +13,14 @@ GEM
13
13
  rake (0.9.2.2)
14
14
  rdoc (3.12)
15
15
  json (~> 1.4)
16
- rspec (2.8.0)
17
- rspec-core (~> 2.8.0)
18
- rspec-expectations (~> 2.8.0)
19
- rspec-mocks (~> 2.8.0)
20
- rspec-core (2.8.0)
21
- rspec-expectations (2.8.0)
22
- diff-lcs (~> 1.1.2)
23
- rspec-mocks (2.8.0)
16
+ rspec (2.11.0)
17
+ rspec-core (~> 2.11.0)
18
+ rspec-expectations (~> 2.11.0)
19
+ rspec-mocks (~> 2.11.0)
20
+ rspec-core (2.11.1)
21
+ rspec-expectations (2.11.3)
22
+ diff-lcs (~> 1.1.3)
23
+ rspec-mocks (2.11.3)
24
24
  simplecov (0.7.1)
25
25
  multi_json (~> 1.0)
26
26
  simplecov-html (~> 0.7.1)
@@ -32,5 +32,5 @@ PLATFORMS
32
32
  DEPENDENCIES
33
33
  jeweler (~> 1.8.4)
34
34
  rdoc (~> 3.12)
35
- rspec (~> 2.8.0)
35
+ rspec (~> 2.11.0)
36
36
  simplecov
data/README.md CHANGED
@@ -1,23 +1,27 @@
1
-
2
- = sentimentalizer
1
+ # sentimentalizer
3
2
 
4
3
  This is totally ripped off of from [sentimentalizer](https://github.com/kouphax/sentimentalizer/) which was inspired by [Sentan](https://github.com/martinrue/Sentan).
5
4
 
6
- This gem is designed to integrate directly with rails
7
-
8
- Instructions for use:
5
+ This gem is designed to integrate directly with rails.
9
6
 
10
- 1. Install gem using bundler gem "sentimentalizer", :git => "git@github.com:malavbhavsar/sentimentalizer.git"
7
+ ## Instructions for use
11
8
 
12
- 2. Create one initializer and require 'sentimentalizer'
9
+ 1. Install gem using bundler `gem "sentimentalizer"`
13
10
 
14
- 3. Run the Sentimentalizer.setup in initializer using after_initialize hook
11
+ 2. Run `rails g sentimentalizer`. This will generate an initializer file with after_initialize hook. It's basically training a model to use in the application. It will run everytime you start server or run any rake commands.
15
12
 
16
- 4. Finally, you can run Sentimentalizer.analyze("message or tweet or status")
13
+ 3. Now, you can run following after ```require "sentimentalizer"```
14
+ ```ruby
15
+ Sentimentalizer.analyze('message or tweet or status')
16
+ ```
17
17
 
18
- 5. You will get output something like this {'text' => 'i am so happy', 'probability' => '0.937', 'sentiment' => ':)' }
18
+ 4. You will get output like this
19
+ ```ruby
20
+ Sentimentalizer.analyze('i am so happy')
21
+ => {'text' => 'i am so happy', 'probability' => '0.937', 'sentiment' => ':)' }
22
+ ```
19
23
 
20
- == Contributing to sentimentalizer
24
+ ## Contributing to sentimentalizer
21
25
 
22
26
  * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
23
27
  * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
@@ -27,7 +31,7 @@ Instructions for use:
27
31
  * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
28
32
  * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
29
33
 
30
- == Copyright
34
+ ## Copyright
31
35
 
32
36
  Copyright (c) 2012 malavbhavsar. See LICENSE.txt for
33
37
  further details.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.2.1
@@ -0,0 +1,7 @@
1
+ class SentimentalizerGenerator < Rails::Generators::Base
2
+ source_root File.expand_path("../templates", __FILE__)
3
+ # all public methods in here will be run in order
4
+ def add_my_initializer
5
+ template "initializer.rb", "config/initializers/sentimentalizer_initializer.rb"
6
+ end
7
+ end
@@ -0,0 +1,7 @@
1
+ require 'sentimentalizer'
2
+
3
+ <%= Rails.application.class %>.configure do
4
+ config.after_initialize do
5
+ Sentimentalizer.setup
6
+ end
7
+ end
@@ -0,0 +1,8 @@
1
+
2
+ class InstallGenerator < Rails::Generators::Base
3
+ source_root File.expand_path("../templates", __FILE__)
4
+ # all public methods in here will be run in order
5
+ def add_my_initializer
6
+ template "initializer.rb", "config/initializers/sentimentalizer_initializer.rb"
7
+ end
8
+ end
@@ -0,0 +1,7 @@
1
+ require 'sentimentalizer'
2
+
3
+ Rails.application.configure do
4
+ config.after_initialize do
5
+ Sentimentalizer.setup
6
+ end
7
+ end
@@ -15,4 +15,4 @@ class Sentimentalizer
15
15
  @analyser.analyse(sentence).to_json
16
16
  end
17
17
 
18
- end
18
+ end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "sentimentalizer"
8
- s.version = "0.1.0"
8
+ s.version = "0.2.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["malavbhavsar"]
12
- s.date = "2012-11-07"
12
+ s.date = "2012-11-10"
13
13
  s.description = "Sentiment analysis with ruby."
14
14
  s.email = "malav.bhavsar@gmail.com"
15
15
  s.extra_rdoc_files = [
@@ -18,14 +18,6 @@ Gem::Specification.new do |s|
18
18
  ]
19
19
  s.files = [
20
20
  ".document",
21
- ".idea/.name",
22
- ".idea/encodings.xml",
23
- ".idea/misc.xml",
24
- ".idea/modules.xml",
25
- ".idea/scopes/scope_settings.xml",
26
- ".idea/sentimentalizer-master.iml",
27
- ".idea/vcs.xml",
28
- ".idea/workspace.xml",
29
21
  ".rspec",
30
22
  ".rvmrc",
31
23
  "Gemfile",
@@ -838,6 +830,10 @@ Gem::Specification.new do |s|
838
830
  "lib/engine/classifier.rb",
839
831
  "lib/engine/corpus.rb",
840
832
  "lib/engine/document.rb",
833
+ "lib/generators/sentimentalizer_generator.rb",
834
+ "lib/generators/templates/initializer.rb",
835
+ "lib/rails/generators/sentimentalizer/install/install_generator.rb",
836
+ "lib/rails/generators/sentimentalizer/install/templates/initializer.rb",
841
837
  "lib/sentimentalizer.rb",
842
838
  "sentimentalizer.gemspec",
843
839
  "spec/sentimentalizer_spec.rb",
@@ -853,18 +849,18 @@ Gem::Specification.new do |s|
853
849
  s.specification_version = 3
854
850
 
855
851
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
856
- s.add_development_dependency(%q<rspec>, ["~> 2.8.0"])
852
+ s.add_development_dependency(%q<rspec>, ["~> 2.11.0"])
857
853
  s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
858
854
  s.add_development_dependency(%q<jeweler>, ["~> 1.8.4"])
859
855
  s.add_development_dependency(%q<simplecov>, [">= 0"])
860
856
  else
861
- s.add_dependency(%q<rspec>, ["~> 2.8.0"])
857
+ s.add_dependency(%q<rspec>, ["~> 2.11.0"])
862
858
  s.add_dependency(%q<rdoc>, ["~> 3.12"])
863
859
  s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
864
860
  s.add_dependency(%q<simplecov>, [">= 0"])
865
861
  end
866
862
  else
867
- s.add_dependency(%q<rspec>, ["~> 2.8.0"])
863
+ s.add_dependency(%q<rspec>, ["~> 2.11.0"])
868
864
  s.add_dependency(%q<rdoc>, ["~> 3.12"])
869
865
  s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
870
866
  s.add_dependency(%q<simplecov>, [">= 0"])
@@ -1,18 +1,13 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
2
 
3
3
  describe "Sentimentalizer" do
4
- it "fails" do
5
- fail "hey buddy, you should probably rename this file and start specing for real"
4
+ before do
5
+ Sentimentalizer.setup
6
6
  end
7
- end
8
-
9
- describe 'sentimentalizer api' do
10
-
11
7
  it "will error without a valid input" do
12
- pending
8
+ expect{Sentimentalizer.analyze("")}.to raise_error
13
9
  end
14
-
15
10
  it "will return a vlid response with a valid input" do
16
- pending
11
+ JSON.parse(Sentimentalizer.analyze("I hate not tests"))["sentiment"].should eq(":(")
17
12
  end
18
13
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sentimentalizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.1
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: 2012-11-07 00:00:00.000000000 Z
12
+ date: 2012-11-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 2.8.0
21
+ version: 2.11.0
22
22
  type: :development
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: 2.8.0
29
+ version: 2.11.0
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: rdoc
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -84,14 +84,6 @@ extra_rdoc_files:
84
84
  - README.md
85
85
  files:
86
86
  - .document
87
- - .idea/.name
88
- - .idea/encodings.xml
89
- - .idea/misc.xml
90
- - .idea/modules.xml
91
- - .idea/scopes/scope_settings.xml
92
- - .idea/sentimentalizer-master.iml
93
- - .idea/vcs.xml
94
- - .idea/workspace.xml
95
87
  - .rspec
96
88
  - .rvmrc
97
89
  - Gemfile
@@ -904,6 +896,10 @@ files:
904
896
  - lib/engine/classifier.rb
905
897
  - lib/engine/corpus.rb
906
898
  - lib/engine/document.rb
899
+ - lib/generators/sentimentalizer_generator.rb
900
+ - lib/generators/templates/initializer.rb
901
+ - lib/rails/generators/sentimentalizer/install/install_generator.rb
902
+ - lib/rails/generators/sentimentalizer/install/templates/initializer.rb
907
903
  - lib/sentimentalizer.rb
908
904
  - sentimentalizer.gemspec
909
905
  - spec/sentimentalizer_spec.rb
@@ -923,7 +919,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
923
919
  version: '0'
924
920
  segments:
925
921
  - 0
926
- hash: -335243379
922
+ hash: -316156621
927
923
  required_rubygems_version: !ruby/object:Gem::Requirement
928
924
  none: false
929
925
  requirements:
data/.idea/.name DELETED
@@ -1 +0,0 @@
1
- sentimentalizer-master
data/.idea/encodings.xml DELETED
@@ -1,5 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
4
- </project>
5
-
data/.idea/misc.xml DELETED
@@ -1,26 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectResources">
4
- <default-html-doctype>$APPLICATION_HOME_DIR$/lib/rubymine.jar!/resources/html5-schema/html5.rnc</default-html-doctype>
5
- </component>
6
- <component name="ProjectRootManager" version="2" project-jdk-name="RVM: ruby-1.9.3-p194" project-jdk-type="RUBY_SDK" />
7
- <component name="SvnConfiguration" maxAnnotateRevisions="500" myUseAcceleration="nothing" myAutoUpdateAfterCommit="false" cleanupOnStartRun="false">
8
- <option name="USER" value="" />
9
- <option name="PASSWORD" value="" />
10
- <option name="mySSHConnectionTimeout" value="30000" />
11
- <option name="mySSHReadTimeout" value="30000" />
12
- <option name="LAST_MERGED_REVISION" />
13
- <option name="MERGE_DRY_RUN" value="false" />
14
- <option name="MERGE_DIFF_USE_ANCESTRY" value="true" />
15
- <option name="UPDATE_LOCK_ON_DEMAND" value="false" />
16
- <option name="IGNORE_SPACES_IN_MERGE" value="false" />
17
- <option name="DETECT_NESTED_COPIES" value="true" />
18
- <option name="CHECK_NESTED_FOR_QUICK_MERGE" value="false" />
19
- <option name="IGNORE_SPACES_IN_ANNOTATE" value="true" />
20
- <option name="SHOW_MERGE_SOURCES_IN_ANNOTATE" value="true" />
21
- <option name="FORCE_UPDATE" value="false" />
22
- <option name="IGNORE_EXTERNALS" value="false" />
23
- <myIsUseDefaultProxy>false</myIsUseDefaultProxy>
24
- </component>
25
- </project>
26
-
data/.idea/modules.xml DELETED
@@ -1,9 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectModuleManager">
4
- <modules>
5
- <module fileurl="file://$PROJECT_DIR$/.idea/sentimentalizer-master.iml" filepath="$PROJECT_DIR$/.idea/sentimentalizer-master.iml" />
6
- </modules>
7
- </component>
8
- </project>
9
-
@@ -1,5 +0,0 @@
1
- <component name="DependencyValidationManager">
2
- <state>
3
- <option name="SKIP_IMPORT_STATEMENTS" value="false" />
4
- </state>
5
- </component>
@@ -1,9 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="RUBY_MODULE" version="4">
3
- <component name="NewModuleRootManager">
4
- <content url="file://$MODULE_DIR$" />
5
- <orderEntry type="inheritedJdk" />
6
- <orderEntry type="sourceFolder" forTests="false" />
7
- </component>
8
- </module>
9
-
data/.idea/vcs.xml DELETED
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="VcsDirectoryMappings">
4
- <mapping directory="" vcs="" />
5
- </component>
6
- </project>
7
-
data/.idea/workspace.xml DELETED
@@ -1,467 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ChangeListManager">
4
- <list default="true" id="255f0277-ccac-4e44-84cd-843a552a12fb" name="Default" comment="" />
5
- <ignored path="sentimentalizer-master.iws" />
6
- <ignored path=".idea/workspace.xml" />
7
- <option name="TRACKING_ENABLED" value="true" />
8
- <option name="SHOW_DIALOG" value="false" />
9
- <option name="HIGHLIGHT_CONFLICTS" value="true" />
10
- <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
11
- <option name="LAST_RESOLUTION" value="IGNORE" />
12
- </component>
13
- <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
14
- <component name="CreatePatchCommitExecutor">
15
- <option name="PATCH_PATH" value="" />
16
- </component>
17
- <component name="DaemonCodeAnalyzer">
18
- <disable_hints />
19
- </component>
20
- <component name="FileEditorManager">
21
- <leaf>
22
- <file leaf-file-name=".gitignore" pinned="false" current="false" current-in-tab="false">
23
- <entry file="file://$PROJECT_DIR$/.gitignore">
24
- <provider selected="true" editor-type-id="text-editor">
25
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
26
- <folding />
27
- </state>
28
- </provider>
29
- </entry>
30
- </file>
31
- <file leaf-file-name="README.md" pinned="false" current="false" current-in-tab="false">
32
- <entry file="file://$PROJECT_DIR$/README.md">
33
- <provider selected="true" editor-type-id="text-editor">
34
- <state line="1" column="0" selection-start="16" selection-end="16" vertical-scroll-proportion="0.0">
35
- <folding />
36
- </state>
37
- </provider>
38
- </entry>
39
- </file>
40
- <file leaf-file-name="api.rb" pinned="false" current="false" current-in-tab="false">
41
- <entry file="file://$PROJECT_DIR$/lib/api/api.rb">
42
- <provider selected="true" editor-type-id="text-editor">
43
- <state line="5" column="45" selection-start="149" selection-end="149" vertical-scroll-proportion="0.0">
44
- <folding />
45
- </state>
46
- </provider>
47
- </entry>
48
- </file>
49
- <file leaf-file-name="analyser.rb" pinned="false" current="false" current-in-tab="false">
50
- <entry file="file://$PROJECT_DIR$/lib/engine/analyser.rb">
51
- <provider selected="true" editor-type-id="text-editor">
52
- <state line="26" column="0" selection-start="601" selection-end="601" vertical-scroll-proportion="0.0">
53
- <folding />
54
- </state>
55
- </provider>
56
- </entry>
57
- </file>
58
- <file leaf-file-name="classification_result.rb" pinned="false" current="false" current-in-tab="false">
59
- <entry file="file://$PROJECT_DIR$/lib/engine/classification_result.rb">
60
- <provider selected="true" editor-type-id="text-editor">
61
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
62
- <folding />
63
- </state>
64
- </provider>
65
- </entry>
66
- </file>
67
- <file leaf-file-name="classifier.rb" pinned="false" current="false" current-in-tab="false">
68
- <entry file="file://$PROJECT_DIR$/lib/engine/classifier.rb">
69
- <provider selected="true" editor-type-id="text-editor">
70
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
71
- <folding />
72
- </state>
73
- </provider>
74
- </entry>
75
- </file>
76
- <file leaf-file-name="corpus.rb" pinned="false" current="false" current-in-tab="false">
77
- <entry file="file://$PROJECT_DIR$/lib/engine/corpus.rb">
78
- <provider selected="true" editor-type-id="text-editor">
79
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
80
- <folding />
81
- </state>
82
- </provider>
83
- </entry>
84
- </file>
85
- <file leaf-file-name="document.rb" pinned="false" current="false" current-in-tab="false">
86
- <entry file="file://$PROJECT_DIR$/lib/engine/document.rb">
87
- <provider selected="true" editor-type-id="text-editor">
88
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
89
- <folding />
90
- </state>
91
- </provider>
92
- </entry>
93
- </file>
94
- <file leaf-file-name="engine.rb" pinned="false" current="true" current-in-tab="true">
95
- <entry file="file://$PROJECT_DIR$/lib/engine.rb">
96
- <provider selected="true" editor-type-id="text-editor">
97
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
98
- <folding />
99
- </state>
100
- </provider>
101
- </entry>
102
- </file>
103
- <file leaf-file-name="api_spec.rb" pinned="false" current="false" current-in-tab="false">
104
- <entry file="file://$PROJECT_DIR$/test/api_spec.rb">
105
- <provider selected="true" editor-type-id="text-editor">
106
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
107
- <folding />
108
- </state>
109
- </provider>
110
- </entry>
111
- </file>
112
- </leaf>
113
- </component>
114
- <component name="FindManager">
115
- <FindUsagesManager>
116
- <setting name="OPEN_NEW_TAB" value="false" />
117
- </FindUsagesManager>
118
- </component>
119
- <component name="IdeDocumentHistory">
120
- <option name="changedFiles">
121
- <list>
122
- <option value="$PROJECT_DIR$/lib/api/api.rb" />
123
- </list>
124
- </option>
125
- </component>
126
- <component name="ProjectFrameBounds">
127
- <option name="x" value="64" />
128
- <option name="y" value="-4" />
129
- <option name="width" value="1537" />
130
- <option name="height" value="905" />
131
- </component>
132
- <component name="ProjectLevelVcsManager" settingsEditedManually="false">
133
- <OptionsSetting value="true" id="Add" />
134
- <OptionsSetting value="true" id="Remove" />
135
- <OptionsSetting value="true" id="Checkout" />
136
- <OptionsSetting value="true" id="Update" />
137
- <OptionsSetting value="true" id="Status" />
138
- <OptionsSetting value="true" id="Edit" />
139
- <ConfirmationsSetting value="0" id="Add" />
140
- <ConfirmationsSetting value="0" id="Remove" />
141
- </component>
142
- <component name="ProjectReloadState">
143
- <option name="STATE" value="0" />
144
- </component>
145
- <component name="ProjectView">
146
- <navigator currentView="ProjectPane" proportions="" version="1" splitterProportion="0.5">
147
- <flattenPackages />
148
- <showMembers />
149
- <showModules />
150
- <showLibraryContents />
151
- <hideEmptyPackages />
152
- <abbreviatePackageNames />
153
- <autoscrollToSource />
154
- <autoscrollFromSource />
155
- <sortByType />
156
- </navigator>
157
- <panes>
158
- <pane id="ProjectPane">
159
- <subPane>
160
- <PATH>
161
- <PATH_ELEMENT>
162
- <option name="myItemId" value="sentimentalizer-master" />
163
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
164
- </PATH_ELEMENT>
165
- </PATH>
166
- <PATH>
167
- <PATH_ELEMENT>
168
- <option name="myItemId" value="sentimentalizer-master" />
169
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
170
- </PATH_ELEMENT>
171
- <PATH_ELEMENT>
172
- <option name="myItemId" value="sentimentalizer-master" />
173
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
174
- </PATH_ELEMENT>
175
- </PATH>
176
- <PATH>
177
- <PATH_ELEMENT>
178
- <option name="myItemId" value="sentimentalizer-master" />
179
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
180
- </PATH_ELEMENT>
181
- <PATH_ELEMENT>
182
- <option name="myItemId" value="sentimentalizer-master" />
183
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
184
- </PATH_ELEMENT>
185
- <PATH_ELEMENT>
186
- <option name="myItemId" value="test" />
187
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
188
- </PATH_ELEMENT>
189
- </PATH>
190
- <PATH>
191
- <PATH_ELEMENT>
192
- <option name="myItemId" value="sentimentalizer-master" />
193
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
194
- </PATH_ELEMENT>
195
- <PATH_ELEMENT>
196
- <option name="myItemId" value="sentimentalizer-master" />
197
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
198
- </PATH_ELEMENT>
199
- <PATH_ELEMENT>
200
- <option name="myItemId" value="lib" />
201
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
202
- </PATH_ELEMENT>
203
- </PATH>
204
- </subPane>
205
- </pane>
206
- <pane id="Scope" />
207
- </panes>
208
- </component>
209
- <component name="PropertiesComponent">
210
- <property name="options.splitter.main.proportions" value="0.3" />
211
- <property name="WebServerToolWindowFactoryState" value="false" />
212
- <property name="options.lastSelected" value="org.jetbrains.plugins.ruby.settings.RubyIdeSdkConfigurable" />
213
- <property name="options.splitter.details.proportions" value="0.2" />
214
- <property name="options.searchVisible" value="true" />
215
- </component>
216
- <component name="RecentsManager">
217
- <key name="MoveFile.RECENT_KEYS">
218
- <recent name="$PROJECT_DIR$" />
219
- <recent name="$PROJECT_DIR$/rb/lib" />
220
- </key>
221
- </component>
222
- <component name="RunManager">
223
- <configuration default="true" type="RSpecRunConfigurationType" factoryName="RSpec">
224
- <predefined_log_file id="RUBY_RSPEC" enabled="true" />
225
- <module name="" />
226
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
227
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
228
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
229
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
230
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
231
- <envs />
232
- <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
233
- <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
234
- <COVERAGE_PATTERN ENABLED="true">
235
- <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
236
- </COVERAGE_PATTERN>
237
- </EXTENSION>
238
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
239
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
240
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
241
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
242
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
243
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
244
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
245
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
246
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
247
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
248
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
249
- <method />
250
- </configuration>
251
- <configuration default="true" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest">
252
- <predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
253
- <module name="" />
254
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
255
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
256
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
257
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
258
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
259
- <envs />
260
- <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
261
- <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
262
- <COVERAGE_PATTERN ENABLED="true">
263
- <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
264
- </COVERAGE_PATTERN>
265
- </EXTENSION>
266
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
267
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
268
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="" />
269
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
270
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
271
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
272
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
273
- <method />
274
- </configuration>
275
- <configuration default="true" type="CucumberRunConfigurationType" factoryName="Cucumber">
276
- <predefined_log_file id="RUBY_CUCUMBER" enabled="true" />
277
- <module name="" />
278
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
279
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
280
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
281
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
282
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
283
- <envs>
284
- <env name="ANSICON" value="" />
285
- </envs>
286
- <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
287
- <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
288
- <COVERAGE_PATTERN ENABLED="true">
289
- <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
290
- </COVERAGE_PATTERN>
291
- </EXTENSION>
292
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*.feature" />
293
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
294
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
295
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
296
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TAGS_FILTER" VALUE="" />
297
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_NAME_FILTER" VALUE="" />
298
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_ARGS" VALUE="--color -r features" />
299
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
300
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
301
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="VERBOSE_OPTION" VALUE="false" />
302
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
303
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_RUNNER_PATH" VALUE="" />
304
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_RUNNER" VALUE="false" />
305
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SETTINGS_VERSION" VALUE="2" />
306
- <method />
307
- </configuration>
308
- <list size="0" />
309
- </component>
310
- <component name="ShelveChangesManager" show_recycled="false" />
311
- <component name="TaskManager">
312
- <task active="true" id="Default" summary="Default task">
313
- <created>1351913286920</created>
314
- <updated>1351913286920</updated>
315
- </task>
316
- <servers />
317
- </component>
318
- <component name="ToolWindowManager">
319
- <frame x="64" y="-4" width="1537" height="905" extended-state="6" />
320
- <editor active="false" />
321
- <layout>
322
- <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
323
- <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
324
- <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
325
- <window_info id="Heroku" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
326
- <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="true" content_ui="tabs" />
327
- <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.28619528" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
328
- <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
329
- <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
330
- <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
331
- <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
332
- <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
333
- <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
334
- <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
335
- <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
336
- <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
337
- <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
338
- <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
339
- <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
340
- </layout>
341
- </component>
342
- <component name="VcsContentAnnotationSettings">
343
- <option name="myLimit" value="2678400000" />
344
- </component>
345
- <component name="VcsManagerConfiguration">
346
- <option name="OFFER_MOVE_TO_ANOTHER_CHANGELIST_ON_PARTIAL_COMMIT" value="true" />
347
- <option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="true" />
348
- <option name="CHECK_NEW_TODO" value="true" />
349
- <option name="myTodoPanelSettings">
350
- <value>
351
- <are-packages-shown value="false" />
352
- <are-modules-shown value="false" />
353
- <flatten-packages value="false" />
354
- <is-autoscroll-to-source value="false" />
355
- </value>
356
- </option>
357
- <option name="PERFORM_UPDATE_IN_BACKGROUND" value="true" />
358
- <option name="PERFORM_COMMIT_IN_BACKGROUND" value="true" />
359
- <option name="PERFORM_EDIT_IN_BACKGROUND" value="true" />
360
- <option name="PERFORM_CHECKOUT_IN_BACKGROUND" value="true" />
361
- <option name="PERFORM_ADD_REMOVE_IN_BACKGROUND" value="true" />
362
- <option name="PERFORM_ROLLBACK_IN_BACKGROUND" value="false" />
363
- <option name="CHECK_LOCALLY_CHANGED_CONFLICTS_IN_BACKGROUND" value="false" />
364
- <option name="CHANGED_ON_SERVER_INTERVAL" value="60" />
365
- <option name="SHOW_ONLY_CHANGED_IN_SELECTION_DIFF" value="true" />
366
- <option name="CHECK_COMMIT_MESSAGE_SPELLING" value="true" />
367
- <option name="DEFAULT_PATCH_EXTENSION" value="patch" />
368
- <option name="SHORT_DIFF_HORISONTALLY" value="true" />
369
- <option name="SHORT_DIFF_EXTRA_LINES" value="2" />
370
- <option name="SOFT_WRAPS_IN_SHORT_DIFF" value="true" />
371
- <option name="INCLUDE_TEXT_INTO_PATCH" value="false" />
372
- <option name="INCLUDE_TEXT_INTO_SHELF" value="false" />
373
- <option name="SHOW_FILE_HISTORY_DETAILS" value="true" />
374
- <option name="SHOW_VCS_ERROR_NOTIFICATIONS" value="true" />
375
- <option name="FORCE_NON_EMPTY_COMMENT" value="false" />
376
- <option name="CLEAR_INITIAL_COMMIT_MESSAGE" value="false" />
377
- <option name="LAST_COMMIT_MESSAGE" />
378
- <option name="MAKE_NEW_CHANGELIST_ACTIVE" value="false" />
379
- <option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
380
- <option name="CHECK_FILES_UP_TO_DATE_BEFORE_COMMIT" value="false" />
381
- <option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" />
382
- <option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
383
- <option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
384
- <option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
385
- <option name="ACTIVE_VCS_NAME" />
386
- <option name="UPDATE_GROUP_BY_PACKAGES" value="false" />
387
- <option name="UPDATE_GROUP_BY_CHANGELIST" value="false" />
388
- <option name="SHOW_FILE_HISTORY_AS_TREE" value="false" />
389
- <option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" />
390
- </component>
391
- <component name="XDebuggerManager">
392
- <breakpoint-manager />
393
- </component>
394
- <component name="editorHistoryManager">
395
- <entry file="file://$PROJECT_DIR$/.gitignore">
396
- <provider selected="true" editor-type-id="text-editor">
397
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
398
- <folding />
399
- </state>
400
- </provider>
401
- </entry>
402
- <entry file="file://$PROJECT_DIR$/README.md">
403
- <provider selected="true" editor-type-id="text-editor">
404
- <state line="1" column="0" selection-start="16" selection-end="16" vertical-scroll-proportion="0.0">
405
- <folding />
406
- </state>
407
- </provider>
408
- </entry>
409
- <entry file="file://$PROJECT_DIR$/lib/engine/classification_result.rb">
410
- <provider selected="true" editor-type-id="text-editor">
411
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
412
- <folding />
413
- </state>
414
- </provider>
415
- </entry>
416
- <entry file="file://$PROJECT_DIR$/lib/engine/classifier.rb">
417
- <provider selected="true" editor-type-id="text-editor">
418
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
419
- <folding />
420
- </state>
421
- </provider>
422
- </entry>
423
- <entry file="file://$PROJECT_DIR$/lib/engine/document.rb">
424
- <provider selected="true" editor-type-id="text-editor">
425
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
426
- <folding />
427
- </state>
428
- </provider>
429
- </entry>
430
- <entry file="file://$PROJECT_DIR$/lib/api/api.rb">
431
- <provider selected="true" editor-type-id="text-editor">
432
- <state line="5" column="45" selection-start="149" selection-end="149" vertical-scroll-proportion="0.0">
433
- <folding />
434
- </state>
435
- </provider>
436
- </entry>
437
- <entry file="file://$PROJECT_DIR$/lib/engine/analyser.rb">
438
- <provider selected="true" editor-type-id="text-editor">
439
- <state line="26" column="0" selection-start="601" selection-end="601" vertical-scroll-proportion="0.0">
440
- <folding />
441
- </state>
442
- </provider>
443
- </entry>
444
- <entry file="file://$PROJECT_DIR$/test/api_spec.rb">
445
- <provider selected="true" editor-type-id="text-editor">
446
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
447
- <folding />
448
- </state>
449
- </provider>
450
- </entry>
451
- <entry file="file://$PROJECT_DIR$/lib/engine/corpus.rb">
452
- <provider selected="true" editor-type-id="text-editor">
453
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
454
- <folding />
455
- </state>
456
- </provider>
457
- </entry>
458
- <entry file="file://$PROJECT_DIR$/lib/engine.rb">
459
- <provider selected="true" editor-type-id="text-editor">
460
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
461
- <folding />
462
- </state>
463
- </provider>
464
- </entry>
465
- </component>
466
- </project>
467
-