nake 0.0.8 → 0.0.9.pre

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,2 @@
1
+ /*.gem
2
+ tmp
data/lib/nake/rake.rb CHANGED
@@ -1,3 +1,7 @@
1
+ # encoding: utf-8
2
+
3
+ require "filelist" # rake is distributed with Ruby 1.9 anyway
4
+
1
5
  module Rake
2
6
  def self.method_missing
3
7
  raise NotImplementedError
@@ -8,18 +12,6 @@ module Rake
8
12
  end
9
13
  end
10
14
 
11
- # lazy-loading FTW!
12
- def Object.const_missing(constant)
13
- if constant.eql?(:FileList)
14
- begin
15
- require "filelist"
16
- FileList
17
- rescue LoadError
18
- raise LoadError, "You have to install filelist gem!"
19
- end
20
- end
21
- end
22
-
23
15
  module Nake
24
16
  module RakeDSL
25
17
  def task
data/nake.gemspec CHANGED
@@ -4,21 +4,23 @@
4
4
  # NOTE: we can't use require_relative because when we run gem build, it use eval for executing this file
5
5
  #$:.unshift(File.join(File.dirname(__FILE__), "lib"))
6
6
  #require "nake"
7
+ require "base64"
7
8
 
8
9
  Gem::Specification.new do |s|
9
10
  s.name = "nake"
10
- s.version = "0.0.8"
11
+ s.version = "0.0.9"
11
12
  s.authors = ["Jakub Šťastný aka Botanicus"]
12
13
  s.homepage = "http://github.com/botanicus/nake"
13
14
  s.summary = "Nake is light-weight and highly flexible Rake replacement with much better arguments parsing"
14
15
  s.description = "" # TODO: long description
15
16
  s.cert_chain = nil
16
- s.email = ["knava.bestvinensis", "gmail.com"].join("@")
17
+ s.email = Base64.decode64("c3Rhc3RueUAxMDFpZGVhcy5jeg==\n")
17
18
  s.has_rdoc = true
18
19
 
19
20
  # files
20
- s.files = Dir.glob("**/*")
21
- s.executables = ["nake"]
21
+ s.files = `git ls-files`.split("\n")
22
+
23
+ Dir["bin/*"].map(&File.method(:basename))
22
24
  s.default_executable = "nake"
23
25
  s.require_paths = ["lib"]
24
26
 
@@ -33,8 +35,7 @@ Gem::Specification.new do |s|
33
35
  rescue LoadError
34
36
  warn "You have to have changelog gem installed for post install message"
35
37
  else
36
- changelog = CHANGELOG.new(File.join(File.dirname(__FILE__), "CHANGELOG"))
37
- s.post_install_message = "=== Changes in the last Nake ===\n- #{changelog.last_version_changes.join("\n- ")}"
38
+ s.post_install_message = CHANGELOG.new.version_changes
38
39
  end
39
40
 
40
41
  # RubyForge
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nake
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Jakub \xC5\xA0\xC5\xA5astn\xC3\xBD aka Botanicus"
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain:
11
- date: 2010-01-10 00:00:00 +01:00
11
+ date: 2010-01-25 00:00:00 +00:00
12
12
  default_executable: nake
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
@@ -22,25 +22,27 @@ dependencies:
22
22
  version: "0"
23
23
  version:
24
24
  description: ""
25
- email: knava.bestvinensis@gmail.com
26
- executables:
27
- - nake
25
+ email: stastny@101ideas.cz
26
+ executables: []
27
+
28
28
  extensions: []
29
29
 
30
30
  extra_rdoc_files: []
31
31
 
32
32
  files:
33
+ - .gitignore
34
+ - CHANGELOG
35
+ - LICENSE
36
+ - README.textile
37
+ - TODO.txt
33
38
  - bin/nake
34
39
  - bin/nrake
35
40
  - bin/rake2nake
36
41
  - bin/snake
42
+ - bm/Rakefile
37
43
  - bm/bms.rb
38
44
  - bm/output.txt
39
- - bm/Rakefile
40
45
  - bm/tasks.rb
41
- - bm/tmp/test.c
42
- - bm/tmp/www/index.html
43
- - CHANGELOG
44
46
  - deps.rb
45
47
  - deps.rip
46
48
  - examples/arguments.rb
@@ -77,6 +79,7 @@ files:
77
79
  - features/script.feature
78
80
  - features/steps.rb
79
81
  - features/task_arguments.feature
82
+ - lib/nake.rb
80
83
  - lib/nake/abstract_task.rb
81
84
  - lib/nake/args.rb
82
85
  - lib/nake/argv.rb
@@ -95,13 +98,8 @@ files:
95
98
  - lib/nake/tasks/rip.rb
96
99
  - lib/nake/tasks/spec.rb
97
100
  - lib/nake/template.rb
98
- - lib/nake.rb
99
- - LICENSE
100
- - nake-0.0.8.gem
101
- - nake-0.0.8.pre.gem
102
101
  - nake.gemspec
103
102
  - nake.pre.gemspec
104
- - README.textile
105
103
  - spec/nake/abstract_task_spec.rb
106
104
  - spec/nake/args_spec.rb
107
105
  - spec/nake/argv_spec.rb
@@ -127,12 +125,13 @@ files:
127
125
  - spec/stubs/database.yml.erb
128
126
  - spec/stubs/database.yml.tt
129
127
  - tasks.rb
130
- - TODO.txt
131
128
  has_rdoc: true
132
129
  homepage: http://github.com/botanicus/nake
133
130
  licenses: []
134
131
 
135
- post_install_message:
132
+ post_install_message: "[\e[32mVersion 0.0.9\e[0m] Thanks to Task#config=, the configuration can be shared between multiple tasks\n\
133
+ [\e[32mVersion 0.0.9\e[0m] Reworked rule, added Rule class\n\
134
+ [\e[32mVersion 0.0.9\e[0m] Added --coloring & --no-coloring options\n"
136
135
  rdoc_options: []
137
136
 
138
137
  require_paths:
@@ -145,9 +144,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
145
144
  version:
146
145
  required_rubygems_version: !ruby/object:Gem::Requirement
147
146
  requirements:
148
- - - ">="
147
+ - - ">"
149
148
  - !ruby/object:Gem::Version
150
- version: "0"
149
+ version: 1.3.1
151
150
  version:
152
151
  requirements: []
153
152
 
data/bm/tmp/test.c DELETED
@@ -1,6 +0,0 @@
1
- #include <stdio.h>
2
-
3
- int main() {
4
- printf("Hello World!\n");
5
- return 0;
6
- }
@@ -1 +0,0 @@
1
- <html>Hello World!</html>
data/nake-0.0.8.pre.gem DELETED
Binary file