Comments (4)
@myronmarston Sure. I was thinking I need to do that, but wasn't sure what number to give it (not to mention having to figure out github tags, release mechanism, etc.). If I'm interpreting the history correctly, I think you gave it 1.0.0.pre
initially. Under the circumstances (i.e. dead simplicity of the gem, maturity of RSpec 3.0), do you think this a reasonable time as any to use 1.0.0? If not, any other suggestions?
from rspec-its.
To cut a release, run bundle exec rake release
after committing an update to the version in version.rb
and the changelog. It'll take care of tagging it, pushings the tags, building the gem, pushing the gem to rubygems.org, etc.
I think 1.0.0 is fine.
from rspec-its.
Just a couple of follow-up questions if you don't mind.
I did the release while on a branch that had only been committed and not pushed, let alone merged to master. After I did the release, I then merged to master locally and pushed up because I couldn't figure out how to do a "pull request" on github from the tagged version to master. Can you tell me the "normal" process for doing all that or point me to something to read?
Also, I failed to update the URL for "full changelog" link in Changelog.md since there was no way for me to test the new tag reference prior to creating the tag and was thinking (naively) that the release process might automatically update that. Is the convention to just update the URL with expectation that it will work after the tag is created?
from rspec-its.
Usually when I do the release I do it locally on my master branch, and then the git push
performed by rake release
pushes directly to the master branch on github.
As for changing the "full changelog" link -- you don't need that in the first place if you don't want it. It's your gem. Maintain it how you like. It is kinda nice to have the link, though. I know the tagging convention (e.g. v1.0.0
), so I put that directly in the changelog link URL. You can always fix it after the fact. While the released gem will not have the correct link, people browse the github UI for the changelog more than dig through the released gem source, I think, so that's OK.
from rspec-its.
Related Issues (20)
- Option to deprecate `should` and `should_not` HOT 3
- The use of doubles or partial doubles from rspec-mocks outside of the per-test lifecycle is not supported. HOT 11
- Test failing due to change in RSpec's execution_result method HOT 2
- RSpec 3 is being released tomorrow HOT 1
- Accepting method arguments HOT 15
- It's not possible to focus on an `its` assertion. HOT 12
- 'its' for expecting exceptions HOT 2
- deep hash support HOT 3
- Should use `Object#public_send` instead of `Object#send`. HOT 16
- described_class is changed when using its HOT 1
- Possible to mark "its" examples as pending? HOT 1
- are_expected undefined HOT 3
- Please update to compatible with RSpec 3.2 HOT 2
- Link to documentation from Rubygems is wrong HOT 8
- rspec-its breaking InSpec HOT 4
- its against BasicObject fails to generate description HOT 1
- its([:attr]) has the proper value, its(:attr) does not HOT 1
- When requiring the Ruby's timeout library I can no longer retrieve a nested attribute named timeout on an OpenStruct HOT 3
- irb: warn: can't alias context from irb_context. HOT 3
- Is using `its` still recommended? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rspec-its.