rsh 0.2.0 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/.document +1 -0
  2. data/CHANGELOG +110 -0
  3. data/Rakefile +27 -3
  4. data/VERSION +1 -1
  5. data/rsh.gemspec +4 -2
  6. metadata +5 -3
data/.document CHANGED
@@ -3,3 +3,4 @@ lib/**/*.rb
3
3
  bin/*
4
4
  features/**/*.feature
5
5
  LICENSE
6
+ CHANGELOG
@@ -0,0 +1,110 @@
1
+ [63b17fa | Wed Oct 27 14:50:57 UTC 2010] Pavel Argentov <argentoff@gmail.com>
2
+
3
+ * Finished project documentation rework
4
+
5
+ [6354bac | Wed Oct 27 14:26:57 UTC 2010] Pavel Argentov <argentoff@gmail.com>
6
+
7
+ * Finally updated CHANGELOG at v0.2.2
8
+
9
+ [3b717b2 | Wed Oct 27 14:22:23 UTC 2010] Pavel Argentov <argentoff@gmail.com>
10
+
11
+ * v0.2.2 prerelease
12
+
13
+ [61a2ad2 | Wed Oct 27 14:19:40 UTC 2010] Pavel Argentov <argentoff@gmail.com>
14
+
15
+ * Version bump to 0.2.2
16
+
17
+ [d7affc1 | Wed Oct 27 14:10:11 UTC 2010] Pavel Argentov <argentoff@gmail.com>
18
+
19
+ * Added CHANGELOG
20
+
21
+ [61c87e1 | Wed Oct 27 13:22:40 UTC 2010] Pavel Argentov <argentoff@gmail.com>
22
+
23
+ * Working on documenation
24
+
25
+ Started to standartize project's Git commit messages; added 'changelog' target
26
+ to Rakefile; removed rubyforge references from Rakefile.
27
+
28
+ [2f262b0 | Wed Oct 27 13:22:02 UTC 2010] Pavel Argentov <argentoff@gmail.com>
29
+
30
+ * Version bump to 0.2.1
31
+
32
+ [86e8899 | Wed Oct 27 11:30:13 UTC 2010] Pavel Argentov <argentoff@gmail.com>
33
+
34
+ * execute -> execute!
35
+
36
+ In Rsh class: changed and renamed "execute" method though leaving it
37
+ compatible with the previous version. Now execute! may be called with a remote
38
+ command String as a parameter: it will be recorded in @command instance
39
+ variable and then executed as usual.
40
+
41
+ [3a7b464 | Wed Oct 27 11:28:13 UTC 2010] Pavel Argentov <argentoff@gmail.com>
42
+
43
+ * Version bump to 0.2.0
44
+
45
+ [b937438 | Wed Oct 27 08:43:12 UTC 2010] Pavel Argentov <argentoff@gmail.com>
46
+
47
+ * Farewell, Rubyforge!
48
+
49
+ Removed rubyforge_project from specification: it points to a wrong place (a
50
+ completely different project with the same name). This project at the moment
51
+ is hosted solely on GitHub.com; gem is published on rubygems.org.
52
+
53
+ [8d1072e | Wed Oct 27 08:38:42 UTC 2010] Pavel Argentov <argentoff@gmail.com>
54
+
55
+ * Version bump to 0.1.2
56
+
57
+ [2fe593f | Mon Oct 25 14:12:52 UTC 2010] Pavel Argentov <argentoff@gmail.com>
58
+
59
+ * Fixed some ugly rdoc problems; version bump 0.1.0 -> 0.1.1
60
+
61
+ [117da5b | Mon Oct 25 13:13:05 UTC 2010] Pavel Argentov <argentoff@gmail.com>
62
+
63
+ * Version bump to 0.1.1
64
+
65
+ [373016c | Sat Oct 23 04:57:18 UTC 2010] Pavel Argentov <argentoff@gmail.com>
66
+
67
+ * regenerated gemspec
68
+
69
+ [a867003 | Sat Oct 23 04:55:46 UTC 2010] Pavel Argentov <argentoff@gmail.com>
70
+
71
+ * minor changes to gemspec
72
+
73
+ [337714e | Fri Oct 22 15:22:52 UTC 2010] Pavel Argentov <argentoff@gmail.com>
74
+
75
+ * Finished the code: it seems to be working.
76
+
77
+ Bumped VERSION to 0.1.0
78
+
79
+ [bbd9901 | Fri Oct 22 13:44:09 UTC 2010] Pavel Argentov <argentoff@gmail.com>
80
+
81
+ * Version bump to 0.1.0
82
+
83
+ [3a34fc9 | Thu Oct 21 15:43:28 UTC 2010] Pavel Argentov <argentoff@gmail.com>
84
+
85
+ * slight rework on constructor test; added 'command' attribute
86
+
87
+ [f76ece2 | Thu Oct 21 15:28:35 UTC 2010] Pavel Argentov <argentoff@gmail.com>
88
+
89
+ * added gemspec (rake generated)
90
+
91
+ [475091d | Thu Oct 21 15:26:41 UTC 2010] Pavel Argentov <argentoff@gmail.com>
92
+
93
+ * Trying to get the very idea of gem, rspec, etc.
94
+
95
+ [64289f3 | Thu Oct 21 12:19:07 UTC 2010] Pavel Argentov <argentoff@gmail.com>
96
+
97
+ * Version bump to 0.0.0
98
+
99
+ [77c129a | Thu Oct 21 12:00:49 UTC 2010] Pavel Argentov <argentoff@gmail.com>
100
+
101
+ * Struggling with gem specs...
102
+
103
+ [3fdca36 | Thu Oct 21 11:52:52 UTC 2010] Pavel Argentov <argentoff@gmail.com>
104
+
105
+ * Corrected some vars in Rakefile
106
+
107
+ [79d657e | Thu Oct 21 10:53:37 UTC 2010] Pavel Argentov <argentoff@gmail.com>
108
+
109
+ * Initial commit to rsh.
110
+
data/Rakefile CHANGED
@@ -1,5 +1,6 @@
1
1
  require 'rubygems'
2
2
  require 'rake'
3
+ require 'time'
3
4
 
4
5
  begin
5
6
  require 'jeweler'
@@ -12,12 +13,14 @@ begin
12
13
  gem.homepage = "http://github.com/argent-smith/rsh"
13
14
  gem.authors = ["Pavel Argentov"]
14
15
  gem.add_development_dependency "rspec", ">= 1.2.9"
16
+ gem.extra_rdoc_files = [
17
+ "LICENSE",
18
+ "CHANGELOG",
19
+ "README.rdoc"
20
+ ]
15
21
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
16
22
  end
17
23
  Jeweler::GemcutterTasks.new
18
- Jeweler::RubyforgeTasks.new do |rubyforge|
19
- rubyforge.doc_task = "rdoc"
20
- end
21
24
  rescue LoadError
22
25
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
23
26
  end
@@ -45,5 +48,26 @@ Rake::RDocTask.new do |rdoc|
45
48
  rdoc.rdoc_dir = 'rdoc'
46
49
  rdoc.title = "rsh #{version}"
47
50
  rdoc.rdoc_files.include('README*')
51
+ rdoc.rdoc_files.include('CHANGELOG*')
52
+ rdoc.rdoc_files.include('LICENSE*')
48
53
  rdoc.rdoc_files.include('lib/**/*.rb')
49
54
  end
55
+
56
+ desc 'update changelog'
57
+ task :changelog do
58
+ File.open('CHANGELOG', 'w+') do |changelog|
59
+ `git log -z --abbrev-commit`.split("\0").each do |commit|
60
+ next if commit =~ /^Merge: \d*/
61
+ ref, author, time, _, title, _, message = commit.split("\n", 7)
62
+ ref = ref[/commit ([0-9a-f]+)/, 1]
63
+ author = author[/Author: (.*)/, 1].strip
64
+ time = Time.parse(time[/Date: (.*)/, 1]).utc
65
+ title.strip!
66
+
67
+ changelog.puts "[#{ref} | #{time}] #{author}"
68
+ changelog.puts '', " * #{title}"
69
+ changelog.puts '', message.rstrip if message
70
+ changelog.puts
71
+ end
72
+ end
73
+ end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.2
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rsh}
8
- s.version = "0.2.0"
8
+ s.version = "0.2.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Pavel Argentov"]
@@ -14,12 +14,14 @@ Gem::Specification.new do |s|
14
14
  Here's the gem wrapping call to this command and handling the command's result/output.}
15
15
  s.email = %q{argentoff@gmail.com}
16
16
  s.extra_rdoc_files = [
17
- "LICENSE",
17
+ "CHANGELOG",
18
+ "LICENSE",
18
19
  "README.rdoc"
19
20
  ]
20
21
  s.files = [
21
22
  ".document",
22
23
  ".gitignore",
24
+ "CHANGELOG",
23
25
  "LICENSE",
24
26
  "README.rdoc",
25
27
  "Rakefile",
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rsh
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 2
10
+ version: 0.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Pavel Argentov
@@ -43,11 +43,13 @@ executables: []
43
43
  extensions: []
44
44
 
45
45
  extra_rdoc_files:
46
+ - CHANGELOG
46
47
  - LICENSE
47
48
  - README.rdoc
48
49
  files:
49
50
  - .document
50
51
  - .gitignore
52
+ - CHANGELOG
51
53
  - LICENSE
52
54
  - README.rdoc
53
55
  - Rakefile