crystal 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.rdoc +1 -0
  2. data/Rakefile +64 -0
  3. data/spec/spec.opts +3 -0
  4. metadata +69 -0
@@ -0,0 +1 @@
1
+ Web Framework, not releaset yet.
@@ -0,0 +1,64 @@
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 = "crystal"
21
+ s.version = "0.0.1"
22
+ s.summary = "The Crystal Web Framework"
23
+ s.description = "The Crystal Web Framework"
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
+ s.extra_rdoc_files = ["README.rdoc"]
32
+
33
+ s.files = (%w{Rakefile README.rdoc} + Dir.glob("{lib,spec}/**/*"))
34
+ # s.executables = ['restclient']
35
+ # s.add_dependency("BlueCloth", ">= 0.0.4")
36
+ # s.add_dependency "facets"
37
+
38
+ s.require_path = "lib"
39
+ end
40
+
41
+ PACKAGE_DIR = "#{File.expand_path File.dirname(__FILE__)}/build"
42
+
43
+ Rake::GemPackageTask.new(spec) do |p|
44
+ package_dir = PACKAGE_DIR
45
+ # FileUtils.mkdir package_dir unless File.exist? package_dir
46
+ p.need_tar = true if RUBY_PLATFORM !~ /mswin/
47
+ p.need_zip = true
48
+ p.package_dir = package_dir
49
+ end
50
+
51
+ # CLEAN.include [ 'pkg', '*.gem']
52
+
53
+ task :push do
54
+ dir = Dir.chdir PACKAGE_DIR do
55
+ gem_file = Dir.glob("ruby-ext*.gem").first
56
+ system "gem push #{gem_file}"
57
+ end
58
+ end
59
+
60
+ task :clean do
61
+ system "rm -r #{PACKAGE_DIR}"
62
+ end
63
+
64
+ task :release => [:gem, :push, :clean]
@@ -0,0 +1,3 @@
1
+ --color
2
+ --reverse
3
+ --backtrace
metadata ADDED
@@ -0,0 +1,69 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: crystal
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-05-27 00:00:00 +04:00
19
+ default_executable:
20
+ dependencies: []
21
+
22
+ description: The Crystal Web Framework
23
+ email:
24
+ executables: []
25
+
26
+ extensions: []
27
+
28
+ extra_rdoc_files:
29
+ - README.rdoc
30
+ files:
31
+ - Rakefile
32
+ - README.rdoc
33
+ - spec/spec.opts
34
+ has_rdoc: true
35
+ homepage: http://www.bos-tec.com
36
+ licenses: []
37
+
38
+ post_install_message:
39
+ rdoc_options: []
40
+
41
+ require_paths:
42
+ - lib
43
+ required_ruby_version: !ruby/object:Gem::Requirement
44
+ none: false
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ hash: 3
49
+ segments:
50
+ - 0
51
+ version: "0"
52
+ required_rubygems_version: !ruby/object:Gem::Requirement
53
+ none: false
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ hash: 3
58
+ segments:
59
+ - 0
60
+ version: "0"
61
+ requirements: []
62
+
63
+ rubyforge_project:
64
+ rubygems_version: 1.3.7
65
+ signing_key:
66
+ specification_version: 3
67
+ summary: The Crystal Web Framework
68
+ test_files: []
69
+