vanity 1.5.0.beta → 1.5.0

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,4 @@
1
- == 1.5.0 (2010-10-12)
1
+ == 1.5.0 (2010-10-23)
2
2
 
3
3
  Note: MongoDB URI scheme changed from mongo: to mongodb: to be consistent with
4
4
  the rest of the civilized world. If you get an error because Vanity can't find
@@ -2,7 +2,7 @@ module Vanity
2
2
  module Rails #:nodoc:
3
3
  def self.load!
4
4
  Vanity.playground.load_path = ::Rails.root + Vanity.playground.load_path
5
- Vanity.playground.logger ||= Rails.logger
5
+ Vanity.playground.logger ||= ::Rails.logger
6
6
 
7
7
  # Do this at the very end of initialization, allowing you to change
8
8
  # connection adapter, turn collection on/off, etc.
@@ -148,11 +148,11 @@ module Vanity
148
148
  value
149
149
  end
150
150
  end
151
-
151
+
152
152
  def vanity_h(text)
153
153
  h(text)
154
154
  end
155
-
155
+
156
156
  def vanity_html_safe(text)
157
157
  if text.respond_to?(:html_safe!)
158
158
  text.html_safe!
@@ -160,8 +160,8 @@ module Vanity
160
160
  text
161
161
  end
162
162
  end
163
-
164
- def vanity_simple_format(text, html_options={})
163
+
164
+ def vanity_simple_format(text, html_options={})
165
165
  vanity_html_safe(simple_format(text, html_options))
166
166
  end
167
167
  end
@@ -1,5 +1,5 @@
1
1
  module Vanity
2
- VERSION = "1.5.0.beta"
2
+ VERSION = "1.5.0"
3
3
 
4
4
  module Version
5
5
  version = VERSION.to_s.split(".").map { |i| i.to_i }
@@ -2989,3 +2989,43 @@ Completed in 5ms (View: 1 | 200 OK [http://:? ]
2989
2989
  Processing MainController#index (for at 2010-10-12 22:57:16) [GET]
2990
2990
  Parameters: {" "=>nil}
2991
2991
  Completed in 6ms (View: 1 | 200 OK [http://:? ]
2992
+
2993
+
2994
+ Processing MainController#index (for at 2010-10-23 17:50:09) [GET]
2995
+ Parameters: {" "=>nil}
2996
+ Completed in 3ms (View: 1 | 200 OK [http://:? ]
2997
+
2998
+
2999
+ Processing MainController#index (for at 2010-10-23 17:50:54) [GET]
3000
+ Parameters: {" "=>nil}
3001
+ Completed in 3ms (View: 1 | 200 OK [http://:? ]
3002
+
3003
+
3004
+ Processing MainController#index (for at 2010-10-23 17:51:30) [GET]
3005
+ Parameters: {" "=>nil}
3006
+ Completed in 5ms (View: 1 | 200 OK [http://:? ]
3007
+
3008
+
3009
+ Processing MainController#index (for at 2010-10-23 17:52:11) [GET]
3010
+ Parameters: {" "=>nil}
3011
+ Completed in 6ms (View: 1 | 200 OK [http://:? ]
3012
+
3013
+
3014
+ Processing MainController#index (for at 2010-10-23 17:56:12) [GET]
3015
+ Parameters: {" "=>nil}
3016
+ Completed in 3ms (View: 1 | 200 OK [http://:? ]
3017
+
3018
+
3019
+ Processing MainController#index (for at 2010-10-23 17:56:46) [GET]
3020
+ Parameters: {" "=>nil}
3021
+ Completed in 3ms (View: 1 | 200 OK [http://:? ]
3022
+
3023
+
3024
+ Processing MainController#index (for at 2010-10-23 17:57:15) [GET]
3025
+ Parameters: {" "=>nil}
3026
+ Completed in 7ms (View: 1 | 200 OK [http://:? ]
3027
+
3028
+
3029
+ Processing MainController#index (for at 2010-10-23 17:57:55) [GET]
3030
+ Parameters: {" "=>nil}
3031
+ Completed in 5ms (View: 1 | 200 OK [http://:? ]
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vanity
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31098233
5
- prerelease: true
4
+ hash: 3
5
+ prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 5
9
9
  - 0
10
- - beta
11
- version: 1.5.0.beta
10
+ version: 1.5.0
12
11
  platform: ruby
13
12
  authors:
14
13
  - Assaf Arkin
@@ -16,7 +15,7 @@ autorequire:
16
15
  bindir: bin
17
16
  cert_chain: []
18
17
 
19
- date: 2010-10-12 00:00:00 -07:00
18
+ date: 2010-10-23 00:00:00 -07:00
20
19
  default_executable:
21
20
  dependencies:
22
21
  - !ruby/object:Gem::Dependency
@@ -134,7 +133,7 @@ licenses: []
134
133
  post_install_message: To get started run vanity --help
135
134
  rdoc_options:
136
135
  - --title
137
- - Vanity 1.5.0.beta
136
+ - Vanity 1.5.0
138
137
  - --main
139
138
  - README.rdoc
140
139
  - --webcvs
@@ -155,14 +154,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
155
154
  required_rubygems_version: !ruby/object:Gem::Requirement
156
155
  none: false
157
156
  requirements:
158
- - - ">"
157
+ - - ">="
159
158
  - !ruby/object:Gem::Version
160
- hash: 25
159
+ hash: 3
161
160
  segments:
162
- - 1
163
- - 3
164
- - 1
165
- version: 1.3.1
161
+ - 0
162
+ version: "0"
166
163
  requirements: []
167
164
 
168
165
  rubyforge_project: