auto-deploy-test 0.1.5 → 0.1.6

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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YTg5N2Q1NDRkZDdkY2Y4NTgzYWE0MjYxZTRiMmM1OWJmMWE2NDBkZg==
4
+ ZGEwNTMxZjNiYWNjZGY3MzA0ODI4MjJmODgzODkwMjFmMzY2MzJjYg==
5
5
  data.tar.gz: !binary |-
6
- NzViNDRmYjBiNjNmZmQzYzBlNjI2ZmE0MDJmYTdlZjQyNGQzYmUwYg==
6
+ MzI0YTUwYzhkZjUyNjUxNDVkYmM1MjQzZDFmYmRmYmU1M2IzZTIzOQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZjM3ZjFkZWE1YmM1YWQ3ZTUyMTVlZjVmMjg0ZDEwYTc2ODNlNTYzOTk2MzBj
10
- YWUxOGI2MTkxNTQwMzA2MTFlZTVhODg1MjIzNWU1NmJhYzIzZDhjMjA1ZjM4
11
- NzA0MjNmZTJmYWQwYTQ5NDFlZWYzMjlkZmZhNDVlZGI4MmRhY2Y=
9
+ NzcxM2JhYWQwZjljNWE5OGM5NTg2NTVmMDA5YjA0ZDdkYmZjNDg5NjdlYjJm
10
+ NjBiYzZjYzg0MDI4Y2ZjZDJhMGUyYTc3ODVmOWEzNzgxMTA3NGI1ZTU5MmZi
11
+ YTdmM2RjOGZjMWI5ODhhNzA2OWU1N2NkODY3YTEzYWE1ZGNkZmI=
12
12
  data.tar.gz: !binary |-
13
- MDUzZTVmYzQ2ODIxMTYyYjkwZWJmMWI2N2E3NDRjYmExNDhlMjA2MzNkYWQy
14
- NDJkYWYyMmExNDU2MjRiYjNmNGE3ZTg5ZjAzODJkMzM1YjE5ZDhjZDBmZmE3
15
- ZjZhYTdhM2Q4OWY0NzNmNzU0ZmMxM2ZmMWVhODRjMTJlMGFlY2U=
13
+ OTdjMzUwOWE3MjE5ZDhhYTJmN2E3MzNjMDUxZDBjMDU1NDFkMjg0NzMwOTcx
14
+ NjU3YzgzOTU3ODk5MWVkNWNlNmIyYmIwYWNhZjI5YTRlYmY2ZjllMDA2N2Vi
15
+ MDVkNmM2N2VlYzVlNmNhYjVjZjk4OTRmZTIyZjY0ODhhNTYwYjY=
@@ -1,5 +1,31 @@
1
+ # CHANGELOG
2
+
1
3
  Next Release (TBD)
2
- ---
4
+ ------------------
5
+
6
+ * Irad aliq auta ina dess deaat ip adaa et inia magn. Cona veaaam aliq sua
7
+ exea ut ad cua doabor.
8
+
9
+ * Sicaat utat in modol fuaa ut occaec cuptea esata. Ulpa ciatate modaali
10
+ aatiat eiaa eaat eser denaad. Dolabam duisi in.
11
+
12
+ v0.1.5 (2014-08-14)
13
+ -------------------
14
+
15
+ * Inga exalab lori excaea ex alit nons loam ina miat ulpa la eur adaal. Pratio
16
+ duis labo inisi daabor eiusatem.
17
+
18
+ * Adip proata dolupi auat vea maal nua. Offa enim min nuatu doam elit seru
19
+ faecat et do incat dolamaa am.
20
+
21
+ * Cuat ut si inia sicaatua eaamca ua elit vola la exce eture. Conseda offi
22
+ eius exca moat etat anaamea duip.
23
+
24
+ * Enia cit cua preh idat ullabor inci adid eius inaa esse nis. Voll elab la
25
+ ana niata datat duaa eu.
26
+
27
+ v0.1.1 (2014-08-14)
28
+ -------------------
3
29
 
4
30
  * Added task for running tests, building docs and the gem file. Run them
5
31
  all together via `bundle exec rake build`.
data/Gemfile CHANGED
@@ -3,6 +3,7 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  gem 'rake'
6
+ gem 'lorem-ipsum'
6
7
 
7
8
  group :test do
8
9
  gem 'rspec', '~> 3.0.0'
@@ -1,4 +1,4 @@
1
1
  class AutoDeployTest
2
2
  # gem version
3
- VERSION = '0.1.5'
3
+ VERSION = '0.1.6'
4
4
  end
@@ -0,0 +1,14 @@
1
+ namespace :changelog do
2
+
3
+ desc "Adds a changelog entry."
4
+ task :add do
5
+ entry = `lorem-ipsum --words 20`
6
+ entry = entry.gsub(/(.{1,76})(?: +|$)\n?|(.{76})/, " \\1\\2\n")
7
+ entry = "*" + entry[1..-1] + "\n"
8
+ changelog = File.open('CHANGELOG.md', 'r') { |f| f.read }.lines
9
+ changelog = changelog[0..4] + [entry] + changelog[5..-1]
10
+ changelog = changelog.join
11
+ File.open('CHANGELOG.md', 'w', encoding: 'UTF-8') { |f| f.write(changelog) }
12
+ end
13
+
14
+ end
@@ -13,6 +13,18 @@ namespace :release do
13
13
  version
14
14
  end
15
15
 
16
+ task :changelog do
17
+ changelog = File.open('CHANGELOG.md', 'r', encoding: 'UTF-8') { |f| f.read }
18
+ changelog = changelog.lines
19
+ changelog = changelog[0..4] + [nil, nil, nil] + changelog[5..-1]
20
+ changelog[5] = "v#{version} (#{Time.now.strftime('%Y-%m-%d')})\n"
21
+ changelog[6] = '-' * (changelog[3].chars.count - 1) + "\n"
22
+ changelog[7] = "\n"
23
+ changelog = changelog.join
24
+ File.open('CHANGELOG.md', 'w', encoding: 'UTF-8') { |f| f.write(changelog) }
25
+ sh("git add CHANGELOG.md")
26
+ end
27
+
16
28
  task :tag do
17
29
  path = 'lib/auto_deploy_test/version.rb'
18
30
  file = File.read(path)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: auto-deploy-test
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Trevor Rowe
@@ -35,6 +35,7 @@ files:
35
35
  - lib/auto_deploy_test/version.rb
36
36
  - spec/auto_deploy_test_spec.rb
37
37
  - spec/spec_helper.rb
38
+ - tasks/changelog.rake
38
39
  - tasks/docs.rake
39
40
  - tasks/gem.rake
40
41
  - tasks/release.rake