GithubHelp home page GithubHelp logo

Comments (4)

luislavena avatar luislavena commented on July 18, 2024

Hello,

Funny you link to Yehuda post, please see my comments in response to him about that.

gemspec are build artifacts and because of that, shouldn't be under version control.

If you send a patch that avoid the duplication of the Gem::Specification between the rakefile and the gemspec and do not affect other aspects of the workflow I will include it.

Cheers.

from rb-readline.

til avatar til commented on July 18, 2024

Oh - sorry about that, funny indeed. I got so used to being able to specify a git repo in a bundler Gemfile that I took it for granted that it is standard and thought a missing gemspec is just an oversight. I should have read all of the discussion below that blog post before making dumb requests.

from rb-readline.

luislavena avatar luislavena commented on July 18, 2024

@til is not a dumb request, is a different approach of development that I'm not fond with. It assumes a workflow where you use gem build to build your gems, I rather prefer Gem::PackageTask so I can package a zip file too.

gem build doesn't provide that, and I need to type more 😉

Still, as said before, if you send a pull request that creates the gemspec, remove the duplication in the rakefile and I can still benefit from rake package to generate my zip file and the gem, I will commit it.

Hint: you can use Gem::Specification.load to load the gemspec from the file.
Hint2: you can freely move rbreadline version information into it's own file so require is more easy.

Knock yourself out 😃

from rb-readline.

til avatar til commented on July 18, 2024

Thanks for the hints, I want to look into it, but no guarantees ...

from rb-readline.

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.