p2p 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 0a90c590cc19ef6b25b83db0bdb90b1d0ab98a38
4
+ data.tar.gz: 42e24c32456e37864c3d8e6987d528834eb04c44
5
+ SHA512:
6
+ metadata.gz: 61cfc36452e2c9b962fb7ff0ec45ecfbe8592036a61042bd962fb9b6f7429613708ae45e5501bfac866ab8155b939742e2103c1f63b9177b25c947c3d2f07e6f
7
+ data.tar.gz: 7768ba12d98f5fd555ab25bf19cdcb1f2b76613e25729fc6d7a4220404ca0e040b058ab6623f25926ce6a4ab80261afb7dfbc151bc9d36ccabc08d34e0062a08
@@ -0,0 +1,3 @@
1
+ ### 0.0.1 / 2018-01-27
2
+
3
+ * Everything is new. First release
@@ -0,0 +1,6 @@
1
+ HISTORY.md
2
+ Manifest.txt
3
+ README.md
4
+ Rakefile
5
+ lib/p2p.rb
6
+ lib/p2p/version.rb
@@ -0,0 +1,29 @@
1
+ # Peer-to-Peer (P2P)
2
+
3
+ build your own peer-to-peer (p2p) networks; run your own peer-to-peer (p2p) nodes over HTTP
4
+
5
+
6
+ ## Usage
7
+
8
+ to be done
9
+
10
+
11
+
12
+
13
+ ## Install
14
+
15
+ Just install the gem:
16
+
17
+ $ gem install p2p
18
+
19
+
20
+ ## License
21
+
22
+ The `p2p` scripts are dedicated to the public domain.
23
+ Use it as you please with no restrictions whatsoever.
24
+
25
+
26
+ ## Questions? Comments?
27
+
28
+ Send them along to the [wwwmake forum](http://groups.google.com/group/wwwmake).
29
+ Thanks!
@@ -0,0 +1,29 @@
1
+ require 'hoe'
2
+ require './lib/p2p/version.rb'
3
+
4
+ Hoe.spec 'p2p' do
5
+
6
+ self.version = PeerToPeer::VERSION
7
+
8
+ self.summary = "p2p - build your own peer-to-peer (p2p) networks; run your own peer-to-peer (p2p) nodes over HTTP"
9
+ self.description = summary
10
+
11
+ self.urls = ['https://github.com/openblockchains/peer-to-peer.rb']
12
+
13
+ self.author = 'Gerald Bauer'
14
+ self.email = 'wwwmake@googlegroups.com'
15
+
16
+ # switch extension to .markdown for gihub formatting
17
+ self.readme_file = 'README.md'
18
+ self.history_file = 'HISTORY.md'
19
+
20
+ self.extra_deps = [
21
+ ]
22
+
23
+ self.licenses = ['Public Domain']
24
+
25
+ self.spec_extras = {
26
+ required_ruby_version: '>= 2.3'
27
+ }
28
+
29
+ end
@@ -0,0 +1,11 @@
1
+ # encoding: utf-8
2
+
3
+ require 'pp'
4
+
5
+
6
+ ## our own code
7
+ require 'p2p/version' # note: let version always go first
8
+
9
+
10
+ pp PeerToPeer.banner
11
+ pp PeerToPeer.root
@@ -0,0 +1,23 @@
1
+ # encoding: utf-8
2
+
3
+
4
+ module PeerToPeer
5
+
6
+ MAJOR = 0
7
+ MINOR = 0
8
+ PATCH = 1
9
+ VERSION = [MAJOR,MINOR,PATCH].join('.')
10
+
11
+ def self.version
12
+ VERSION
13
+ end
14
+
15
+ def self.banner
16
+ "p2p/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
17
+ end
18
+
19
+ def self.root
20
+ "#{File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )}"
21
+ end
22
+
23
+ end # module PeerToPeer
metadata ADDED
@@ -0,0 +1,84 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: p2p
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Gerald Bauer
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-01-07 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rdoc
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '4.0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: hoe
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '3.16'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '3.16'
41
+ description: p2p - build your own peer-to-peer (p2p) networks; run your own peer-to-peer
42
+ (p2p) nodes over HTTP
43
+ email: wwwmake@googlegroups.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files:
47
+ - HISTORY.md
48
+ - Manifest.txt
49
+ - README.md
50
+ files:
51
+ - HISTORY.md
52
+ - Manifest.txt
53
+ - README.md
54
+ - Rakefile
55
+ - lib/p2p.rb
56
+ - lib/p2p/version.rb
57
+ homepage: https://github.com/openblockchains/peer-to-peer.rb
58
+ licenses:
59
+ - Public Domain
60
+ metadata: {}
61
+ post_install_message:
62
+ rdoc_options:
63
+ - "--main"
64
+ - README.md
65
+ require_paths:
66
+ - lib
67
+ required_ruby_version: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ version: '2.3'
72
+ required_rubygems_version: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ requirements: []
78
+ rubyforge_project:
79
+ rubygems_version: 2.5.2
80
+ signing_key:
81
+ specification_version: 4
82
+ summary: p2p - build your own peer-to-peer (p2p) networks; run your own peer-to-peer
83
+ (p2p) nodes over HTTP
84
+ test_files: []