collin-fold 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile.rb +28 -3
- metadata +11 -11
data/Rakefile.rb
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
__DIR__ = path = File.dirname(__FILE__)
|
|
2
|
+
|
|
1
3
|
require 'rubygems'
|
|
2
4
|
require 'spec'
|
|
3
5
|
|
|
4
6
|
namespace :spec do
|
|
5
7
|
task :prepare do
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
@specs= Dir.glob("#{path}/rspec/**/*.rb").join(' ')
|
|
8
|
+
|
|
9
|
+
@specs= Dir.glob("#{__DIR__}/rspec/**/*.rb").join(' ')
|
|
9
10
|
end
|
|
10
11
|
|
|
11
12
|
task :all => :prepare do
|
|
@@ -15,4 +16,28 @@ namespace :spec do
|
|
|
15
16
|
task :doc => :prepare do
|
|
16
17
|
system "spec #{@specs} --format specdoc"
|
|
17
18
|
end
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
namespace :gem do
|
|
22
|
+
task :spec do
|
|
23
|
+
file = File.new("#{__DIR__}/fold.gemspec", 'w+')
|
|
24
|
+
file.write %{
|
|
25
|
+
Gem::Specification.new do |s|
|
|
26
|
+
s.name = "fold"
|
|
27
|
+
s.version = "0.0.2"
|
|
28
|
+
s.platform = Gem::Platform::RUBY
|
|
29
|
+
s.has_rdoc = false
|
|
30
|
+
s.summary = "Toolkit for creating whitespace active mini-languages. Inspired by Haml. Feature light."
|
|
31
|
+
s.description = s.summary
|
|
32
|
+
s.author = "Collin Miller"
|
|
33
|
+
s.email = "collintmiller@gmail.com"
|
|
34
|
+
s.homepage = "http://github.com/collin/fold"
|
|
35
|
+
s.require_path = "lib"
|
|
36
|
+
s.files = %w{#{(%w(README Rakefile.rb) + Dir.glob("{lib,rspec}/**/*")).join(' ')}}
|
|
37
|
+
|
|
38
|
+
s.add_dependency "rake"
|
|
39
|
+
s.add_dependency "rspec"
|
|
40
|
+
end
|
|
41
|
+
}
|
|
42
|
+
end
|
|
18
43
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: collin-fold
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Collin Miller
|
|
@@ -30,7 +30,7 @@ dependencies:
|
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
31
|
version: "0"
|
|
32
32
|
version:
|
|
33
|
-
description:
|
|
33
|
+
description: Toolkit for creating whitespace active mini-languages. Inspired by Haml. Feature light.
|
|
34
34
|
email: collintmiller@gmail.com
|
|
35
35
|
executables: []
|
|
36
36
|
|
|
@@ -41,22 +41,22 @@ extra_rdoc_files: []
|
|
|
41
41
|
files:
|
|
42
42
|
- README
|
|
43
43
|
- Rakefile.rb
|
|
44
|
+
- lib/fold.rb
|
|
44
45
|
- lib/fold
|
|
45
|
-
- lib/fold/fold_factory.rb
|
|
46
|
-
- lib/fold/precompiler.rb
|
|
47
46
|
- lib/fold/engine.rb
|
|
48
47
|
- lib/fold/abstract_fold.rb
|
|
49
|
-
- lib/fold.rb
|
|
50
|
-
-
|
|
51
|
-
- rspec/fold/precompiler_spec.rb
|
|
52
|
-
- rspec/fold/abstract_fold_spec.rb
|
|
53
|
-
- rspec/fold/engine_spec.rb
|
|
54
|
-
- rspec/fold/fold_factory_spec.rb
|
|
48
|
+
- lib/fold/fold_factory.rb
|
|
49
|
+
- lib/fold/precompiler.rb
|
|
55
50
|
- rspec/fixtures
|
|
56
51
|
- rspec/fixtures/fold
|
|
57
52
|
- rspec/fixtures/fold/fixture.target.fold
|
|
58
53
|
- rspec/fold_spec.rb
|
|
59
54
|
- rspec/fold_spec_helper.rb
|
|
55
|
+
- rspec/fold
|
|
56
|
+
- rspec/fold/precompiler_spec.rb
|
|
57
|
+
- rspec/fold/fold_factory_spec.rb
|
|
58
|
+
- rspec/fold/engine_spec.rb
|
|
59
|
+
- rspec/fold/abstract_fold_spec.rb
|
|
60
60
|
has_rdoc: false
|
|
61
61
|
homepage: http://github.com/collin/fold
|
|
62
62
|
post_install_message:
|
|
@@ -82,6 +82,6 @@ rubyforge_project:
|
|
|
82
82
|
rubygems_version: 1.2.0
|
|
83
83
|
signing_key:
|
|
84
84
|
specification_version: 2
|
|
85
|
-
summary:
|
|
85
|
+
summary: Toolkit for creating whitespace active mini-languages. Inspired by Haml. Feature light.
|
|
86
86
|
test_files: []
|
|
87
87
|
|