private_event 0.0.1 → 0.0.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/bin/update_index ADDED
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'hostess/indexer'
4
+
5
+ indexer = Hostess::Indexer.new
6
+ indexer.update_index
7
+
data/bin/write_gems ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'hostess/indexer'
4
+
5
+ indexer = Hostess::Indexer.new
6
+
7
+ ARGV.each do |gem_file|
8
+ puts "processing #{gem_file}"
9
+ body = StringIO.new(File.read(gem_file))
10
+ spec = Gem::Package.open(body, "r", nil) {|pkg| spec = pkg.metadata }
11
+ indexer.write_gem body, spec
12
+ end
13
+
14
+
15
+
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'private_event'
3
- s.version = '0.0.1'
3
+ s.version = '0.0.2'
4
4
  s.date = '2011-12-26'
5
5
 
6
6
  s.summary = "Gem hosting and indexing, extracted from the rubygems.org repo"
@@ -21,8 +21,7 @@ Gem::Specification.new do |s|
21
21
  README.md
22
22
  MIT-LICENSE
23
23
  private_event.gemspec
24
- bin/members_only
25
24
  config/hostess.ru
26
25
  server/repo/.gitignore
27
- ] + Dir['lib/hostess/**/*']
26
+ ] + Dir['lib/hostess/**/*'] + Dir['bin/*']
28
27
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: private_event
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tom Bombadil
@@ -57,11 +57,13 @@ files:
57
57
  - README.md
58
58
  - MIT-LICENSE
59
59
  - private_event.gemspec
60
- - bin/members_only
61
60
  - config/hostess.ru
62
61
  - server/repo/.gitignore
63
62
  - lib/hostess/app.rb
64
63
  - lib/hostess/indexer.rb
64
+ - bin/members_only
65
+ - bin/update_index
66
+ - bin/write_gems
65
67
  homepage: https://github.com/HeSYINUvSBZfxqA/private_event
66
68
  licenses: []
67
69