capistrano-changelog 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. checksums.yaml +7 -0
  2. data/.rspec +1 -1
  3. data/Gemfile +5 -4
  4. data/README.md +10 -5
  5. data/capistrano-changelog.gemspec +8 -9
  6. data/lib/capistrano-changelog.rb +16 -22
  7. data/lib/capistrano/changelog.rb +7 -0
  8. data/lib/capistrano/v2/hooks.rb +12 -0
  9. data/lib/capistrano/v2/recipes.rb +47 -0
  10. data/lib/capistrano/v3/tasks/changelog.rake +22 -0
  11. data/lib/changelog/git.rb +72 -0
  12. data/lib/changelog/history.rb +86 -0
  13. data/lib/changelog/release.rb +47 -0
  14. data/lib/changelog/stories_tracker.rb +39 -0
  15. data/lib/changelog/story.rb +29 -0
  16. data/lib/changelog/trackers/pivotal.rb +54 -0
  17. data/lib/{capistrano-changelog/release.rb → changelog/version.rb} +4 -3
  18. data/spec/lib/capistrano-changelog/git_spec.rb +117 -0
  19. data/spec/lib/capistrano-changelog/history_spec.rb +49 -0
  20. data/spec/lib/capistrano-changelog/release_spec.rb +65 -0
  21. data/spec/lib/capistrano-changelog/version_spec.rb +44 -0
  22. data/spec/spec_helper.rb +1 -1
  23. data/templates/changelog.erb +27 -11
  24. metadata +48 -74
  25. data/lib/capistrano-changelog/capistrno.rb +0 -15
  26. data/lib/capistrano-changelog/change_log.rb +0 -22
  27. data/lib/capistrano-changelog/git/lib.rb +0 -10
  28. data/lib/capistrano-changelog/git/tags_list.rb +0 -29
  29. data/lib/capistrano-changelog/pivotal/api.rb +0 -44
  30. data/lib/capistrano-changelog/pivotal/story.rb +0 -37
  31. data/lib/capistrano-changelog/version.rb +0 -3
  32. data/lib/capistrano-changelog/wrappers/changelog.rb +0 -21
  33. data/lib/capistrano-changelog/wrappers/release.rb +0 -35
  34. data/spec/lib/capistrano-changelog/wrappers/changelog_rspec.rb +0 -16
  35. data/spec/lib/capistrano-changelog/wrappers/release_spec.rb +0 -29
@@ -1,16 +0,0 @@
1
- require 'spec_helper'
2
-
3
- describe CapistranoChangelog::Wrappers::ChangeLog do
4
-
5
- let(:git) { mock(:git) }
6
- let(:tags) { mock(:tag_list) }
7
-
8
- describe ".date" do
9
-
10
- end
11
-
12
- describe ".releases" do
13
-
14
- end
15
-
16
- end
@@ -1,29 +0,0 @@
1
- require 'spec_helper'
2
-
3
- describe CapistranoChangelog::Wrappers::Release do
4
-
5
- let(:tag) { mock(:tag) }
6
-
7
- subject { }
8
-
9
- describe '.title' do
10
-
11
- end
12
-
13
- describe '.date' do
14
-
15
- end
16
-
17
- describe '.stories' do
18
-
19
- end
20
-
21
- describe '.commits' do
22
-
23
- end
24
-
25
- describe '.get_binding' do
26
-
27
- end
28
-
29
- end