Giter VIP home page Giter VIP logo

embulk-util-rubytime's Introduction

Almost Ruby-compatible date-time processor for Embulk and Embulk plugins

For Embulk plugin developers

For Maintainers

Release

Modify version in build.gradle at a detached commit, and then tag the commit with an annotation.

git checkout --detach master

(Edit: Remove "-SNAPSHOT" in "version" in build.gradle.)

git add build.gradle

git commit -m "Release vX.Y.Z"

git tag -a vX.Y.Z

(Edit: Write a tag annotation in the changelog format.)

See Keep a Changelog for the changelog format. We adopt a part of it for Git's tag annotation like below.

## [X.Y.Z] - YYYY-MM-DD

### Added
- Added a feature.

### Changed
- Changed something.

### Fixed
- Fixed a bug.

Push the annotated tag, then. It triggers a release operation on GitHub Actions after approval.

git push -u origin vX.Y.Z

embulk-util-rubytime's People

Contributors

dependabot[bot] avatar dmikurube avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

embulk-util-rubytime's Issues

Confirm to have tests equivalent with embulk-core

Java src/test/java

  • org/embulk/config/TestConfigSource.java
    • Including some tests w/ TimestampParser, but just using.
  • org/embulk/spi/time/TestRubyTimeFormat.java
    • Same tests in org/embulk/util/rubytime/TestFormat.java
  • org/embulk/spi/time/TestTimeZoneIds.java
    • Most regional timezones (ex. Asia/Taipei) are not supported in embulk-util-rubytime.
    • Some are tested in org/embulk/util/rubytime/TestTimeZones.java.
    • To be tested with LegacyEmbulkZones.java on the Embulk side.
  • org/embulk/spi/time/TestTimestamp.java
    • Timestamp is Embulk's original class.
    • Not tested in embulk-util-rubytime.
  • org/embulk/spi/time/TestTimestampFormatter.java
    • Formatter is not implemented yet.
    • Not tested in embulk-util-rubytime.
  • org/embulk/spi/time/TestTimestampFormatterParser.java
    • It consists of tests as org.embulk.spi.Timestamp.
    • Not tested in embulk-util-rubytime.
  • org/embulk/spi/time/TestTimestampParser.java
    • These tests are to be imported.
  • org/embulk/spi/time/TestTimestampSerDe.java
    • These tests are just for SerDe.
    • Not tested in embulk-util-rubytime.

Ruby src/test/ruby

  • monkey_strptime/mri/date/test_date_strptime.rb
    • Tested with org/embulk/util/rubytime/TestRubyDateTimeFormatterParseWithJRuby.java and src/test/resources/ruby/test/date/test_date_strptime.rb
  • vanilla/test_schema.rb
    • Not to be tested in embulk-util-rubytime.
  • vanilla/guess/test_schema_guess.rb
    • Not to be tested in embulk-util-rubytime.
  • vanilla/guess/test_time_format_guess.rb
    • Not to be tested in embulk-util-rubytime.
  • vanilla/time/test_timestamp_parser.rb
    • Some are identical with test_date_strptime.rb, but need to be investigated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.