kyanite 0.3.4 → 0.3.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile.rb +16 -73
  2. data/lib/kyanite.rb +1 -4
  3. metadata +1 -1
data/Rakefile.rb CHANGED
@@ -30,67 +30,35 @@ $hoe = Hoe.new('kyanite', Kyanite::VERSION) do |p|
30
30
  p.rsync_args = "-av --delete"
31
31
  end
32
32
 
33
- require 'newgem/tasks' # load /tasks/*.rake
34
- Dir['tasks/**/*.rake'].each { |t| load t }
33
+
35
34
 
36
35
 
37
36
  # ----------------------------------------------------------------------------------------------
38
- # Patch Hoe
37
+ # Kyanite
39
38
  #
40
39
 
41
- # Task :release korrigieren
42
- # no explicit version needed
43
- #
44
- remove_task :release
45
- desc 'Package and upload the actual version to rubyforge.'
46
- task :release => [:clean, :package] do |t|
47
- pkg = "pkg/#{$hoe.name}-#{Kyanite::VERSION}"
48
- rf = RubyForge.new.configure
49
- puts "Logging in"
50
- rf.login
51
- c = rf.userconfig
52
- c["release_notes"] = $hoe.description if $hoe.description
53
- c["release_changes"] = $hoe.changes if $hoe.changes
54
- c["preformatted"] = true
55
-
56
- files = ["#{pkg}.tgz", "#{pkg}.gem"].compact
57
- puts "Releasing #{$hoe.name} #{Kyanite::VERSION}"
58
- rf.add_release $hoe.rubyforge_name, $hoe.name, Kyanite::VERSION, *files
59
- end
40
+ $rake_tasks_ausblenden = %w{ bundles:tm deps:email deps:fetch deps:list manifest manifest:refresh
41
+ announce clobber clobber_docs clobber_package clobber_rdoc
42
+ config_hoe debug_gem gem gemspec generate_key install_gem install_gem_no_doc
43
+ local_deploy package repackage post_blog ridocs test_deps
44
+ rdoc redocs rerdoc
45
+ website website_generate website_upload }
46
+ require 'kyanite/rake'
60
47
 
61
-
62
-
63
- # Task :publish_docs korrigieren
64
- #
65
- remove_task :publish_docs
66
- desc 'Publish RDoc to RubyForge.'
67
- task :publish_docs => [:clean, :docs] do
68
- #task :publish_docs do
69
- config = YAML.load(File.read(File.expand_path("~/.rubyforge/user-config.yml")))
70
- host = "#{config["username"]}@rubyforge.org"
71
- remote_dir = "/var/www/gforge-projects/#{$hoe.rubyforge_name}"
72
- local_dir = 'doc'
73
- sh %{rsync #{$hoe.rsync_args} #{local_dir}/ #{host}:#{remote_dir}}
74
- end
75
48
 
76
49
 
77
50
 
78
- # TODO - want other tests/tasks run by default? Add them to the list
79
- # task :default => [:spec, :features]
51
+ # ----------------------------------------------------------------------------------------------
52
+ # Local Tasks
53
+ #
80
54
 
55
+ require 'newgem/tasks' # load /tasks/*.rake
56
+ Dir['tasks/**/*.rake'].each { |t| load t }
81
57
 
82
58
 
83
- # ----------------------------------------------------------------------------------------------
84
- # Kyanite
85
- #
59
+ # TODO - want other tests/tasks run by default? Add them to the list
60
+ # task :default => [:spec, :features]
86
61
 
87
- $rake_tasks_ausblenden = %w{ bundles:tm deps:email deps:fetch deps:list manifest manifest:refresh
88
- announce clobber clobber_docs clobber_package clobber_rdoc
89
- config_hoe deploy
90
- install_gem_no_doc
91
- local_deploy package post_blog post_news ridocs test_deps
92
- clobber_docs clobber_rdoc rdoc redocs rerdoc}
93
- require 'kyanite/rake'
94
62
 
95
63
 
96
64
 
@@ -98,31 +66,6 @@ require 'kyanite/rake'
98
66
 
99
67
 
100
68
 
101
- # ----------------------------------------------------------------------------------------------
102
- # Documentation
103
- #
104
- # http://github.com/mislav/hanna/tree/master
105
-
106
- # instead of 'rake/rdoctask':
107
- require 'hanna/rdoctask'
108
-
109
- desc 'Generate RDoc documentation for Kyanite'
110
- Rake::RDocTask.new do |rdoc|
111
- rdoc.rdoc_dir = 'doc'
112
- rdoc.title = "Kyanite - #{$hoe.summary}"
113
- rdoc.rdoc_files.include('README.txt', 'License.txt')
114
- rdoc.rdoc_files.include('lib/**/*.rb')
115
- rdoc.rdoc_files.include('test/**/test_*.rb')
116
- rdoc.rdoc_files.exclude('lib/kyanite/array/array2')
117
- rdoc.rdoc_files.exclude('lib/kyanite/array/matrix2')
118
- rdoc.rdoc_files.exclude('lib/kyanite/operation/call_tracker')
119
- rdoc.rdoc_files.exclude('lib/kyanite.rb')
120
- rdoc.options += [
121
- '-SNap',
122
- '-w4',
123
- '--charset=utf8',
124
- ]
125
- end
126
69
 
127
70
 
128
71
 
data/lib/kyanite.rb CHANGED
@@ -12,11 +12,8 @@ else
12
12
  end
13
13
 
14
14
 
15
- # Die Versionsnummer steht ausserdem
16
- # * im Script '2_rake_install_gem.bat'
17
- # * ggf. in der gem-Verkn�pfung
18
15
  module Kyanite
19
- VERSION = '0.3.4'
16
+ VERSION = '0.3.6'
20
17
  end
21
18
 
22
19
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kyanite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bjoern Klippstein