prigner 0.2.1 → 0.2.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/CHANGELOG CHANGED
@@ -1,4 +1,12 @@
1
- = Prigner v0.2.1 (2010-11-05) - Changelog
1
+ = Prigner v0.2.2 (2010-11-17) - Changelog
2
+
3
+ == 2010-11-19
4
+
5
+ * Updates in documentation and metadata.
6
+
7
+ == 2010-11-17
8
+
9
+ * Adding of release notes in documentation.
2
10
 
3
11
  == 2010-11-05
4
12
 
data/README.rdoc CHANGED
@@ -80,7 +80,7 @@ Run <tt>prign list</tt> to view all available templates.
80
80
 
81
81
  You can creates your own templates. Just save in your home directory
82
82
  <tt>~/.prigner/templates/<your-template></tt>. For more information about
83
- templates, see "TEMPLATES.rdoc" file.
83
+ templates, see "doc/templates.rdoc" file.
84
84
 
85
85
  == BUGS AND CONTRIBUTING
86
86
 
data/Rakefile CHANGED
@@ -30,7 +30,7 @@ end
30
30
 
31
31
  def manifest
32
32
  @manifest ||= git(:ls_files).split("\n").sort.reject do |out|
33
- out =~ /^\./ || out =~ /^doc/
33
+ out =~ /^\./ || out =~ /^doc\/api/
34
34
  end.map do |file|
35
35
  " #{file.inspect}"
36
36
  end.join(",\n")
@@ -76,7 +76,8 @@ end
76
76
 
77
77
  CLOBBER << FileList["doc/api*"]
78
78
 
79
- file "doc/api/index.html" => FileList["lib/**/*.rb", "README.rdoc", "TEMPLATES.rdoc", "CHANGELOG"] do |filespec|
79
+ source_files = %w[lib/**/*.rb README.rdoc doc/**/*.rdoc CHANGELOG]
80
+ file "doc/api/index.html" => FileList[*source_files] do |filespec|
80
81
  rdoc "--op", "doc/api",
81
82
  "--charset", "utf8",
82
83
  "--main", "'Prigner'",
@@ -0,0 +1,16 @@
1
+ = Prigner v0.1.0
2
+
3
+ Implementation of the basic features.
4
+
5
+ * Loads and creates all directories and files from templates.
6
+ * Adding of basic templates:
7
+ * Templates for simple Ruby project.
8
+ * Templates for RubyGems project. This template includes:
9
+ * Common tasks without dependencies.
10
+ * Tests using `test/unit` and several customisations.
11
+ * Deploy to RubyGems.org.
12
+ * Code for versioning.
13
+
14
+ This is an alpha version. For more informations about this release,
15
+ please see the CHANGELOG file.
16
+
@@ -0,0 +1,7 @@
1
+ = Prigner v0.1.1
2
+
3
+ This release is a bug fix and small improvements.
4
+
5
+ * Bug fix in command to build new project.
6
+ * Improvements in the files of tests.
7
+
@@ -0,0 +1,12 @@
1
+ = Prigner v0.2.0
2
+
3
+ New features and several improvements in API.
4
+
5
+ * The templates could includes optional files.
6
+ * All templates have been updated.
7
+ * Adding new templates.
8
+ * Small fixes in the source code for build templates.
9
+
10
+ This is a beta version. For more informations about this release, please see
11
+ the CHANGELOG file.
12
+
@@ -0,0 +1,10 @@
1
+ = Prigner v0.2.1
2
+
3
+ New templates and several improvements.
4
+
5
+ * Updates in documentation.
6
+ * Adding of the Sinatra application template.
7
+
8
+ This is a beta version. For more informations about this release, please see
9
+ the CHANGELOG file.
10
+
@@ -0,0 +1,10 @@
1
+ = Prigner v0.2.2
2
+
3
+ Bug fixes in CLI commands.
4
+
5
+ * The CLI command handle has been fixed to include the root directory of
6
+ Prigner.
7
+ * Documentation has release notes of the versions.
8
+
9
+ For more informations about this release, please see the CHANGELOG file.
10
+
File without changes
data/lib/prigner.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  #@ ---
2
2
  #@ :timestamp: 2009-07-16 14:05:16 -04:00
3
- #@ :date: 2010-11-05
4
- #@ :tag: 0.2.1
3
+ #@ :date: 2010-11-17
4
+ #@ :tag: 0.2.2
5
5
 
6
6
  # ---
7
7
  # encoding: UTF-8
data/lib/prigner/cli.rb CHANGED
@@ -39,7 +39,8 @@ module Prigner::CLI
39
39
  def self.run(*args)
40
40
  command = args.shift if commands.include? args.first
41
41
  raise RuntimeError, "unknown command '#{args.first}'" unless command
42
- exec ruby, source(command), *args
42
+ rubyopt = "-I#{Prigner::ROOT}/lib"
43
+ exec ruby, rubyopt, source(command), *args
43
44
  end
44
45
 
45
46
  class Status
data/prigner.gemspec CHANGED
@@ -14,8 +14,8 @@ Gem::Specification.new do |spec|
14
14
  #
15
15
 
16
16
  #version
17
- spec.version = "0.2.1"
18
- spec.date = "2010-11-05"
17
+ spec.version = "0.2.2"
18
+ spec.date = "2010-11-17"
19
19
  #
20
20
 
21
21
  #dependencies
@@ -28,8 +28,13 @@ Gem::Specification.new do |spec|
28
28
  "COPYING",
29
29
  "README.rdoc",
30
30
  "Rakefile",
31
- "TEMPLATES.rdoc",
32
31
  "bin/prign",
32
+ "doc/releases/v0.1.0.rdoc",
33
+ "doc/releases/v0.1.1.rdoc",
34
+ "doc/releases/v0.2.0.rdoc",
35
+ "doc/releases/v0.2.1.rdoc",
36
+ "doc/releases/v0.2.2.rdoc",
37
+ "doc/templates.rdoc",
33
38
  "lib/prigner.rb",
34
39
  "lib/prigner/builder.rb",
35
40
  "lib/prigner/cli.rb",
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prigner
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 1
10
- version: 0.2.1
9
+ - 2
10
+ version: 0.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Hallison Batista
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-11-05 00:00:00 -04:00
18
+ date: 2010-11-17 00:00:00 -04:00
19
19
  default_executable: prign
20
20
  dependencies: []
21
21
 
@@ -34,8 +34,13 @@ files:
34
34
  - COPYING
35
35
  - README.rdoc
36
36
  - Rakefile
37
- - TEMPLATES.rdoc
38
37
  - bin/prign
38
+ - doc/releases/v0.1.0.rdoc
39
+ - doc/releases/v0.1.1.rdoc
40
+ - doc/releases/v0.2.0.rdoc
41
+ - doc/releases/v0.2.1.rdoc
42
+ - doc/releases/v0.2.2.rdoc
43
+ - doc/templates.rdoc
39
44
  - lib/prigner.rb
40
45
  - lib/prigner/builder.rb
41
46
  - lib/prigner/cli.rb
@@ -120,7 +125,7 @@ licenses: []
120
125
 
121
126
  post_install_message: |
122
127
  ------------------------------------------------------------------------------
123
- Prigner v0.2.1
128
+ Prigner v0.2.2
124
129
 
125
130
  Thanks for use Prigner. See all shared templates running:
126
131
 
@@ -135,7 +140,7 @@ rdoc_options:
135
140
  - --main
136
141
  - Prigner
137
142
  - --title
138
- - Prigner v0.2.1 API Documentation
143
+ - Prigner v0.2.2 API Documentation
139
144
  require_paths:
140
145
  - lib
141
146
  required_ruby_version: !ruby/object:Gem::Requirement