postview 0.9.1 → 0.9.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/HISTORY CHANGED
@@ -1,3 +1,24 @@
1
+ [0.9.2 - 2009-10-27 - Fixes]
2
+ Small fixes for compatibility.
3
+
4
+ * Fixes for compatibility to Ruby v1.9.x.
5
+ * Updates in the documentation.
6
+
7
+ [0.9.1 - 2009-10-23 - Enhancements]
8
+ New enhancements.
9
+
10
+ * Deprecation warning message has been included in Postview::Application
11
+ module. The blog application is Postview::Application::Blog.
12
+ * The source of the main application has been placed into
13
+ postview/application/blog.
14
+ * The fixtures for test application source have been added.
15
+ * Small fixes in the test sources.
16
+ * Small fixes in tasks
17
+ * All documentation in classes and modules have been updated.
18
+ * The file `lib/postview/version.rb` has been removed. It's unneeded.
19
+ * Fix in task `gem:spec` to open `postview.gemspec` file
20
+ in writable mode for add new specifications.
21
+
1
22
  [0.9.0 - 2009-10-14 - Features, enhancements and improvements]
2
23
  New features, enhancements and small improvements
3
24
 
data/VERSION CHANGED
@@ -1,8 +1,8 @@
1
1
  ---
2
- :minor: 9
2
+ :major: 0
3
3
  :release:
4
+ :minor: 9
4
5
  :cycle: Beta
5
- :patch: 1
6
6
  :timestamp: 2009-08-24 07:46:28 -04:00
7
- :date: 2009-10-23
8
- :major: 0
7
+ :patch: 2
8
+ :date: 2009-10-27
@@ -9,9 +9,9 @@ module CLI
9
9
  # List all commands for CLI options.
10
10
  def self.commands
11
11
  constants.select do |constant|
12
- constant =~ /.Command/
12
+ constant.to_s =~ /.Command/
13
13
  end.map do |constant|
14
- constant.sub(/Command/,'').downcase
14
+ constant.to_s.sub(/Command/,'').downcase
15
15
  end.sort
16
16
  end
17
17
 
@@ -69,6 +69,7 @@ class Site
69
69
 
70
70
  # Generate digest token.
71
71
  def self.tokenize(username, password, domain)
72
+ require 'digest'
72
73
  Digest::SHA256.hexdigest("$#{username}?#{password}@#{domain}")
73
74
  end
74
75
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: postview
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hallison Batista
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-10-23 00:00:00 -04:00
12
+ date: 2009-10-27 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -137,7 +137,6 @@ files:
137
137
  - test/fixtures/site/blog/themes/mytheme/images/favicon.ico
138
138
  - test/fixtures/site/blog/themes/mytheme/images/sinatra.png
139
139
  - test/fixtures/site/blog/themes/mytheme/images/postview.png
140
- - test/fixtures/site/blog/config.ru
141
140
  - test/fixtures/blog/posts/archive/20080602-second_article.t1.t2.mkd
142
141
  - test/fixtures/blog/posts/archive/20080529-first_article.t1.mkd
143
142
  - test/fixtures/blog/posts/20090602-fourth_article.t1.t2.t3.t4.mkd
@@ -169,7 +168,6 @@ files:
169
168
  - test/fixtures/blog/themes/mytheme/images/favicon.ico
170
169
  - test/fixtures/blog/themes/mytheme/images/sinatra.png
171
170
  - test/fixtures/blog/themes/mytheme/images/postview.png
172
- - test/fixtures/blog/config.ru
173
171
  - themes/default/templates/search.erb
174
172
  - themes/default/templates/posts/index.erb
175
173
  - themes/default/templates/posts/show.erb
@@ -197,7 +195,7 @@ licenses: []
197
195
 
198
196
  post_install_message: |
199
197
  ------------------------------------------------------------------------------
200
- Postview v0.9.1 (October 23, 2009, Beta)
198
+ Postview v0.9.2 (October 27, 2009, Beta)
201
199
 
202
200
  Thanks for use this lightweight blogware. Now, you can read your posts by
203
201
  editing in your favorite editor.
@@ -209,7 +207,7 @@ rdoc_options:
209
207
  - --line-numbers
210
208
  - --inline-source
211
209
  - --title
212
- - Postview v0.9.1 (October 23, 2009, Beta)
210
+ - Postview v0.9.2 (October 27, 2009, Beta)
213
211
  - --main
214
212
  - README.rdoc
215
213
  require_paths:
@@ -295,7 +293,6 @@ test_files:
295
293
  - test/fixtures/site/blog/themes/mytheme/images/favicon.ico
296
294
  - test/fixtures/site/blog/themes/mytheme/images/sinatra.png
297
295
  - test/fixtures/site/blog/themes/mytheme/images/postview.png
298
- - test/fixtures/site/blog/config.ru
299
296
  - test/fixtures/blog/posts/archive/20080602-second_article.t1.t2.mkd
300
297
  - test/fixtures/blog/posts/archive/20080529-first_article.t1.mkd
301
298
  - test/fixtures/blog/posts/20090602-fourth_article.t1.t2.t3.t4.mkd
@@ -327,4 +324,3 @@ test_files:
327
324
  - test/fixtures/blog/themes/mytheme/images/favicon.ico
328
325
  - test/fixtures/blog/themes/mytheme/images/sinatra.png
329
326
  - test/fixtures/blog/themes/mytheme/images/postview.png
330
- - test/fixtures/blog/config.ru
@@ -1,3 +0,0 @@
1
- require 'rubygems'
2
- require 'postview'
3
- run Postview::Application
@@ -1,3 +0,0 @@
1
- require 'rubygems'
2
- require 'postview'
3
- run Postview::Application