rblog 0.0.1

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.
Files changed (4) hide show
  1. checksums.yaml +15 -0
  2. data/bin/rblog +17 -0
  3. data/lib/rblog/version.rb +2 -0
  4. metadata +46 -0
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NzhjOWNjOWEzZWM2OTUyYzI4NjhjZWRjZjNjNDRhNDIwNjRhZWE3Nw==
5
+ data.tar.gz: !binary |-
6
+ YmYyYTE3YzVmYTdlZTYxNjdiZTFiNTdkODExMTllMzBmNTZiNzNmMQ==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ MDA3OTY2YTk1NmNiY2M0ZjdlZGViYzU1ZmJjMzE4ODBhYTJlODQ3YWYwYmRl
10
+ MzYxNWNmMzljOWRiYmI5ZDNlMGY1ZjZiM2Y3YTdiNGVhYzZhZmUwZjEyY2Qz
11
+ YTIxOWFkMzFmY2QyMDZkY2ZlZDM5OTJjZTdhZGRiMTE2NDFiOTI=
12
+ data.tar.gz: !binary |-
13
+ MTU4ZGUwZDQ2MjYyNjRlMWUwOTk5MmMwMDEzOGQ0M2U5NGE0MmU5ZjYxYTcx
14
+ MDg0MjA0NmU3MjQxYzc0MmEwMjMwMDZlZjg4OTQyYmYyZjczOGI0YmMyM2I0
15
+ OGRkN2ZhZjRhNjM2MThkZWY0MWUyY2EzZmEyZGQ4OWFkMTZhODQ=
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/ruby
2
+
3
+ require 'webrick'
4
+
5
+
6
+ $srv = WEBrick::HTTPServer.new :Port => 8000
7
+
8
+ $srv.mount_proc '/' do |req,res|
9
+ res.body = 'Hello, world'
10
+ end
11
+
12
+ $srv.mount_proc 'favicon.ico' do |req,res|
13
+ res.body = ''
14
+ end
15
+
16
+ $srv.start
17
+
@@ -0,0 +1,2 @@
1
+ PROG_NAME = 'rblog'
2
+ PROG_VERSION = '0.0.1'
metadata ADDED
@@ -0,0 +1,46 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rblog
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Artem Levenkov
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-04-06 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Simple blog script based on WebRick
14
+ email: artem@levenkov.org
15
+ executables:
16
+ - rblog
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - bin/rblog
21
+ - lib/rblog/version.rb
22
+ homepage:
23
+ licenses:
24
+ - MIT
25
+ metadata: {}
26
+ post_install_message:
27
+ rdoc_options: []
28
+ require_paths:
29
+ - lib
30
+ required_ruby_version: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ! '>='
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
35
+ required_rubygems_version: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ! '>='
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ requirements: []
41
+ rubyforge_project:
42
+ rubygems_version: 2.2.2
43
+ signing_key:
44
+ specification_version: 4
45
+ summary: Simple blog
46
+ test_files: []