snitch 0.1.1 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/CHANGELOG.txt +6 -2
  2. data/Rakefile +21 -7
  3. data/lib/snitch/version.rb +1 -1
  4. metadata +38 -10
@@ -1,5 +1,9 @@
1
+ 0.1.2 - 10/10/2007
2
+ * corrected dependencies
3
+ * TODO: make generator for config and post-commit files, allow optional passing of project name to snitch
4
+
1
5
  0.1.1 - 3/25/2007
2
- * added documentation; the first release didn't have hardly any
6
+ * added documentation; the first release didn't have hardly any
3
7
 
4
8
  0.1.0 - 3/25/2007
5
- * initial release of snitch
9
+ * initial release of snitch
data/Rakefile CHANGED
@@ -49,16 +49,30 @@ hoe = Hoe.new(GEM_NAME, VERS) do |p|
49
49
 
50
50
  # == Optional
51
51
  #p.changes - A description of the release's latest changes.
52
- p.extra_deps << %w[ twitter tinder activesupport ]
52
+ p.extra_deps = [['twitter', '0.2.0'], ['tinder', '0.1.4'], ['activesupport', '1.4.2']]
53
53
  #p.spec_extras - A hash of extra values to set in the gemspec.
54
54
  end
55
55
 
56
- desc 'Publish HTML to RubyForge'
57
- task :publish_html do
56
+ desc 'Upload website files to rubyforge'
57
+ task :website do
58
58
  config = YAML.load(File.read(File.expand_path("~/.rubyforge/user-config.yml")))
59
59
  host = "#{config["username"]}@rubyforge.org"
60
- remote_dir = "/var/www/gforge-projects/snitch/"
61
- local_dir = 'html'
62
- sh %{rsync -av --delete #{local_dir}/ #{host}:#{remote_dir}}
63
- `rake publish_docs`
60
+ remote_dir = "/var/www/gforge-projects/#{RUBYFORGE_PROJECT}/"
61
+ # remote_dir = "/var/www/gforge-projects/#{RUBYFORGE_PROJECT}/#{GEM_NAME}"
62
+ local_dir = 'website'
63
+ sh %{rsync -av #{local_dir}/ #{host}:#{remote_dir}}
64
+ end
65
+
66
+ desc 'Release the website and new gem version'
67
+ task :deploy => [:check_version, :website, :release]
68
+
69
+ task :check_version do
70
+ unless ENV['VERSION']
71
+ puts 'Must pass a VERSION=x.y.z release version'
72
+ exit
73
+ end
74
+ unless ENV['VERSION'] == VERS
75
+ puts "Please update your version.rb to match the release version, currently #{VERS}"
76
+ exit
77
+ end
64
78
  end
@@ -2,7 +2,7 @@ module Snitch #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- TINY = 1
5
+ TINY = 3
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.2
2
+ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: snitch
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.1.1
7
- date: 2007-03-25 00:00:00 -04:00
6
+ version: 0.1.3
7
+ date: 2007-10-23 00:00:00 -04:00
8
8
  summary: Makes tattling on your svn commits to other services simple
9
9
  require_paths:
10
10
  - lib
@@ -54,18 +54,46 @@ files:
54
54
  test_files:
55
55
  - test/unit/base_test.rb
56
56
  - test/unit/service_test.rb
57
- - test/unit/svnlook_test.rb
58
57
  - test/unit/services/campfire_test.rb
59
58
  - test/unit/services/twitter_test.rb
60
- rdoc_options: []
61
-
62
- extra_rdoc_files: []
63
-
59
+ - test/unit/svnlook_test.rb
60
+ rdoc_options:
61
+ - --main
62
+ - README.txt
63
+ extra_rdoc_files:
64
+ - README.txt
65
+ - CHANGELOG.txt
64
66
  executables:
65
67
  - snitch
66
68
  extensions: []
67
69
 
68
70
  requirements: []
69
71
 
70
- dependencies: []
71
-
72
+ dependencies:
73
+ - !ruby/object:Gem::Dependency
74
+ name: twitter
75
+ version_requirement:
76
+ version_requirements: !ruby/object:Gem::Version::Requirement
77
+ requirements:
78
+ - - "="
79
+ - !ruby/object:Gem::Version
80
+ version: 0.2.0
81
+ version:
82
+ - !ruby/object:Gem::Dependency
83
+ name: tinder
84
+ version_requirement:
85
+ version_requirements: !ruby/object:Gem::Version::Requirement
86
+ requirements:
87
+ - - "="
88
+ - !ruby/object:Gem::Version
89
+ version: 0.1.4
90
+ version:
91
+ - !ruby/object:Gem::Dependency
92
+ name: activesupport
93
+ version_requirement:
94
+ version_requirements: !ruby/object:Gem::Version::Requirement
95
+ requirements:
96
+ - - "="
97
+ - !ruby/object:Gem::Version
98
+ version: 1.4.2
99
+ version: