matlab 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +63 -0
- data/readme.md +3 -0
- metadata +68 -0
data/Rakefile
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
require 'rake'
|
2
|
+
require 'spec/rake/spectask'
|
3
|
+
|
4
|
+
Dir.chdir File.dirname(__FILE__)
|
5
|
+
|
6
|
+
# Specs
|
7
|
+
task :default => :spec
|
8
|
+
|
9
|
+
Spec::Rake::SpecTask.new('spec') do |t|
|
10
|
+
t.spec_files = FileList["spec/**/*_spec.rb"]
|
11
|
+
t.libs = ["lib", "spec"]
|
12
|
+
end
|
13
|
+
|
14
|
+
# Gem
|
15
|
+
require 'rake/clean'
|
16
|
+
require 'rake/gempackagetask'
|
17
|
+
require 'fileutils'
|
18
|
+
|
19
|
+
spec = Gem::Specification.new do |s|
|
20
|
+
s.name = "matlab"
|
21
|
+
s.version = "0.0.1"
|
22
|
+
s.summary = "Set of common Ruby language extensions"
|
23
|
+
s.description = "Set of common Ruby language extensions"
|
24
|
+
s.author = "Alexey Petrushin"
|
25
|
+
# s.email = ""
|
26
|
+
s.homepage = "http://www.bos-tec.com"
|
27
|
+
# s.rubyforge_project = "RubyExt"
|
28
|
+
|
29
|
+
s.platform = Gem::Platform::RUBY
|
30
|
+
s.has_rdoc = true
|
31
|
+
|
32
|
+
s.files = (%w{Rakefile readme.md} + Dir.glob("{lib,spec}/**/*"))
|
33
|
+
# s.executables = ['restclient']
|
34
|
+
# s.add_dependency("BlueCloth", ">= 0.0.4")
|
35
|
+
# s.add_dependency "facets"
|
36
|
+
|
37
|
+
s.require_path = "lib"
|
38
|
+
end
|
39
|
+
|
40
|
+
PACKAGE_DIR = "#{File.expand_path File.dirname(__FILE__)}/build"
|
41
|
+
|
42
|
+
Rake::GemPackageTask.new(spec) do |p|
|
43
|
+
package_dir = PACKAGE_DIR
|
44
|
+
# FileUtils.mkdir package_dir unless File.exist? package_dir
|
45
|
+
p.need_tar = true if RUBY_PLATFORM !~ /mswin/
|
46
|
+
p.need_zip = true
|
47
|
+
p.package_dir = package_dir
|
48
|
+
end
|
49
|
+
|
50
|
+
# CLEAN.include [ 'pkg', '*.gem']
|
51
|
+
|
52
|
+
task :push do
|
53
|
+
dir = Dir.chdir PACKAGE_DIR do
|
54
|
+
gem_file = Dir.glob("matlab*.gem").first
|
55
|
+
system "gem push #{gem_file}"
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
task :clean do
|
60
|
+
system "rm -r #{PACKAGE_DIR}"
|
61
|
+
end
|
62
|
+
|
63
|
+
task :release => [:gem, :push, :clean]
|
data/readme.md
ADDED
metadata
ADDED
@@ -0,0 +1,68 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: matlab
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 29
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 1
|
10
|
+
version: 0.0.1
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Alexey Petrushin
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2010-06-06 00:00:00 +04:00
|
19
|
+
default_executable:
|
20
|
+
dependencies: []
|
21
|
+
|
22
|
+
description: Set of common Ruby language extensions
|
23
|
+
email:
|
24
|
+
executables: []
|
25
|
+
|
26
|
+
extensions: []
|
27
|
+
|
28
|
+
extra_rdoc_files: []
|
29
|
+
|
30
|
+
files:
|
31
|
+
- Rakefile
|
32
|
+
- readme.md
|
33
|
+
has_rdoc: true
|
34
|
+
homepage: http://www.bos-tec.com
|
35
|
+
licenses: []
|
36
|
+
|
37
|
+
post_install_message:
|
38
|
+
rdoc_options: []
|
39
|
+
|
40
|
+
require_paths:
|
41
|
+
- lib
|
42
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
43
|
+
none: false
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
hash: 3
|
48
|
+
segments:
|
49
|
+
- 0
|
50
|
+
version: "0"
|
51
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
52
|
+
none: false
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
hash: 3
|
57
|
+
segments:
|
58
|
+
- 0
|
59
|
+
version: "0"
|
60
|
+
requirements: []
|
61
|
+
|
62
|
+
rubyforge_project:
|
63
|
+
rubygems_version: 1.3.7
|
64
|
+
signing_key:
|
65
|
+
specification_version: 3
|
66
|
+
summary: Set of common Ruby language extensions
|
67
|
+
test_files: []
|
68
|
+
|