geminabox 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of geminabox might be problematic. Click here for more details.

Files changed (2) hide show
  1. data/lib/geminabox.rb +2 -1
  2. metadata +17 -19
@@ -13,6 +13,7 @@ class Geminabox < Sinatra::Base
13
13
  set :public_folder, File.join(File.dirname(__FILE__), *%w[.. public])
14
14
  set :data, File.join(File.dirname(__FILE__), *%w[.. data])
15
15
  set :build_legacy, false
16
+ set :incremental_updates, false
16
17
  set :views, File.join(File.dirname(__FILE__), *%w[.. views])
17
18
  set :allow_replace, false
18
19
  use Hostess
@@ -108,7 +109,7 @@ HTML
108
109
 
109
110
  def reindex(force_rebuild = false)
110
111
  Geminabox.fixup_bundler_rubygems!
111
- force_rebuild = true if settings.build_legacy
112
+ force_rebuild = true unless settings.incremental_updates
112
113
  if force_rebuild
113
114
  indexer.generate_index
114
115
  else
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geminabox
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 1
10
- version: 0.5.1
9
+ - 2
10
+ version: 0.5.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tom Lea
@@ -15,13 +15,10 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-01-20 00:00:00 +00:00
19
- default_executable:
18
+ date: 2012-01-30 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
- type: :runtime
23
- name: sinatra
24
- version_requirements: &id001 !ruby/object:Gem::Requirement
21
+ requirement: &id001 !ruby/object:Gem::Requirement
25
22
  none: false
26
23
  requirements:
27
24
  - - ">="
@@ -30,12 +27,12 @@ dependencies:
30
27
  segments:
31
28
  - 0
32
29
  version: "0"
30
+ version_requirements: *id001
31
+ name: sinatra
32
+ type: :runtime
33
33
  prerelease: false
34
- requirement: *id001
35
34
  - !ruby/object:Gem::Dependency
36
- type: :runtime
37
- name: builder
38
- version_requirements: &id002 !ruby/object:Gem::Requirement
35
+ requirement: &id002 !ruby/object:Gem::Requirement
39
36
  none: false
40
37
  requirements:
41
38
  - - ">="
@@ -44,12 +41,12 @@ dependencies:
44
41
  segments:
45
42
  - 0
46
43
  version: "0"
44
+ version_requirements: *id002
45
+ name: builder
46
+ type: :runtime
47
47
  prerelease: false
48
- requirement: *id002
49
48
  - !ruby/object:Gem::Dependency
50
- type: :development
51
- name: rake
52
- version_requirements: &id003 !ruby/object:Gem::Requirement
49
+ requirement: &id003 !ruby/object:Gem::Requirement
53
50
  none: false
54
51
  requirements:
55
52
  - - ">="
@@ -58,8 +55,10 @@ dependencies:
58
55
  segments:
59
56
  - 0
60
57
  version: "0"
58
+ version_requirements: *id003
59
+ name: rake
60
+ type: :development
61
61
  prerelease: false
62
- requirement: *id003
63
62
  description: A sinatra based gem hosting app, with client side gem push style functionality.
64
63
  email: contrib@tomlea.co.uk
65
64
  executables: []
@@ -84,7 +83,6 @@ files:
84
83
  - views/index.erb
85
84
  - views/layout.erb
86
85
  - views/upload.erb
87
- has_rdoc: true
88
86
  homepage: http://tomlea.co.uk/p/gem-in-a-box
89
87
  licenses: []
90
88
 
@@ -115,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
113
  requirements: []
116
114
 
117
115
  rubyforge_project:
118
- rubygems_version: 1.5.0
116
+ rubygems_version: 1.8.15
119
117
  signing_key:
120
118
  specification_version: 3
121
119
  summary: Really simple rubygem hosting