artemo 3.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.DS_Store +0 -0
- data/.gitignore +5 -0
- data/.gitlab-ci.yml +15 -0
- data/CHANGELOG +27 -0
- data/CONTRIBUTING.md +3 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +36 -0
- data/LICENSE +674 -0
- data/README.md +27 -0
- data/Rakefile +7 -0
- data/artemo.gemspec +22 -0
- data/bin/artemo +4 -0
- data/include/.DS_Store +0 -0
- data/include/database.yaml +8274 -0
- data/include/text.txt +25 -0
- data/lib/.DS_Store +0 -0
- data/lib/artemo/.DS_Store +0 -0
- data/lib/artemo/basic_emotions.rb +76 -0
- data/lib/artemo/common.rb +11 -0
- data/lib/artemo/complex_emotions.rb +43 -0
- data/lib/artemo/keywords.rb +11 -0
- data/lib/artemo/loader.rb +11 -0
- data/lib/artemo/result.rb +19 -0
- data/lib/artemo/version.rb +3 -0
- data/lib/artemo.rb +26 -0
- data/spec/.DS_Store +0 -0
- data/spec/test_artemo_basic_emotions_spec.rb +35 -0
- data/spec/test_artemo_complex_emotions_spec.rb +25 -0
- data/spec/test_artemo_keywords_spec.rb +27 -0
- data/spec/test_artemo_loader_spec.rb +16 -0
- metadata +117 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 1704f93ea019a00db86b24aecfb055e7830bebf8
|
|
4
|
+
data.tar.gz: 2bee9ae08a150d434852eeb42f2884403d0e3bba
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: bc4fc2b8f2209502b207448fb581bb008ddabeb37346be83d47e3150946f8ac3a58a7e2168882c5911800ffc8cfbcaeedbe63f950f76425d7828e39550829ef6
|
|
7
|
+
data.tar.gz: e4644818118b4f707c7d672da32f4d62db0db9938bd4e83b4544efc66b10d010d0c41bf7ee3c425ac6087a20bc48d2698c3f0cf290151e84f7ed03a6c65a4da1
|
data/.DS_Store
ADDED
|
Binary file
|
data/.gitlab-ci.yml
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
image: ruby:2.3.1
|
|
2
|
+
|
|
3
|
+
before_script:
|
|
4
|
+
- apt-get update >/dev/null
|
|
5
|
+
- apt-get install -y locales >/dev/null
|
|
6
|
+
- echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
|
|
7
|
+
- locale-gen en_US.UTF-8
|
|
8
|
+
- export LANG=en_US.UTF-8
|
|
9
|
+
- export LANGUAGE=en_US:en
|
|
10
|
+
- export LC_ALL=en_US.UTF-8
|
|
11
|
+
- bundle install --jobs $(nproc) --path=/cache/bundler
|
|
12
|
+
|
|
13
|
+
master:
|
|
14
|
+
script:
|
|
15
|
+
- bundle exec rake test
|
data/CHANGELOG
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
Version 3.0.0
|
|
2
|
+
|
|
3
|
+
* Rewritten, simpler and working.
|
|
4
|
+
|
|
5
|
+
Version 3.0.1
|
|
6
|
+
|
|
7
|
+
* Changed names of methods, add half of rspec tests, add Rakefile and Gemfile.
|
|
8
|
+
|
|
9
|
+
Version 3.0.2
|
|
10
|
+
|
|
11
|
+
* Add `rake file['']` to use on custom texts.
|
|
12
|
+
|
|
13
|
+
Version 3.0.3
|
|
14
|
+
|
|
15
|
+
* All rspec tests are write.
|
|
16
|
+
|
|
17
|
+
Version 3.0.4
|
|
18
|
+
|
|
19
|
+
* All documentation is write, add bin/artemo file and checked code by RuboCop, some methods change names.
|
|
20
|
+
|
|
21
|
+
Version 3.0.5
|
|
22
|
+
|
|
23
|
+
* Gem is ready.
|
|
24
|
+
|
|
25
|
+
Version 3.0.6
|
|
26
|
+
|
|
27
|
+
* Gem homepage.
|
data/CONTRIBUTING.md
ADDED
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
artemo (3.0.5)
|
|
5
|
+
|
|
6
|
+
GEM
|
|
7
|
+
remote: http://rubygems.org/
|
|
8
|
+
specs:
|
|
9
|
+
diff-lcs (1.2.5)
|
|
10
|
+
rake (11.3.0)
|
|
11
|
+
rspec (3.5.0)
|
|
12
|
+
rspec-core (~> 3.5.0)
|
|
13
|
+
rspec-expectations (~> 3.5.0)
|
|
14
|
+
rspec-mocks (~> 3.5.0)
|
|
15
|
+
rspec-core (3.5.4)
|
|
16
|
+
rspec-support (~> 3.5.0)
|
|
17
|
+
rspec-expectations (3.5.0)
|
|
18
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
19
|
+
rspec-support (~> 3.5.0)
|
|
20
|
+
rspec-mocks (3.5.0)
|
|
21
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
22
|
+
rspec-support (~> 3.5.0)
|
|
23
|
+
rspec-support (3.5.0)
|
|
24
|
+
yard (0.9.5)
|
|
25
|
+
|
|
26
|
+
PLATFORMS
|
|
27
|
+
ruby
|
|
28
|
+
|
|
29
|
+
DEPENDENCIES
|
|
30
|
+
artemo!
|
|
31
|
+
rake (~> 11.3)
|
|
32
|
+
rspec (~> 3.5)
|
|
33
|
+
yard (~> 0.9.5)
|
|
34
|
+
|
|
35
|
+
BUNDLED WITH
|
|
36
|
+
1.13.6
|