yegor256 / jekyll-chatgpt-translate

Automated translating of Jekyll pages via ChatGPT: all you need is just an OpenAI API key
https://rubygems.org/gems/jekyll-chatgpt-translate
MIT License
15 stars 1 forks source link

ping doesn't work on relative paths #12

Closed yegor256 closed 1 year ago

yegor256 commented 1 year ago

@rultor release, tag is 0.0.7

rultor commented 1 year ago

@rultor release, tag is 0.0.7

@yegor256 OK, I will release it now. Please check the progress here

rultor commented 1 year ago

@rultor release, tag is 0.0.7

@yegor256 Oops, I failed. You can see the full log here (spent 2min)

    \u001b[36mThen File "\u001b[36m\u001b[1m_site/2023/Hello-french.html\u001b[0m\u001b[0m\u001b[36m" exists\u001b[90m                    # features/step_definitions/steps.rb:52\u001b[0m\u001b[0m
    \u001b[36mAnd Exit code is zero\u001b[90m                                              # features/step_definitions/steps.rb:60\u001b[0m\u001b[0m
\u001b[31m      No such file or directory - tree (Errno::ENOENT)\u001b[0m
\u001b[31m      ./features/step_definitions/steps.rb:53:in ``'\u001b[0m
\u001b[31m      ./features/step_definitions/steps.rb:53:in `/^File "([^"]*)" exists$/'\u001b[0m
\u001b[31m      features/cli.feature:41:in `File "_site/2023-01-01-Hello-chinese.html" exists'\u001b[0m

Feature: Gem Package
  As a source code writer I want to be able to
  package the Gem into .gem file

  Scenario: Gem can be packaged                  \u001b[90m# features/gem_package.feature:5\u001b[0m
    \u001b[33mWhen it is Unix\u001b[90m                              # features/gem_package.feature:6\u001b[0m\u001b[0m
    \u001b[36mGiven I have a "\u001b[36m\u001b[1mexecs.rb\u001b[0m\u001b[0m\u001b[36m" file with content:\u001b[90m # features/step_definitions/steps.rb:38\u001b[0m\u001b[0m
\u001b[36m      """\u001b[0m
\u001b[36m      #!/usr/bin/env ruby\u001b[0m
\u001b[36m      require 'rubygems'\u001b[0m
\u001b[36m      spec = Gem::Specification::load('./spec.rb')\u001b[0m
\u001b[36m      """\u001b[0m
    \u001b[36mAnd I copy this gem into temp dir\u001b[90m            # features/step_definitions/steps.rb:78\u001b[0m\u001b[0m
    \u001b[36mWhen I run bash with:\u001b[90m                        # features/step_definitions/steps.rb:73\u001b[0m\u001b[0m
\u001b[36m      """\u001b[0m
\u001b[36m      set -x\u001b[0m
\u001b[36m      set -e\u001b[0m
\u001b[36m      cd jekyll-chatgpt-translate\u001b[0m
\u001b[36m      gem build jekyll-chatgpt-translate.gemspec\u001b[0m
\u001b[36m      gem specification --ruby jekyll-chatgpt-translate-*.gem > ../spec.rb\u001b[0m
\u001b[36m      cd ..\u001b[0m
\u001b[36m      ruby execs.rb\u001b[0m
\u001b[36m      """\u001b[0m
    \u001b[36mThen Exit code is zero\u001b[90m                       # features/step_definitions/steps.rb:60\u001b[0m\u001b[0m

\u001b[31mFailing Scenarios:\u001b[0m
\u001b[31mcucumber features/cli.feature:4\u001b[0m\u001b[90m # Scenario: Simple site\u001b[0m

2 scenarios (\u001b[31m1 failed\u001b[0m, \u001b[33m1 undefined\u001b[0m)
15 steps (\u001b[31m1 failed\u001b[0m, \u001b[36m6 skipped\u001b[0m, \u001b[33m1 undefined\u001b[0m, \u001b[32m7 passed\u001b[0m)
0m0.874s
\u001b[33m\u001b[0m
\u001b[33mYou can implement step definitions for undefined steps with these snippets:\u001b[0m
\u001b[33m\u001b[0m
\u001b[33mWhen('it is Unix') do\u001b[0m
\u001b[33m  pending # Write code here that turns the phrase above into concrete actions\u001b[0m
\u001b[33mend\u001b[0m

\u001b[1m\u001b[32m┌──────────────────────────────────────────────────────────────────────────────┐\u001b[0m\u001b[0m
\u001b[1m\u001b[32m│\u001b[0m\u001b[0m Share your Cucumber Report with your team at \u001b[4m\u001b[1m\u001b[36mhttps://reports.cucumber.io\u001b[0m\u001b[0m\u001b[0m     \u001b[1m\u001b[32m│\u001b[0m\u001b[0m
\u001b[1m\u001b[32m│\u001b[0m\u001b[0m                                                                              \u001b[1m\u001b[32m│\u001b[0m\u001b[0m
\u001b[1m\u001b[32m│\u001b[0m\u001b[0m Command line option:    \u001b[36m--publish\u001b[0m                                            \u001b[1m\u001b[32m│\u001b[0m\u001b[0m
\u001b[1m\u001b[32m│\u001b[0m\u001b[0m Environment variable:   \u001b[36mCUCUMBER_PUBLISH_ENABLED\u001b[0m=\u001b[36mtrue\u001b[0m                        \u001b[1m\u001b[32m│\u001b[0m\u001b[0m
\u001b[1m\u001b[32m│\u001b[0m\u001b[0m cucumber.yml:           \u001b[36mdefault: --publish\u001b[0m                                   \u001b[1m\u001b[32m│\u001b[0m\u001b[0m
\u001b[1m\u001b[32m│\u001b[0m\u001b[0m                                                                              \u001b[1m\u001b[32m│\u001b[0m\u001b[0m
\u001b[1m\u001b[32m│\u001b[0m\u001b[0m More information at \u001b[4m\u001b[1m\u001b[36mhttps://cucumber.io/docs/cucumber/environment-variables/\u001b[0m\u001b[0m\u001b[0m \u001b[1m\u001b[32m│\u001b[0m\u001b[0m
\u001b[1m\u001b[32m│\u001b[0m\u001b[0m                                                                              \u001b[1m\u001b[32m│\u001b[0m\u001b[0m
\u001b[1m\u001b[32m│\u001b[0m\u001b[0m To disable this message, specify \u001b[1mCUCUMBER_PUBLISH_QUIET=true\u001b[0m or use the      \u001b[1m\u001b[32m│\u001b[0m\u001b[0m
\u001b[1m\u001b[32m│\u001b[0m\u001b[0m \u001b[1m--publish-quiet\u001b[0m option. You can also add this to your \u001b[1mcucumber.yml:\u001b[0m          \u001b[1m\u001b[32m│\u001b[0m\u001b[0m
\u001b[1m\u001b[32m│\u001b[0m\u001b[0m \u001b[1mdefault: --publish-quiet\u001b[0m                                                     \u001b[1m\u001b[32m│\u001b[0m\u001b[0m
\u001b[1m\u001b[32m└──────────────────────────────────────────────────────────────────────────────┘\u001b[0m\u001b[0m
container 8dc315dab13e86fd407bf300c0cf66606997d19115358713d36c011d537a2caa is dead
Mon 21 Aug 2023 08:57:48 AM CEST
yegor256 commented 1 year ago

@rultor release, tag is 0.0.7

rultor commented 1 year ago

@rultor release, tag is 0.0.7

@yegor256 OK, I will release it now. Please check the progress here

rultor commented 1 year ago

@rultor release, tag is 0.0.7

@yegor256 Done! FYI, the full log is here (took me 2min)