spawn 0.0.9 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +0 -18
- data/rails/init.rb +3 -0
- data/spawn.gemspec +13 -0
- metadata +3 -1
data/Rakefile
CHANGED
@@ -1,11 +1,4 @@
|
|
1
|
-
require 'rake'
|
2
|
-
require 'rake/gempackagetask'
|
3
1
|
require 'rake/testtask'
|
4
|
-
require 'rake/clean'
|
5
|
-
|
6
|
-
gem_spec_file = 'spawner.gemspec'
|
7
|
-
|
8
|
-
gem_spec = eval(File.read(gem_spec_file)) rescue nil
|
9
2
|
|
10
3
|
task :default => :test
|
11
4
|
|
@@ -13,14 +6,3 @@ Rake::TestTask.new(:test) do |t|
|
|
13
6
|
t.pattern = 'test/**/*_test.rb'
|
14
7
|
t.verbose = false
|
15
8
|
end
|
16
|
-
|
17
|
-
Rake::GemPackageTask.new(gem_spec) do |pkg|
|
18
|
-
pkg.need_zip = false
|
19
|
-
pkg.need_tar = false
|
20
|
-
rm_f FileList['pkg/**/*.*']
|
21
|
-
end if gem_spec
|
22
|
-
|
23
|
-
desc "Builds and installs the gem."
|
24
|
-
task :install => :repackage do
|
25
|
-
`sudo gem install pkg/#{gem_spec.name}-#{gem_spec.version}.gem`
|
26
|
-
end
|
data/rails/init.rb
ADDED
data/spawn.gemspec
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
Gem::Specification.new do |s|
|
2
|
+
s.name = 'spawn'
|
3
|
+
s.version = '0.1.0'
|
4
|
+
s.date = %q{2008-12-18}
|
5
|
+
s.summary = %{Simple fixtures replacement for Sequel, ActiveRecord, Ohm and probably many other ORMs}
|
6
|
+
s.email = "michel@soveran.com"
|
7
|
+
s.author = "Michel Martens"
|
8
|
+
s.homepage = "http://github.com/soveran/spawn"
|
9
|
+
s.files = ["lib/spawn.rb", "rails/init.rb", "README.markdown", "LICENSE", "Rakefile", "test/active_record_test.rb", "test/all_test.rb", "test/sequel_test.rb", "spawn.gemspec"]
|
10
|
+
s.require_paths = ['lib']
|
11
|
+
s.has_rdoc = false
|
12
|
+
s.specification_version = 2 if s.respond_to? :specification_version=
|
13
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spawn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michel Martens
|
@@ -23,12 +23,14 @@ extra_rdoc_files: []
|
|
23
23
|
|
24
24
|
files:
|
25
25
|
- lib/spawn.rb
|
26
|
+
- rails/init.rb
|
26
27
|
- README.markdown
|
27
28
|
- LICENSE
|
28
29
|
- Rakefile
|
29
30
|
- test/active_record_test.rb
|
30
31
|
- test/all_test.rb
|
31
32
|
- test/sequel_test.rb
|
33
|
+
- spawn.gemspec
|
32
34
|
has_rdoc: false
|
33
35
|
homepage: http://github.com/soveran/spawn
|
34
36
|
post_install_message:
|