perception 0.1.5 → 0.1.6
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/History.txt +6 -2
- data/License.txt +0 -0
- data/Manifest.txt +0 -2
- data/README.txt +1 -1
- data/Rakefile.rb +62 -61
- data/demo/demo_pp.rb +0 -0
- data/demo/demo_zz.rb +0 -0
- data/init.rb +0 -0
- data/lib/perception/const.rb +0 -0
- data/lib/perception/date_and_time.rb +0 -0
- data/lib/perception/logging.rb +0 -0
- data/lib/perception/numeric.rb +0 -0
- data/lib/perception/perception_main.rb +0 -0
- data/lib/perception/perception_private.rb +0 -0
- data/lib/perception/ppp.rb +0 -0
- data/lib/perception/string_spread.rb +0 -0
- data/lib/perception/test.rb +0 -0
- data/lib/perception.rb +3 -3
- data/test/_start_all.rb +0 -0
- data/test/test_date_and_time.rb +0 -0
- data/test/test_numeric.rb +0 -0
- data/test/test_ppp.rb +0 -0
- data/website/index.html +0 -0
- data/website/index.txt +0 -0
- data/website/javascripts/rounded_corners_lite.inc.js +0 -0
- data/website/stylesheets/screen.css +0 -0
- data/website/template.html.erb +0 -0
- metadata +8 -12
- data/0 start all Tests.bat +0 -20
- data/PostInstall.txt +0 -6
data/History.txt
CHANGED
data/License.txt
CHANGED
File without changes
|
data/Manifest.txt
CHANGED
@@ -8,12 +8,10 @@ lib/perception/perception_private.rb
|
|
8
8
|
lib/perception/ppp.rb
|
9
9
|
lib/perception/string_spread.rb
|
10
10
|
lib/perception/test.rb
|
11
|
-
0 start all Tests.bat
|
12
11
|
History.txt
|
13
12
|
init.rb
|
14
13
|
License.txt
|
15
14
|
Manifest.txt
|
16
|
-
PostInstall.txt
|
17
15
|
Rakefile.rb
|
18
16
|
README.txt
|
19
17
|
website/index.html
|
data/README.txt
CHANGED
data/Rakefile.rb
CHANGED
@@ -9,26 +9,72 @@ require File.dirname(__FILE__) + '/lib/perception'
|
|
9
9
|
# Generate all the Rake tasks
|
10
10
|
# Run 'rake -T' to see list of generated tasks (from gem root directory)
|
11
11
|
$hoe = Hoe.new('perception', Perception::VERSION) do |p|
|
12
|
-
|
12
|
+
|
13
|
+
p.author = 'Bjoern Klippstein'
|
14
|
+
p.email = 'bjoernklippstein@gmail.com'
|
15
|
+
p.url = 'http://rapidrubyonrails.de'
|
16
|
+
|
17
|
+
p.rubyforge_name = p.name
|
18
|
+
p.summary = 'Beautiful and readable printouts for console and logs.'
|
13
19
|
p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
|
14
|
-
|
15
|
-
p.
|
16
|
-
p.
|
17
|
-
['kyanite', '>= 0.3.1'],
|
18
|
-
]
|
19
|
-
p.extra_dev_deps = [
|
20
|
-
['newgem', ">= #{::Newgem::VERSION}"]
|
21
|
-
]
|
20
|
+
|
21
|
+
p.extra_deps = [ ['kyanite', '>= 0.3.1'] ]
|
22
|
+
p.extra_dev_deps = [ ['newgem', ">= #{::Newgem::VERSION}"] ]
|
22
23
|
|
23
24
|
p.clean_globs |= %w[**/.DS_Store tmp *.log]
|
24
25
|
path = (p.rubyforge_name == p.name) ? p.rubyforge_name : "\#{p.rubyforge_name}/\#{p.name}"
|
25
|
-
p.remote_rdoc_dir = File.join(path.gsub(/^#{p.rubyforge_name}\/?/,''), 'rdoc')
|
26
|
+
# p.remote_rdoc_dir = File.join(path.gsub(/^#{p.rubyforge_name}\/?/,''), 'rdoc')
|
27
|
+
p.remote_rdoc_dir = File.join(path.gsub(/^#{p.rubyforge_name}\/?/,''), '')
|
26
28
|
p.rsync_args = '-av --delete --ignore-errors'
|
27
29
|
end
|
28
30
|
|
29
31
|
require 'newgem/tasks' # load /tasks/*.rake
|
30
32
|
Dir['tasks/**/*.rake'].each { |t| load t }
|
31
33
|
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
# ----------------------------------------------------------------------------------------------
|
38
|
+
# Patch Hoe
|
39
|
+
#
|
40
|
+
|
41
|
+
# Task :release korrigieren
|
42
|
+
# no explicit version needed
|
43
|
+
#
|
44
|
+
remove_task :release
|
45
|
+
desc 'Package and upload the actual version to rubyforge.'
|
46
|
+
task :release => [:clean, :package] do |t|
|
47
|
+
pkg = "pkg/#{$hoe.name}-#{Perception::VERSION}"
|
48
|
+
rf = RubyForge.new.configure
|
49
|
+
puts "Logging in"
|
50
|
+
rf.login
|
51
|
+
c = rf.userconfig
|
52
|
+
c["release_notes"] = $hoe.description if $hoe.description
|
53
|
+
c["release_changes"] = $hoe.changes if $hoe.changes
|
54
|
+
c["preformatted"] = true
|
55
|
+
|
56
|
+
files = ["#{pkg}.tgz", "#{pkg}.gem"].compact
|
57
|
+
puts "Releasing #{$hoe.name} #{Perception::VERSION}"
|
58
|
+
rf.add_release $hoe.rubyforge_name, $hoe.name, Perception::VERSION, *files
|
59
|
+
end
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
# Task :publish_docs korrigieren
|
64
|
+
#
|
65
|
+
remove_task :publish_docs
|
66
|
+
desc 'Publish RDoc to RubyForge.'
|
67
|
+
task :publish_docs => [:clean, :docs] do
|
68
|
+
#task :publish_docs do
|
69
|
+
config = YAML.load(File.read(File.expand_path("~/.rubyforge/user-config.yml")))
|
70
|
+
host = "#{config["username"]}@rubyforge.org"
|
71
|
+
remote_dir = "/var/www/gforge-projects/#{$hoe.rubyforge_name}"
|
72
|
+
local_dir = 'doc'
|
73
|
+
sh %{rsync #{$hoe.rsync_args} #{local_dir}/ #{host}:#{remote_dir}}
|
74
|
+
end
|
75
|
+
|
76
|
+
|
77
|
+
|
32
78
|
# TODO - want other tests/tasks run by default? Add them to the list
|
33
79
|
# task :default => [:spec, :features]
|
34
80
|
|
@@ -39,8 +85,11 @@ Dir['tasks/**/*.rake'].each { |t| load t }
|
|
39
85
|
#
|
40
86
|
|
41
87
|
$rake_tasks_ausblenden = %w{ bundles:tm deps:email deps:fetch deps:list manifest manifest:refresh
|
42
|
-
announce
|
43
|
-
|
88
|
+
announce clobber clobber_docs clobber_package clobber_rdoc
|
89
|
+
config_hoe deploy
|
90
|
+
install_gem_no_doc
|
91
|
+
local_deploy package post_blog post_news ridocs test_deps
|
92
|
+
clobber_docs clobber_rdoc rdoc redocs rerdoc}
|
44
93
|
require 'kyanite/rake'
|
45
94
|
|
46
95
|
|
@@ -60,7 +109,7 @@ require 'hanna/rdoctask'
|
|
60
109
|
desc 'Generate RDoc documentation for Perception'
|
61
110
|
Rake::RDocTask.new do |rdoc|
|
62
111
|
rdoc.rdoc_dir = 'doc'
|
63
|
-
rdoc.title = "Perception -
|
112
|
+
rdoc.title = "Perception - #{$hoe.summary}"
|
64
113
|
rdoc.rdoc_files.include('README.txt', 'License.txt')
|
65
114
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
66
115
|
rdoc.rdoc_files.include('test/**/test_*.rb')
|
@@ -77,51 +126,3 @@ end
|
|
77
126
|
|
78
127
|
|
79
128
|
|
80
|
-
|
81
|
-
|
82
|
-
# Gem::Specification.new do |s|
|
83
|
-
# s.name = %q{perception}
|
84
|
-
# s.version = "0.0.1"
|
85
|
-
# s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
86
|
-
# s.authors = ["Bjoern Klippstein"]
|
87
|
-
# s.date = %q{2008-08-01}
|
88
|
-
# s.description = %q{Beautiful printouts for humans}
|
89
|
-
# s.email = ["b-klippstein@gmx.de"]
|
90
|
-
# s.extra_rdoc_files = ["History.txt", "License.txt", "Manifest.txt", "PostInstall.txt", "README.txt", "website/index.txt"]
|
91
|
-
# s.files = ["", "demo/demo.rb", "demo/demo_pp.rb", "lib/perception/const.rb", "lib/perception/date_and_time.rb", "lib/perception/logging.rb", "lib/perception/n
|
92
|
-
# umeric.rb", "lib/perception/perception_main.rb", "lib/perception/perception_private.rb", "lib/perception/ppp.rb", "lib/perception/string_nested.rb", "lib/percep
|
93
|
-
# tion/string_spread.rb", "log/see.log", "test/#_start_all_TESTS.bat", "test/_start_all.rb", "test/_testhelper.rb", "test/date_and_time_test.rb", "test/numeric_te
|
94
|
-
# st.rb", "test/ppp_test.rb", "test/string_nested_test.rb", "History.txt", "License.txt", "Manifest.txt", "PostInstall.txt", "README.txt", "Rakefile", "config/hoe
|
95
|
-
# .rb", "config/requirements.rb", "lib/perception.rb", "lib/perception/version.rb", "script/console", "script/console.cmd", "script/destroy", "script/destroy.cmd"
|
96
|
-
# , "script/generate", "script/generate.cmd", "script/txt2html", "script/txt2html.cmd", "setup.rb", "tasks/deployment.rake", "tasks/environment.rake", "tasks/webs
|
97
|
-
# ite.rake", "test/test_helper.rb", "test/test_perception.rb", "website/index.html", "website/index.txt", "website/javascripts/rounded_corners_lite.inc.js", "webs
|
98
|
-
# ite/stylesheets/screen.css", "website/template.html.erb"]
|
99
|
-
# s.has_rdoc = true
|
100
|
-
# s.homepage = %q{http://perception.rubyforge.org}
|
101
|
-
# s.post_install_message = %q{
|
102
|
-
# For more information on perception, see http://perception.rubyforge.org
|
103
|
-
|
104
|
-
# NOTE: Change this information in PostInstall.txt
|
105
|
-
# You can also delete it if you don't want it.
|
106
|
-
|
107
|
-
|
108
|
-
# }
|
109
|
-
# s.rdoc_options = ["--main", "README.txt"]
|
110
|
-
# s.require_paths = ["lib"]
|
111
|
-
# s.rubyforge_project = %q{perception}
|
112
|
-
# s.rubygems_version = %q{1.2.0}
|
113
|
-
# s.summary = %q{Beautiful printouts for humans}
|
114
|
-
|
115
|
-
# if s.respond_to? :specification_version then
|
116
|
-
# current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
117
|
-
# s.specification_version = 2
|
118
|
-
|
119
|
-
# if current_version >= 3 then
|
120
|
-
# s.add_development_dependency(%q<hoe>, [">= 1.7.0"])
|
121
|
-
# else
|
122
|
-
# s.add_dependency(%q<hoe>, [">= 1.7.0"])
|
123
|
-
# end
|
124
|
-
# else
|
125
|
-
# s.add_dependency(%q<hoe>, [">= 1.7.0"])
|
126
|
-
# end
|
127
|
-
# end
|
data/demo/demo_pp.rb
CHANGED
File without changes
|
data/demo/demo_zz.rb
CHANGED
File without changes
|
data/init.rb
CHANGED
File without changes
|
data/lib/perception/const.rb
CHANGED
File without changes
|
File without changes
|
data/lib/perception/logging.rb
CHANGED
File without changes
|
data/lib/perception/numeric.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
data/lib/perception/ppp.rb
CHANGED
File without changes
|
File without changes
|
data/lib/perception/test.rb
CHANGED
File without changes
|
data/lib/perception.rb
CHANGED
@@ -7,10 +7,10 @@ end
|
|
7
7
|
|
8
8
|
|
9
9
|
# Die Versionsnummer steht ausserdem
|
10
|
-
# * im Script '
|
11
|
-
# * in der gem-Verkn�pfung
|
10
|
+
# * im Script '2_rake_install_gem.bat'
|
11
|
+
# * ggf. in der gem-Verkn�pfung
|
12
12
|
module Perception
|
13
|
-
VERSION = '0.1.
|
13
|
+
VERSION = '0.1.6'
|
14
14
|
end
|
15
15
|
|
16
16
|
|
data/test/_start_all.rb
CHANGED
File without changes
|
data/test/test_date_and_time.rb
CHANGED
File without changes
|
data/test/test_numeric.rb
CHANGED
File without changes
|
data/test/test_ppp.rb
CHANGED
File without changes
|
data/website/index.html
CHANGED
File without changes
|
data/website/index.txt
CHANGED
File without changes
|
File without changes
|
File without changes
|
data/website/template.html.erb
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: perception
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bjoern Klippstein
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-12-
|
12
|
+
date: 2008-12-11 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -42,9 +42,8 @@ dependencies:
|
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: 1.8.0
|
44
44
|
version:
|
45
|
-
description: Perception - Beautiful printouts for humans
|
46
|
-
email:
|
47
|
-
- bjoernklippstein@gmail.com
|
45
|
+
description: Perception - Beautiful printouts for humans
|
48
46
|
Perception is a intuitive toolkit for simple everyday debugging.
|
49
47
|
It offers a powerfull replacement for print, puts and pp.
|
50
48
|
|
51
49
|
You get auto-intended and structured output on your console without any configuration.
|
52
50
|
Perception also offers temporary printouts (overwritten by the next print),
|
53
51
|
printing two informations in one line without destroying the structure
|
54
52
|
and optionally slows down printing to readable speed, depending on the complexity of the output.
|
53
|
+
email: bjoernklippstein@gmail.com
|
55
54
|
executables: []
|
56
55
|
|
57
56
|
extensions: []
|
@@ -53,7 +52,6 @@ extra_rdoc_files:
|
|
53
52
|
- History.txt
|
54
53
|
- License.txt
|
55
54
|
- Manifest.txt
|
56
|
-
- PostInstall.txt
|
57
55
|
- README.txt
|
58
56
|
- website/index.txt
|
59
57
|
files:
|
@@ -67,12 +65,10 @@ files:
|
|
67
65
|
- lib/perception/ppp.rb
|
68
66
|
- lib/perception/string_spread.rb
|
69
67
|
- lib/perception/test.rb
|
70
|
-
- 0 start all Tests.bat
|
71
68
|
- History.txt
|
72
69
|
- init.rb
|
73
70
|
- License.txt
|
74
71
|
- Manifest.txt
|
75
|
-
- PostInstall.txt
|
76
72
|
- Rakefile.rb
|
77
73
|
- README.txt
|
78
74
|
- website/index.html
|
@@ -87,8 +83,8 @@ files:
|
|
87
83
|
- test/test_numeric.rb
|
88
84
|
- test/test_ppp.rb
|
89
85
|
has_rdoc: true
|
90
|
-
homepage: http://
|
91
|
-
post_install_message:
|
86
|
+
homepage: http://rapidrubyonrails.de
|
87
|
+
post_install_message:
|
92
88
|
rdoc_options:
|
93
89
|
- --main
|
94
90
|
- README.txt
|
@@ -109,10 +105,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
105
|
requirements: []
|
110
106
|
|
111
107
|
rubyforge_project: perception
|
112
|
-
rubygems_version: 1.
|
108
|
+
rubygems_version: 1.3.1
|
113
109
|
signing_key:
|
114
110
|
specification_version: 2
|
115
|
-
summary:
|
111
|
+
summary: Beautiful and readable printouts for console and logs.
|
116
112
|
test_files:
|
117
113
|
- test/test_date_and_time.rb
|
118
114
|
- test/test_numeric.rb
|
data/0 start all Tests.bat
DELETED