guides 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,10 +27,7 @@ Gem::Specification.new do |s|
27
27
  s.add_dependency "maruku", "~> 0.6.0"
28
28
  s.add_dependency "thor", "~> 0.14.6"
29
29
  s.add_dependency "thin", "~> 1.2.7"
30
-
31
- if is_mingw
32
- s.add_dependency 'eventmachine', '~> 1.0.0.beta'
33
- end
30
+ s.add_dependency 'eventmachine', '~> 1.0.0.beta.4'
34
31
 
35
32
  s.add_development_dependency 'rspec', '~> 2.0'
36
33
  s.add_development_dependency "faraday", "~> 0.5.0"
@@ -48,6 +48,7 @@ module Guides
48
48
 
49
49
  desc "preview", "preview the guides as you work"
50
50
  method_option "production", :type => :boolean, :banner => "use production mode", :aliases => "-p"
51
+ method_option "port", :type => :string, :default => "9292"
51
52
  def preview
52
53
  Preview.start(options)
53
54
  end
@@ -56,7 +56,10 @@ module Guides
56
56
 
57
57
  class Preview < Rack::Server
58
58
  def self.start(options = {})
59
- super options.merge(:host => '0.0.0.0', :Port => 9292, :server => "thin")
59
+ options = options.dup
60
+ options[:Port] = options.delete(:port) || '9292'
61
+ options.merge!(:host => '0.0.0.0', :server => "thin")
62
+ super options
60
63
  end
61
64
 
62
65
  def initialize(options = {})
@@ -1,3 +1,3 @@
1
1
  module Guides
2
- VERSION = "0.7.0"
2
+ VERSION = "0.7.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guides
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-09-28 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
16
- requirement: &70106296837060 !ruby/object:Gem::Requirement
16
+ requirement: &70130271901280 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 3.0.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70106296837060
24
+ version_requirements: *70130271901280
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: activesupport
27
- requirement: &70106296836600 !ruby/object:Gem::Requirement
27
+ requirement: &70130271900820 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 3.0.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70106296836600
35
+ version_requirements: *70130271900820
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rack
38
- requirement: &70106296836140 !ruby/object:Gem::Requirement
38
+ requirement: &70130271900360 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 1.2.1
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70106296836140
46
+ version_requirements: *70130271900360
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: RedCloth
49
- requirement: &70106296835680 !ruby/object:Gem::Requirement
49
+ requirement: &70130271899900 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 4.2.7
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *70106296835680
57
+ version_requirements: *70130271899900
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: maruku
60
- requirement: &70106296835220 !ruby/object:Gem::Requirement
60
+ requirement: &70130271899440 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 0.6.0
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *70106296835220
68
+ version_requirements: *70130271899440
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: thor
71
- requirement: &70106296834760 !ruby/object:Gem::Requirement
71
+ requirement: &70130271898980 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ~>
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: 0.14.6
77
77
  type: :runtime
78
78
  prerelease: false
79
- version_requirements: *70106296834760
79
+ version_requirements: *70130271898980
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: thin
82
- requirement: &70106296834300 !ruby/object:Gem::Requirement
82
+ requirement: &70130271898520 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ~>
@@ -87,10 +87,21 @@ dependencies:
87
87
  version: 1.2.7
88
88
  type: :runtime
89
89
  prerelease: false
90
- version_requirements: *70106296834300
90
+ version_requirements: *70130271898520
91
+ - !ruby/object:Gem::Dependency
92
+ name: eventmachine
93
+ requirement: &70130271898060 !ruby/object:Gem::Requirement
94
+ none: false
95
+ requirements:
96
+ - - ~>
97
+ - !ruby/object:Gem::Version
98
+ version: 1.0.0.beta.4
99
+ type: :runtime
100
+ prerelease: false
101
+ version_requirements: *70130271898060
91
102
  - !ruby/object:Gem::Dependency
92
103
  name: rspec
93
- requirement: &70106296833840 !ruby/object:Gem::Requirement
104
+ requirement: &70130271897600 !ruby/object:Gem::Requirement
94
105
  none: false
95
106
  requirements:
96
107
  - - ~>
@@ -98,10 +109,10 @@ dependencies:
98
109
  version: '2.0'
99
110
  type: :development
100
111
  prerelease: false
101
- version_requirements: *70106296833840
112
+ version_requirements: *70130271897600
102
113
  - !ruby/object:Gem::Dependency
103
114
  name: faraday
104
- requirement: &70106296833380 !ruby/object:Gem::Requirement
115
+ requirement: &70130271897140 !ruby/object:Gem::Requirement
105
116
  none: false
106
117
  requirements:
107
118
  - - ~>
@@ -109,10 +120,10 @@ dependencies:
109
120
  version: 0.5.0
110
121
  type: :development
111
122
  prerelease: false
112
- version_requirements: *70106296833380
123
+ version_requirements: *70130271897140
113
124
  - !ruby/object:Gem::Dependency
114
125
  name: packager
115
- requirement: &70106296833000 !ruby/object:Gem::Requirement
126
+ requirement: &70130271896760 !ruby/object:Gem::Requirement
116
127
  none: false
117
128
  requirements:
118
129
  - - ! '>='
@@ -120,7 +131,7 @@ dependencies:
120
131
  version: '0'
121
132
  type: :development
122
133
  prerelease: false
123
- version_requirements: *70106296833000
134
+ version_requirements: *70130271896760
124
135
  description: A tool for creating version controlled guides for open source projects,
125
136
  based on the Rails Guides framework
126
137
  email: