nake 0.0.9.pre → 0.0.9.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,36 +1,7 @@
1
- = Version 0.0.1
2
- * bin/nake executable
3
- * sh helper (nake/helpers)
4
- * task helper (nake/dsl)
5
- * Task with description, dependencies and blocks
6
- * Hidden tasks
7
- * Each task can has multiple aliases
8
- * Command line arguments parsing. Arguments will be passed as an arguments for blocks of the given task and options will be extracted into a hash, parsed into Ruby data types and passed as the last argument for the blocks.
9
- * Default tasks for help (-H, --help), list of available tasks (-T, --tasks) and interactive session (-i, --interactive)
10
-
11
- = Version 0.0.2
12
- * Support for configuration
13
- * A lot of useful tasks for releasing, prereleasing, bundling, specs, clean etc.
14
-
15
- = Version 0.0.3
16
- * Some bug fixes and task improvements
17
-
18
- = Version 0.0.4
19
- * Support for arguments parsing
20
- * FileTask & file & directory helpers
21
-
22
- = Version 0.0.5
23
- * Benchmarks
24
- * Some bug fixes
25
-
26
- = Version 0.0.6
27
- * Cucumber features
28
- * DSL helper rule
29
-
30
- = Version 0.0.7
31
- * Added Task#boot method for setting some stuff after other tasks boot
32
- * Added DSL helper desc
33
- * Removed task aliases
1
+ = Version 0.0.9
2
+ * Thanks to Task#config=, the configuration can be shared between multiple tasks
3
+ * Reworked rule, added Rule class
4
+ * Added --coloring & --no-coloring options
34
5
 
35
6
  = Version 0.0.8
36
7
  * Added Nake::Template & template helper
@@ -42,7 +13,36 @@
42
13
  * Task.description can use %{foo} and it will be replaced by values from its config hash
43
14
  * Task.description can be a callable object
44
15
 
45
- = Version 0.0.9
46
- * Thanks to Task#config=, the configuration can be shared between multiple tasks
47
- * Reworked rule, added Rule class
48
- * Added --coloring & --no-coloring options
16
+ = Version 0.0.7
17
+ * Added Task#boot method for setting some stuff after other tasks boot
18
+ * Added DSL helper desc
19
+ * Removed task aliases
20
+
21
+ = Version 0.0.6
22
+ * Cucumber features
23
+ * DSL helper rule
24
+
25
+ = Version 0.0.5
26
+ * Benchmarks
27
+ * Some bug fixes
28
+
29
+ = Version 0.0.4
30
+ * Support for arguments parsing
31
+ * FileTask & file & directory helpers
32
+
33
+ = Version 0.0.3
34
+ * Some bug fixes and task improvements
35
+
36
+ = Version 0.0.2
37
+ * Support for configuration
38
+ * A lot of useful tasks for releasing, prereleasing, bundling, specs, clean etc.
39
+
40
+ = Version 0.0.1
41
+ * bin/nake executable
42
+ * sh helper (nake/helpers)
43
+ * task helper (nake/dsl)
44
+ * Task with description, dependencies and blocks
45
+ * Hidden tasks
46
+ * Each task can has multiple aliases
47
+ * Command line arguments parsing. Arguments will be passed as an arguments for blocks of the given task and options will be extracted into a hash, parsed into Ruby data types and passed as the last argument for the blocks.
48
+ * Default tasks for help (-H, --help), list of available tasks (-T, --tasks) and interactive session (-i, --interactive)
data/Gemfile ADDED
File without changes
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Nake
4
- VERSION ||= "0.0.8"
4
+ # VERSION ||= "0.0.8.1"
5
5
  def self.verbose
6
6
  @@verbose
7
7
  rescue NameError
@@ -6,7 +6,7 @@ module Nake
6
6
  class FileTask < AbstractTask
7
7
  # TODO: default description na Generate #name
8
8
  alias_method :path, :name
9
-
9
+
10
10
  # FileTask can depend on tasks, other file tasks or just files.
11
11
  # If a file task depends on a task, this task isn't supposed to change anything what ...
12
12
  # ... if it's changing something, make sure the changing task is actually called before the file tasks are executed
@@ -8,19 +8,18 @@ require "base64"
8
8
 
9
9
  Gem::Specification.new do |s|
10
10
  s.name = "nake"
11
- s.version = "0.0.9"
11
+ s.version = "0.0.9.2"
12
12
  s.authors = ["Jakub Šťastný aka Botanicus"]
13
13
  s.homepage = "http://github.com/botanicus/nake"
14
14
  s.summary = "Nake is light-weight and highly flexible Rake replacement with much better arguments parsing"
15
15
  s.description = "" # TODO: long description
16
- s.cert_chain = nil
17
16
  s.email = Base64.decode64("c3Rhc3RueUAxMDFpZGVhcy5jeg==\n")
18
17
  s.has_rdoc = true
19
18
 
20
19
  # files
21
20
  s.files = `git ls-files`.split("\n")
22
21
 
23
- Dir["bin/*"].map(&File.method(:basename))
22
+ s.executables = Dir["bin/*"].map(&File.method(:basename))
24
23
  s.default_executable = "nake"
25
24
  s.require_paths = ["lib"]
26
25
 
data/tasks.rb CHANGED
@@ -1,6 +1,15 @@
1
1
  #!./bin/nake
2
2
  # encoding: utf-8
3
3
 
4
+ begin
5
+ require File.expand_path("../.bundle/environment", __FILE__)
6
+ rescue LoadError
7
+ require "bundler"
8
+ Bundler.setup
9
+ end
10
+
11
+ $LOAD_PATH.unshift(File.expand_path("../lib", __FILE__))
12
+
4
13
  require "nake/tasks/gem"
5
14
  require "nake/tasks/spec"
6
15
  require "nake/tasks/release"
metadata CHANGED
@@ -1,37 +1,45 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: nake
3
- version: !ruby/object:Gem::Version
4
- version: 0.0.9.pre
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.9.2
5
+ prerelease:
5
6
  platform: ruby
6
- authors:
7
- - "Jakub \xC5\xA0\xC5\xA5astn\xC3\xBD aka Botanicus"
7
+ authors:
8
+ - Jakub Šťastný aka Botanicus
8
9
  autorequire:
9
10
  bindir: bin
10
- cert_chain:
11
- date: 2010-01-25 00:00:00 +00:00
12
- default_executable: nake
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
11
+ cert_chain: []
12
+ date: 2012-07-12 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
15
  name: term-ansicolor
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
16
22
  type: :runtime
17
- version_requirement:
18
- version_requirements: !ruby/object:Gem::Requirement
19
- requirements:
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: "0"
23
- version:
24
- description: ""
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ description: ''
25
31
  email: stastny@101ideas.cz
26
- executables: []
27
-
32
+ executables:
33
+ - nake
34
+ - nrake
35
+ - rake2nake
36
+ - snake
28
37
  extensions: []
29
-
30
38
  extra_rdoc_files: []
31
-
32
- files:
39
+ files:
33
40
  - .gitignore
34
41
  - CHANGELOG
42
+ - Gemfile
35
43
  - LICENSE
36
44
  - README.textile
37
45
  - TODO.txt
@@ -125,35 +133,31 @@ files:
125
133
  - spec/stubs/database.yml.erb
126
134
  - spec/stubs/database.yml.tt
127
135
  - tasks.rb
128
- has_rdoc: true
129
136
  homepage: http://github.com/botanicus/nake
130
137
  licenses: []
131
-
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"
138
+ post_install_message: ! "[\e[32mVersion 0.0.9\e[0m] Thanks to Task#config=, the configuration
139
+ can be shared between multiple tasks\n[\e[32mVersion 0.0.9\e[0m] Reworked rule,
140
+ added Rule class\n[\e[32mVersion 0.0.9\e[0m] Added --coloring & --no-coloring options\n"
135
141
  rdoc_options: []
136
-
137
- require_paths:
142
+ require_paths:
138
143
  - lib
139
- required_ruby_version: !ruby/object:Gem::Requirement
140
- requirements:
144
+ required_ruby_version: !ruby/object:Gem::Requirement
145
+ none: false
146
+ requirements:
141
147
  - - ~>
142
- - !ruby/object:Gem::Version
143
- version: "1.9"
144
- version:
145
- required_rubygems_version: !ruby/object:Gem::Requirement
146
- requirements:
147
- - - ">"
148
- - !ruby/object:Gem::Version
149
- version: 1.3.1
150
- version:
148
+ - !ruby/object:Gem::Version
149
+ version: '1.9'
150
+ required_rubygems_version: !ruby/object:Gem::Requirement
151
+ none: false
152
+ requirements:
153
+ - - ! '>='
154
+ - !ruby/object:Gem::Version
155
+ version: '0'
151
156
  requirements: []
152
-
153
157
  rubyforge_project: nake
154
- rubygems_version: 1.3.5
158
+ rubygems_version: 1.8.23
155
159
  signing_key:
156
160
  specification_version: 3
157
- summary: Nake is light-weight and highly flexible Rake replacement with much better arguments parsing
161
+ summary: Nake is light-weight and highly flexible Rake replacement with much better
162
+ arguments parsing
158
163
  test_files: []
159
-