Skip to content

Commit 15715e4

Browse files
committed
Merge pull request #16 from twingly/changelog
Generate Changelog (with instructions to update it)
2 parents f98e395 + e4ea3cf commit 15715e4

File tree

4 files changed

+69
-4
lines changed

4 files changed

+69
-4
lines changed

CHANGELOG.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Change Log
2+
3+
## [2.0.0](https://github.com/twingly/twingly-analytics-api-ruby/tree/2.0.0) (2015-09-14)
4+
[Full Changelog](https://github.com/twingly/twingly-analytics-api-ruby/compare/1.0.1...2.0.0)
5+
6+
**Implemented enhancements:**
7+
8+
- Release gem to rubygems.org [\#10](https://github.com/twingly/twingly-analytics-api-ruby/issues/10)
9+
10+
**Merged pull requests:**
11+
12+
- Improve time pagination \(breaking compatibility for Query\#start\_time and Query\#end\_time\) [\#15](https://github.com/twingly/twingly-analytics-api-ruby/pull/15) ([jage](https://github.com/jage))
13+
14+
## [1.0.1](https://github.com/twingly/twingly-analytics-api-ruby/tree/1.0.1) (2015-04-29)
15+
[Full Changelog](https://github.com/twingly/twingly-analytics-api-ruby/compare/1.0.0...1.0.1)
16+
17+
**Fixed bugs:**
18+
19+
- Support Ruby 2.2 [\#12](https://github.com/twingly/twingly-analytics-api-ruby/issues/12)
20+
- HTTPS broke compatibility with Ruby 1.9.3 [\#8](https://github.com/twingly/twingly-analytics-api-ruby/issues/8)
21+
22+
**Closed issues:**
23+
24+
- Use the rspec-its gem [\#11](https://github.com/twingly/twingly-analytics-api-ruby/issues/11)
25+
26+
**Merged pull requests:**
27+
28+
- Fix deprecations [\#14](https://github.com/twingly/twingly-analytics-api-ruby/pull/14) ([walro](https://github.com/walro))
29+
- Support Ruby 2.2 [\#13](https://github.com/twingly/twingly-analytics-api-ruby/pull/13) ([dentarg](https://github.com/dentarg))
30+
- Use Faraday instead of Net::HTTP directly [\#9](https://github.com/twingly/twingly-analytics-api-ruby/pull/9) ([jage](https://github.com/jage))
31+
32+
## [1.0.0](https://github.com/twingly/twingly-analytics-api-ruby/tree/1.0.0) (2014-10-30)
33+
**Implemented enhancements:**
34+
35+
- Use HTTPS for API access [\#7](https://github.com/twingly/twingly-analytics-api-ruby/issues/7)
36+
- Remove swedish comment [\#5](https://github.com/twingly/twingly-analytics-api-ruby/issues/5)
37+
- Rewrite history to remove huge vcr-cassettes [\#4](https://github.com/twingly/twingly-analytics-api-ruby/issues/4)
38+
- Remove humongous vcr cassettes [\#1](https://github.com/twingly/twingly-analytics-api-ruby/issues/1)
39+
40+
**Closed issues:**
41+
42+
- Add a LICENSE [\#6](https://github.com/twingly/twingly-analytics-api-ruby/issues/6)
43+
- Wrap lines at 72 characters [\#2](https://github.com/twingly/twingly-analytics-api-ruby/issues/2)
44+
45+
**Merged pull requests:**
46+
47+
- Refactor to improve readability [\#3](https://github.com/twingly/twingly-analytics-api-ruby/pull/3) ([jage](https://github.com/jage))
48+
49+
50+
51+
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ Too learn more about the capabilities of this API you should read the [Twingly A
4444
* API key, contact sales@twingly.com to get one
4545
* Ruby 1.9, 2.0, 2.1, 2.2
4646

47+
## Development and release
48+
49+
* Bump version in `lib/twingly-analytics/version.rb`, follow [Semantic Versioning 2.0.0](http://semver.org/)
50+
* Create a git tag and push to GitHub
51+
* Build and release gem to https://rubygems.org/
52+
* Make sure the master branch has an up-to-date changelog. Generate with `rake changelog`. Set `CHANGELOG_GITHUB_TOKEN` to a personal access token to increase the API rate limit. (The changelog uses [GitHub Changelog Generator](https://github.com/skywinder/github-changelog-generator/))
53+
4754
## License
4855

4956
The MIT License (MIT)

Rakefile

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
1-
require 'rake'
2-
require 'bundler/gem_tasks'
1+
require "rake"
2+
require "bundler/setup"
3+
require "bundler/gem_tasks"
34

45
desc "Run specs"
56
task :spec do
6-
require 'bundler/setup'
7-
require 'rspec/core/rake_task'
7+
require "rspec/core/rake_task"
88
RSpec::Core::RakeTask.new(:spec) do |t|
99
t.rspec_opts = %w(-fd -c)
1010
end
1111
end
1212

13+
require "github_changelog_generator/task"
14+
GitHubChangelogGenerator::RakeTask.new(:changelog) do |config|
15+
config.user = "twingly"
16+
config.project = "twingly-analytics-api-ruby"
17+
end
18+
1319
desc "Synonym for spec"
1420
task :test => :spec
1521
desc "Synonym for spec"

twingly-analytics-api-ruby.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,5 @@ Gem::Specification.new do |spec|
2626
spec.add_development_dependency "vcr", "~> 2.6"
2727
spec.add_development_dependency "webmock", "~> 1.0"
2828
spec.add_development_dependency "rake", "~> 0"
29+
spec.add_development_dependency "github_changelog_generator", "~> 1.8"
2930
end

0 commit comments

Comments
 (0)