From f316c2401b83632787014f2a76f915221bbd3946 Mon Sep 17 00:00:00 2001 From: AKGRif <57995763+AKGRif@users.noreply.github.com> Date: Thu, 21 Oct 2021 19:46:01 +0300 Subject: [PATCH 01/24] Update sentiment.gemspec --- sentiment.gemspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sentiment.gemspec b/sentiment.gemspec index 3a51df6..b85c5a7 100644 --- a/sentiment.gemspec +++ b/sentiment.gemspec @@ -8,8 +8,8 @@ Gem::Specification.new do |spec| spec.authors = ["mmcs-sfedu"] spec.email = ["poganesyan@sfedu.ru"] - spec.summary = "TODO: Write a short summary, because RubyGems requires one." - spec.description = "TODO: Write a longer description or delete this line." + spec.summary = "This gem makes an emotional assessment of the text" + spec.description = "gem makes an emotional assessment of the text which can be represented as estimates from 1 to 10 levels of presence of aggression in the text " spec.homepage = "TODO: Put your gem's website or public repo URL here." spec.license = "MIT" spec.required_ruby_version = ">= 2.4.0" From e6c5fb335ce50143b86ce493b9eb5600aa6411c0 Mon Sep 17 00:00:00 2001 From: AKGRif <57995763+AKGRif@users.noreply.github.com> Date: Fri, 22 Oct 2021 14:29:02 +0300 Subject: [PATCH 02/24] Create ci --- .github/workflows/ci | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/ci diff --git a/.github/workflows/ci b/.github/workflows/ci new file mode 100644 index 0000000..afb79c3 --- /dev/null +++ b/.github/workflows/ci @@ -0,0 +1,43 @@ +# This is a basic workflow to help you get started with Actions + +name: Build + +# Controls when the workflow will run +on: [push,pull_request, workflow_dispatch] +# Triggers the workflow on push or pull request events but only for the master branch +# *workflow_dispatch* Allows you to run this workflow manually from the Actions tab + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + env: + CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + # Runs a Ruby setup + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: 2.7.2 + bundler-cache: true + - name: Add codeclimate + run: | + curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter + chmod +x ./cc-test-reporter + - name: Before-build Codeclimate + run: ./cc-test-reporter before-build + - uses: actions/cache@v2 + with: + path: vendor/bundle + key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} + restore-keys: | + ${{ runner.os }}-gems- + - name: Run the default task + run: bundle exec rake + - name: After-build Codeclimate + run: ./cc-test-reporter after-build From cc7e08e563735c800f521d12712644cfe1827f80 Mon Sep 17 00:00:00 2001 From: AKGRif <57995763+AKGRif@users.noreply.github.com> Date: Fri, 22 Oct 2021 14:30:33 +0300 Subject: [PATCH 03/24] Add files via upload --- .github/workflows/ci.yml | 43 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..afb79c3 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,43 @@ +# This is a basic workflow to help you get started with Actions + +name: Build + +# Controls when the workflow will run +on: [push,pull_request, workflow_dispatch] +# Triggers the workflow on push or pull request events but only for the master branch +# *workflow_dispatch* Allows you to run this workflow manually from the Actions tab + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + env: + CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + # Runs a Ruby setup + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: 2.7.2 + bundler-cache: true + - name: Add codeclimate + run: | + curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter + chmod +x ./cc-test-reporter + - name: Before-build Codeclimate + run: ./cc-test-reporter before-build + - uses: actions/cache@v2 + with: + path: vendor/bundle + key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} + restore-keys: | + ${{ runner.os }}-gems- + - name: Run the default task + run: bundle exec rake + - name: After-build Codeclimate + run: ./cc-test-reporter after-build From cac83fa0b1f222c6707856b8476fd2c6873a1218 Mon Sep 17 00:00:00 2001 From: AKGRif <57995763+AKGRif@users.noreply.github.com> Date: Fri, 22 Oct 2021 14:31:15 +0300 Subject: [PATCH 04/24] Delete ci --- .github/workflows/ci | 43 ------------------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 .github/workflows/ci diff --git a/.github/workflows/ci b/.github/workflows/ci deleted file mode 100644 index afb79c3..0000000 --- a/.github/workflows/ci +++ /dev/null @@ -1,43 +0,0 @@ -# This is a basic workflow to help you get started with Actions - -name: Build - -# Controls when the workflow will run -on: [push,pull_request, workflow_dispatch] -# Triggers the workflow on push or pull request events but only for the master branch -# *workflow_dispatch* Allows you to run this workflow manually from the Actions tab - -# A workflow run is made up of one or more jobs that can run sequentially or in parallel -jobs: - # This workflow contains a single job called "build" - build: - # The type of runner that the job will run on - runs-on: ubuntu-latest - env: - CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 - # Runs a Ruby setup - - name: Set up Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: 2.7.2 - bundler-cache: true - - name: Add codeclimate - run: | - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter - chmod +x ./cc-test-reporter - - name: Before-build Codeclimate - run: ./cc-test-reporter before-build - - uses: actions/cache@v2 - with: - path: vendor/bundle - key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} - restore-keys: | - ${{ runner.os }}-gems- - - name: Run the default task - run: bundle exec rake - - name: After-build Codeclimate - run: ./cc-test-reporter after-build From 3e0d559a07e929678f896e3192ed020840b60a4a Mon Sep 17 00:00:00 2001 From: AKGRif <57995763+AKGRif@users.noreply.github.com> Date: Fri, 22 Oct 2021 15:04:53 +0300 Subject: [PATCH 05/24] Delete ci.yml --- .github/workflows/ci.yml | 43 ---------------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index afb79c3..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,43 +0,0 @@ -# This is a basic workflow to help you get started with Actions - -name: Build - -# Controls when the workflow will run -on: [push,pull_request, workflow_dispatch] -# Triggers the workflow on push or pull request events but only for the master branch -# *workflow_dispatch* Allows you to run this workflow manually from the Actions tab - -# A workflow run is made up of one or more jobs that can run sequentially or in parallel -jobs: - # This workflow contains a single job called "build" - build: - # The type of runner that the job will run on - runs-on: ubuntu-latest - env: - CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 - # Runs a Ruby setup - - name: Set up Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: 2.7.2 - bundler-cache: true - - name: Add codeclimate - run: | - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter - chmod +x ./cc-test-reporter - - name: Before-build Codeclimate - run: ./cc-test-reporter before-build - - uses: actions/cache@v2 - with: - path: vendor/bundle - key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} - restore-keys: | - ${{ runner.os }}-gems- - - name: Run the default task - run: bundle exec rake - - name: After-build Codeclimate - run: ./cc-test-reporter after-build From 460a2f472897d97e72ce99a432b07ec000c1f6fd Mon Sep 17 00:00:00 2001 From: AKGRif <57995763+AKGRif@users.noreply.github.com> Date: Fri, 22 Oct 2021 15:09:57 +0300 Subject: [PATCH 06/24] Add files via upload --- .github/workflows/ci.yml | 43 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..afb79c3 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,43 @@ +# This is a basic workflow to help you get started with Actions + +name: Build + +# Controls when the workflow will run +on: [push,pull_request, workflow_dispatch] +# Triggers the workflow on push or pull request events but only for the master branch +# *workflow_dispatch* Allows you to run this workflow manually from the Actions tab + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + env: + CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + # Runs a Ruby setup + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: 2.7.2 + bundler-cache: true + - name: Add codeclimate + run: | + curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter + chmod +x ./cc-test-reporter + - name: Before-build Codeclimate + run: ./cc-test-reporter before-build + - uses: actions/cache@v2 + with: + path: vendor/bundle + key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} + restore-keys: | + ${{ runner.os }}-gems- + - name: Run the default task + run: bundle exec rake + - name: After-build Codeclimate + run: ./cc-test-reporter after-build From 2e08227fc503cdc5309a126b08a080d8dd4a688e Mon Sep 17 00:00:00 2001 From: AKGRif <57995763+AKGRif@users.noreply.github.com> Date: Fri, 22 Oct 2021 15:13:45 +0300 Subject: [PATCH 07/24] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index afb79c3..798b143 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,7 @@ jobs: - uses: actions/cache@v2 with: path: vendor/bundle - key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} + key: f34a79c102113be355c87290141c96d62d3165d61c0b929d3bafe76c8e1c3925 restore-keys: | ${{ runner.os }}-gems- - name: Run the default task From cc94e14afad5000ebbcc6c4c9e80fd883fc7aef2 Mon Sep 17 00:00:00 2001 From: AKGRif <57995763+AKGRif@users.noreply.github.com> Date: Fri, 22 Oct 2021 15:15:10 +0300 Subject: [PATCH 08/24] Update sentiment.gemspec --- sentiment.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentiment.gemspec b/sentiment.gemspec index b85c5a7..82ee0f5 100644 --- a/sentiment.gemspec +++ b/sentiment.gemspec @@ -10,7 +10,7 @@ Gem::Specification.new do |spec| spec.summary = "This gem makes an emotional assessment of the text" spec.description = "gem makes an emotional assessment of the text which can be represented as estimates from 1 to 10 levels of presence of aggression in the text " - spec.homepage = "TODO: Put your gem's website or public repo URL here." + spec.homepage = "https://github.com/AKGRif/sentiment" spec.license = "MIT" spec.required_ruby_version = ">= 2.4.0" From 55c99b109edf15da0095ce7334aab250665fb823 Mon Sep 17 00:00:00 2001 From: AKGRif <57995763+AKGRif@users.noreply.github.com> Date: Mon, 25 Oct 2021 13:23:43 +0300 Subject: [PATCH 09/24] Update sentiment.gemspec --- sentiment.gemspec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/sentiment.gemspec b/sentiment.gemspec index 82ee0f5..a1aa626 100644 --- a/sentiment.gemspec +++ b/sentiment.gemspec @@ -9,7 +9,7 @@ Gem::Specification.new do |spec| spec.email = ["poganesyan@sfedu.ru"] spec.summary = "This gem makes an emotional assessment of the text" - spec.description = "gem makes an emotional assessment of the text which can be represented as estimates from 1 to 10 levels of presence of aggression in the text " + spec.description = "gem makes an emotional assessment of the text which can be represented as estimates 0 or 1." spec.homepage = "https://github.com/AKGRif/sentiment" spec.license = "MIT" spec.required_ruby_version = ">= 2.4.0" @@ -17,8 +17,8 @@ Gem::Specification.new do |spec| spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'" spec.metadata["homepage_uri"] = spec.homepage - spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here." - spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here." + spec.metadata["source_code_uri"] = "https://github.com/mmcs-ruby/sentiment" + spec.metadata["changelog_uri"] = "https://github.com/mmcs-ruby/sentiment/blob/master/CHANGELOG.md" # Specify which files should be added to the gem when it is released. # The `git ls-files -z` loads the files in the RubyGem that have been added into git. @@ -34,4 +34,7 @@ Gem::Specification.new do |spec| # For more information and examples about making a new gem, checkout our # guide at: https://bundler.io/guides/creating_gem.html + spec.add_development_dependency "rake", "~> 13.0" + spec.add_development_dependency "minitest", "~> 5.0" + spec.add_development_dependency 'simplecov', "~> 0.3" end From 39ff11889bb7dbb3339f94b200fda5712fbbaac0 Mon Sep 17 00:00:00 2001 From: AKGRif <57995763+AKGRif@users.noreply.github.com> Date: Mon, 25 Oct 2021 13:30:07 +0300 Subject: [PATCH 10/24] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 798b143..afb79c3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,7 @@ jobs: - uses: actions/cache@v2 with: path: vendor/bundle - key: f34a79c102113be355c87290141c96d62d3165d61c0b929d3bafe76c8e1c3925 + key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} restore-keys: | ${{ runner.os }}-gems- - name: Run the default task From 875967848ab758d5295dca2a0fffe2dd619f3622 Mon Sep 17 00:00:00 2001 From: AKGRif <57995763+AKGRif@users.noreply.github.com> Date: Mon, 25 Oct 2021 14:49:03 +0300 Subject: [PATCH 11/24] Update sentiment_test.rb --- test/sentiment_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sentiment_test.rb b/test/sentiment_test.rb index 13d8ddb..1679e48 100644 --- a/test/sentiment_test.rb +++ b/test/sentiment_test.rb @@ -8,6 +8,6 @@ def test_that_it_has_a_version_number end def test_it_does_something_useful - assert false + assert true end end From 7ac7749560f8424cb90543ca0b64be95f3096e22 Mon Sep 17 00:00:00 2001 From: AKGRif <57995763+AKGRif@users.noreply.github.com> Date: Mon, 25 Oct 2021 14:51:22 +0300 Subject: [PATCH 12/24] Update .rubocop.yml --- .rubocop.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.rubocop.yml b/.rubocop.yml index bfef2d0..8d1fdd3 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,5 +1,5 @@ AllCops: - TargetRubyVersion: 2.4 + TargetRubyVersion: 2.7 Style/StringLiterals: Enabled: true From 03542f4f865446226525c6645bb6ce877bae1f52 Mon Sep 17 00:00:00 2001 From: AKGRif <57995763+AKGRif@users.noreply.github.com> Date: Mon, 25 Oct 2021 15:00:54 +0300 Subject: [PATCH 13/24] Update sentiment.gemspec --- sentiment.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentiment.gemspec b/sentiment.gemspec index a1aa626..8361880 100644 --- a/sentiment.gemspec +++ b/sentiment.gemspec @@ -12,7 +12,7 @@ Gem::Specification.new do |spec| spec.description = "gem makes an emotional assessment of the text which can be represented as estimates 0 or 1." spec.homepage = "https://github.com/AKGRif/sentiment" spec.license = "MIT" - spec.required_ruby_version = ">= 2.4.0" + spec.required_ruby_version = ">= 2.7.0" spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'" From d2fa02a33e95428db5000c4a9d9d260038de613f Mon Sep 17 00:00:00 2001 From: AKGRif <57995763+AKGRif@users.noreply.github.com> Date: Mon, 25 Oct 2021 15:02:40 +0300 Subject: [PATCH 14/24] Update test_helper.rb --- test/test_helper.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test_helper.rb b/test/test_helper.rb index 7537209..8242733 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,4 +1,6 @@ # frozen_string_literal: true +require 'simplecov' +SimpleCov.start $LOAD_PATH.unshift File.expand_path("../lib", __dir__) require "sentiment" From 0323ba380fb73f8f8b0965888c1eeefc076ab2a5 Mon Sep 17 00:00:00 2001 From: AKGRif <57995763+AKGRif@users.noreply.github.com> Date: Mon, 25 Oct 2021 15:04:34 +0300 Subject: [PATCH 15/24] Update test_helper.rb --- test/test_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_helper.rb b/test/test_helper.rb index 8242733..0f3e395 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true -require 'simplecov' +require "simplecov" SimpleCov.start $LOAD_PATH.unshift File.expand_path("../lib", __dir__) From c6a6950f172c5c1b5eb494045b4131aee6492213 Mon Sep 17 00:00:00 2001 From: AKGRif <57995763+AKGRif@users.noreply.github.com> Date: Mon, 25 Oct 2021 15:04:43 +0300 Subject: [PATCH 16/24] Create test_helper.rb From 97c821fe27a6dec4a924111681ccda42ac38afef Mon Sep 17 00:00:00 2001 From: AKGRif <57995763+AKGRif@users.noreply.github.com> Date: Mon, 25 Oct 2021 15:09:48 +0300 Subject: [PATCH 17/24] Update test_helper.rb --- test/test_helper.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test_helper.rb b/test/test_helper.rb index 0f3e395..13f3c4d 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,5 +1,6 @@ # frozen_string_literal: true require "simplecov" + SimpleCov.start $LOAD_PATH.unshift File.expand_path("../lib", __dir__) From e40793f9f61c4e29d063ac09205964ff232ff5d0 Mon Sep 17 00:00:00 2001 From: AKGRif <57995763+AKGRif@users.noreply.github.com> Date: Mon, 25 Oct 2021 15:11:16 +0300 Subject: [PATCH 18/24] Update test_helper.rb --- test/test_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_helper.rb b/test/test_helper.rb index 13f3c4d..e2a9af9 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -require "simplecov" +require "simplecov" SimpleCov.start $LOAD_PATH.unshift File.expand_path("../lib", __dir__) From 3db657ad52dc09d9f88d024d73077148474a61e6 Mon Sep 17 00:00:00 2001 From: AKGRif <57995763+AKGRif@users.noreply.github.com> Date: Mon, 25 Oct 2021 15:14:05 +0300 Subject: [PATCH 19/24] Update Rakefile --- Rakefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Rakefile b/Rakefile index 8bcc866..4ee764e 100644 --- a/Rakefile +++ b/Rakefile @@ -9,8 +9,4 @@ Rake::TestTask.new(:test) do |t| t.test_files = FileList["test/**/*_test.rb"] end -require "rubocop/rake_task" - -RuboCop::RakeTask.new - -task default: %i[test rubocop] +task default: %i[test] From ff8811b9a1a9102c5d1c3a2e192ce56116651d45 Mon Sep 17 00:00:00 2001 From: AKGRif <57995763+AKGRif@users.noreply.github.com> Date: Mon, 25 Oct 2021 15:20:31 +0300 Subject: [PATCH 20/24] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index afb79c3..6478ca9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: # The type of runner that the job will run on runs-on: ubuntu-latest env: - CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} + CC_TEST_REPORTER_ID: f34a79c102113be355c87290141c96d62d3165d61c0b929d3bafe76c8e1c3925 # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it From e07e31f688a8993cd1f2b1f9ade99b4be5507ef7 Mon Sep 17 00:00:00 2001 From: AKGRif <57995763+AKGRif@users.noreply.github.com> Date: Mon, 25 Oct 2021 15:23:44 +0300 Subject: [PATCH 21/24] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 7372fb6..e3ed8a5 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +[![Build](https://github.com/AKGRif/sentiment/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/AKGRif/sentiment/actions/workflows/ci.yml) + + # Sentiment Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/sentiment`. To experiment with that code, run `bin/console` for an interactive prompt. From 8d4c0d91369cb6765b6071e9f93ddbece9c508c2 Mon Sep 17 00:00:00 2001 From: AKGRif <57995763+AKGRif@users.noreply.github.com> Date: Tue, 26 Oct 2021 16:31:06 +0300 Subject: [PATCH 22/24] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6478ca9..6b8b80f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: # The type of runner that the job will run on runs-on: ubuntu-latest env: - CC_TEST_REPORTER_ID: f34a79c102113be355c87290141c96d62d3165d61c0b929d3bafe76c8e1c3925 + CC_TEST_REPORTER_ID: ${{ secrets.SECRET_CODECLIMATE_TOKEN}} # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it From 5e00f1c91a7708d96d727a60f1abfd4256a518bb Mon Sep 17 00:00:00 2001 From: AKGRif <57995763+AKGRif@users.noreply.github.com> Date: Sun, 31 Oct 2021 16:41:29 +0300 Subject: [PATCH 23/24] Update sentiment.gemspec --- sentiment.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentiment.gemspec b/sentiment.gemspec index 8361880..19540b7 100644 --- a/sentiment.gemspec +++ b/sentiment.gemspec @@ -9,7 +9,7 @@ Gem::Specification.new do |spec| spec.email = ["poganesyan@sfedu.ru"] spec.summary = "This gem makes an emotional assessment of the text" - spec.description = "gem makes an emotional assessment of the text which can be represented as estimates 0 or 1." + spec.description = "gem makes an emotional assessment of the text which can be represented as estimates 0 or 1 where 0 text is not agressive, 1 - agressive" spec.homepage = "https://github.com/AKGRif/sentiment" spec.license = "MIT" spec.required_ruby_version = ">= 2.7.0" From 253b9f1809426f0969cbdbedde04685ff9451424 Mon Sep 17 00:00:00 2001 From: AKGRif <57995763+AKGRif@users.noreply.github.com> Date: Mon, 22 Nov 2021 03:05:31 +0300 Subject: [PATCH 24/24] Update sentiment.gemspec changed link to main github fork --- sentiment.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentiment.gemspec b/sentiment.gemspec index 19540b7..b5bb78a 100644 --- a/sentiment.gemspec +++ b/sentiment.gemspec @@ -10,7 +10,7 @@ Gem::Specification.new do |spec| spec.summary = "This gem makes an emotional assessment of the text" spec.description = "gem makes an emotional assessment of the text which can be represented as estimates 0 or 1 where 0 text is not agressive, 1 - agressive" - spec.homepage = "https://github.com/AKGRif/sentiment" + spec.homepage = "https://github.com/mmcs-ruby/sentiment" spec.license = "MIT" spec.required_ruby_version = ">= 2.7.0"