GithubHelp home page GithubHelp logo

Comments (11)

chaitanyakuber avatar chaitanyakuber commented on June 18, 2024

πŸ‘ To the above request. This causing some major issues in various build pipelines.

from slather.

dbworku avatar dbworku commented on June 18, 2024

+1

from slather.

Ashton-W avatar Ashton-W commented on June 18, 2024

@ayanonagon are you able to publish the latest version to rubygems.org?

from slather.

ayanonagon avatar ayanonagon commented on June 18, 2024

Yes. Learning how to publish Ruby gems right now, but should be up within the hour. πŸ‘―

from slather.

ayanonagon avatar ayanonagon commented on June 18, 2024

Done. Let me know if I messed up. 😬

from slather.

Ashton-W avatar Ashton-W commented on June 18, 2024

@ayanonagon I think there is a problem with the gem on rubygems :(

Some coverage options aren't working anymore, but they work if I build the 1.8.2 tag from source.
Also the output of coverage --help is different and has a bunch of stuff missing and mislabled`.

$ gem install slather --version 1.8.2
$ slather coverage --help
Usage:
    slather coverage [OPTIONS] [xcodeproj]

Parameters:
    [xcodeproj]                   Path to the xcodeproj

Options:
    --travis, -t                  Indicate that the builds are running on Travis CI
    --coveralls, -c               Post coverage results to coveralls
    --simple-output, -s           Post coverage results to coveralls
    --build-directory, -b BUILD_DIRECTORY The directory where gcno files will be written to. Defaults to derived data.
    --source-directory SOURCE_DIRECTORY The directory where your source files are located.
    --ignore, -i IGNORE           ignore files conforming to a path
    -h, --help                    print help

The output from a locally built slather:

Usage:
    slather coverage [OPTIONS] [xcodeproj]

Parameters:
    [xcodeproj]                   Path to the xcodeproj

Options:
    --travis, -t                  Indicate that the builds are running on Travis CI
    --circleci                    Indicate that the builds are running on CircleCI
    --jenkins                     Indicate that the builds are running on Jenkins
    --buildkite                   Indicate that the builds are running on Buildkite
    --coveralls, -c               Post coverage results to coveralls
    --simple-output, -s           Output coverage results to the terminal
    --gutter-json, -g             Output coverage results as Gutter JSON format
    --cobertura-xml, -x           Output coverage results as Cobertura XML format
    --html                        Output coverage results as static html pages
    --show                        Indicate that the static html pages will open automatically
    --build-directory, -b BUILD_DIRECTORY The directory where gcno files will be written to. Defaults to derived data.
    --source-directory SOURCE_DIRECTORY The directory where your source files are located.
    --output-directory OUTPUT_DIRECTORY The directory where your Cobertura XML report will be written to.
    --ignore, -i IGNORE           ignore files conforming to a path
    -h, --help                    print help

1.8.2 on RubyGems have been built from different source, right?
I've tested this on two machines.

from slather.

ayanonagon avatar ayanonagon commented on June 18, 2024

@Ashton-W Yikes, sorry about that! This is what happens when someone who doesn’t know much about Ruby does a release (aka me). πŸ˜ͺ All I did was run rake release from latest master, which is supposed to # Create tag v1.8.2 and build and push slather-1.8.2.gem to Rubygems. Please let me know how I can fix this. πŸ™ Thanks!

from slather.

Ashton-W avatar Ashton-W commented on June 18, 2024

Not sure what could of gone wrong. All I can think of is your working copy must have had changes?

Try a new clone, checkout v1.8.2.
Run rake install, then try out the gem slather coverage --help, output should be the full one I posted above.
Release again. Not sure if RubyGems will let you release 1.8.2 again, so we might have to release 1.8.3. For which you will need to update https://github.com/venmo/slather/blob/master/lib/slather/version.rb#L2

from slather.

tamastimar avatar tamastimar commented on June 18, 2024

@ayanonagon Once there is a new working release it seems you can remove the broken gem version by running gem yank GEM -v VERSION.

See here: http://help.rubygems.org/kb/gemcutter/removing-a-published-rubygem

from slather.

marklarr avatar marklarr commented on June 18, 2024

1.8.2 has been yanked and 1.8.3 has been pushed, which should be the right code. Try it out!

from slather.

Ashton-W avatar Ashton-W commented on June 18, 2024

Looks good, thanks!

from slather.

Related Issues (20)

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.