local-openid 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 6b26d3ae818c46814a854e15e3c5a5941e69bc8e
4
- data.tar.gz: 46946ef21ba5828e0ac7d858664192185222e4de
2
+ SHA256:
3
+ metadata.gz: 5936a7e4684c43221f5baa24eed1c5608d06fbccc51af08bb2b1123b84082fd1
4
+ data.tar.gz: 5fe23347ca6ebcd72957a49ad46ba395755a9a375ca6d8b947fd1253fcc4e25c
5
5
  SHA512:
6
- metadata.gz: 847497091f5595ed579bc5f52cc1c78a381189d250e80a9d986a1a6a0e6e5f98b18d7a06d80c4c30f86554835a26e3e858cb31bdaad7b837afe13cb76d9e7966
7
- data.tar.gz: f24be7358550be8575b15adebeb0ac7c3d9ed2cd3cd7d2e1fcfe0cc729b6d42674d76a159541228d73170908758217c7f4ec29c6ff1e27f245bb64bca9bdb7f6
6
+ metadata.gz: e77c492aa28922c3a1e36f784fb03c33e1e62b21b72656c4bccdd9035d6c9f793d2d8e1b7392fd1ab110910ff9fdce52446a589929bf74911cea6c27ada84a4a
7
+ data.tar.gz: abd2a64706a79fdee7f1485c3b7df1e5132891f77e5de39df104a770746ee4c9fae4d0e115260af3dfbd2ae430e27b33f22ac30684992c2c79d58c1884275b6e
data/.document CHANGED
@@ -1,5 +1,4 @@
1
1
  NEWS
2
2
  LICENSE
3
- ChangeLog
4
3
  README
5
4
  lib/
data/.gitignore CHANGED
@@ -6,10 +6,11 @@ doc
6
6
  /doc
7
7
  pkg/
8
8
  /NEWS
9
- /ChangeLog
9
+ /NEWS.atom.xml
10
10
  /.manifest
11
11
  /GIT-VERSION-FILE
12
12
  /man
13
13
  tags
14
14
  TAGS
15
15
  /LATEST
16
+ /NEWS.atom.xml
@@ -1,8 +1,13 @@
1
1
  ---
2
- cgit_url: https://bogomips.org/local-openid.git
3
- git_url: git://bogomips.org/local-openid.git
4
- rdoc_url: https://bogomips.org/local-openid/
2
+ cgit_url: https://yhbt.net/local-openid.git
3
+ source_code:
4
+ - git clone https://yhbt.net/local-openid.git
5
+ - torsocks git clone http://ou63pmih66umazou.onion/local-openid.git
6
+ rdoc_url: https://yhbt.net/local-openid/
5
7
  public_email: local-openid@public-inbox.org
6
- private_email: e@80x24.org
8
+ ml_url:
9
+ - https://public-inbox.org/local-openid/
10
+ - http://ou63pmih66umazou.onion/local-openid/
7
11
  nntp_url:
8
- - nntp://news.public-inbox.org/inbox.comp.lang.ruby.local-openid
12
+ - nntp://news.public-inbox.org/inbox.comp.lang.ruby.local-openid
13
+ - nntp://ou63pmih66umazou.onion/inbox.comp.lang.ruby.local-openid
@@ -1,7 +1,7 @@
1
1
  #!/bin/sh
2
2
 
3
3
  GVF=GIT-VERSION-FILE
4
- DEF_VER=v0.4.1.GIT
4
+ DEF_VER=v0.4.2
5
5
 
6
6
  LF='
7
7
  '
@@ -1,9 +1,4 @@
1
1
  all::
2
- RSYNC_DEST := bogomips.org:/srv/bogomips/local-openid
3
- rfproject := qrp
2
+ RSYNC_DEST := yhbt.net:/srv/yhbt/local-openid
4
3
  rfpackage := local-openid
5
4
  include pkg.mk
6
- ifneq ($(VERSION),)
7
- release::
8
- $(RAKE) publish_news VERSION=$(VERSION)
9
- endif
data/LICENSE CHANGED
@@ -1,5 +1,5 @@
1
1
  local-openid is copyrighted free software by all contributors, see logs
2
2
  in revision control for names and email addresses of all of them. You
3
3
  can redistribute it and/or modify it under either the terms of the GNU
4
- Affero General Public License, version 3. See the link:COPYING file
5
- for details.
4
+ Affero General Public License, version 3 or later.
5
+ See the link:COPYING file for details.
data/README CHANGED
@@ -75,14 +75,14 @@ a line if you fix any bugs or notice any security holes in it.
75
75
 
76
76
  You can get the latest source via git from the following locations:
77
77
 
78
- git://bogomips.org/local-openid.git
79
- https://bogomips.org/local-openid.git
78
+ git://yhbt.net/local-openid.git
79
+ https://yhbt.net/local-openid.git
80
80
  git://repo.or.cz/local-openid.git (mirror)
81
81
  http://repo.or.cz/r/local-openid.git (mirror)
82
82
 
83
83
  You may browse the code from the web and download the latest tarballs here:
84
84
 
85
- * https://bogomips.org/local-openid.git
85
+ * https://yhbt.net/local-openid.git
86
86
  * http://repo.or.cz/w/local-openid.git (gitweb mirror)
87
87
 
88
88
  == Disclaimer
@@ -1,23 +1,19 @@
1
- ENV["VERSION"] or abort "VERSION= must be specified"
2
- manifest = File.readlines('.manifest').map! { |x| x.chomp! }
3
- require 'olddoc'
4
- extend Olddoc::Gemspec
5
- name, summary, title = readme_metadata
1
+ manifest = File.exist?('.manifest') ?
2
+ IO.readlines('.manifest').map!(&:chomp!) : `git ls-files`.split("\n")
6
3
 
7
4
  Gem::Specification.new do |s|
8
5
  s.name = %q{local-openid}
9
- s.version = ENV["VERSION"].dup
10
-
6
+ s.version = (ENV['VERSION'] || '0.4.2').dup
11
7
  s.authors = ["Eric Wong"]
12
- s.description = readme_description
8
+ s.description = File.read('README').split("\n\n")[1]
13
9
  s.email = %q{e@80x24.org}
14
10
  s.executables = %w(local-openid)
15
-
16
- s.extra_rdoc_files = extra_rdoc_files(manifest)
11
+ s.extra_rdoc_files = IO.readlines('.document').map!(&:chomp!).keep_if do |f|
12
+ File.exist?(f)
13
+ end
17
14
  s.files = manifest
18
- s.homepage = Olddoc.config['rdoc_url']
19
- s.summary = summary
20
- s.rubyforge_project = %q{qrp}
15
+ s.homepage = 'https://yhbt.net/local-openid'
16
+ s.summary = 'Single User, Ephemeral OpenID Provider'
21
17
  s.add_dependency(%q<rack>, ["~> 1.3"])
22
18
  s.add_dependency(%q<sinatra>, ["~> 1.0"])
23
19
  s.add_dependency(%q<ruby-openid>, ["~> 2.1.7"])
data/pkg.mk CHANGED
@@ -60,7 +60,7 @@ doc:: .document .olddoc.yml $(pkg_extra) $(PLACEHOLDERS)
60
60
  -find lib -type f -name '*.rbc' -exec rm -f '{}' ';'
61
61
  -find ext -type f -name '*.rbc' -exec rm -f '{}' ';'
62
62
  $(RM) -r doc
63
- $(RDOC) -f oldweb
63
+ $(RDOC) -f dark216
64
64
  $(OLDDOC) merge
65
65
  install -m644 COPYING doc/COPYING
66
66
  install -m644 NEWS doc/NEWS
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: local-openid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Wong
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-01 00:00:00.000000000 Z
11
+ date: 2020-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -63,7 +63,6 @@ extensions: []
63
63
  extra_rdoc_files:
64
64
  - NEWS
65
65
  - LICENSE
66
- - ChangeLog
67
66
  - README
68
67
  files:
69
68
  - ".document"
@@ -71,7 +70,6 @@ files:
71
70
  - ".manifest"
72
71
  - ".olddoc.yml"
73
72
  - COPYING
74
- - ChangeLog
75
73
  - GIT-VERSION-FILE
76
74
  - GIT-VERSION-GEN
77
75
  - GNUmakefile
@@ -79,13 +77,12 @@ files:
79
77
  - LICENSE
80
78
  - NEWS
81
79
  - README
82
- - Rakefile
83
80
  - bin/local-openid
84
81
  - lib/local_openid.rb
85
82
  - local-openid.gemspec
86
83
  - pkg.mk
87
84
  - setup.rb
88
- homepage: https://bogomips.org/local-openid/
85
+ homepage: https://yhbt.net/local-openid
89
86
  licenses:
90
87
  - AGPL-3.0+
91
88
  metadata: {}
@@ -104,9 +101,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
101
  - !ruby/object:Gem::Version
105
102
  version: '0'
106
103
  requirements: []
107
- rubyforge_project: qrp
108
- rubygems_version: 2.6.2
104
+ rubygems_version: 3.0.2
109
105
  signing_key:
110
106
  specification_version: 4
111
- summary: 'openid: Single User, Ephemeral OpenID Provider'
107
+ summary: Single User, Ephemeral OpenID Provider
112
108
  test_files: []
data/Rakefile DELETED
@@ -1,70 +0,0 @@
1
- # -*- encoding: binary -*-
2
- require 'olddoc'
3
- cgit_url = Olddoc.config['cgit_url']
4
- git_url = Olddoc.config['git_url']
5
-
6
- desc "post news article to rubyforge"
7
- task :publish_news do
8
- require 'rubyforge'
9
- spec = Gem::Specification.load('local-openid.gemspec')
10
- tmp = Tempfile.new('rf-news')
11
- _, subject, body = `git cat-file tag v#{spec.version}`.split(/\n\n/, 3)
12
- tmp.puts subject
13
- tmp.puts
14
- tmp.puts spec.description.strip
15
- tmp.puts ""
16
- tmp.puts "* #{spec.homepage}"
17
- tmp.puts "* #{spec.email}"
18
- tmp.puts "* #{git_url}"
19
- tmp.print "\nChanges:\n\n"
20
- tmp.puts body
21
- tmp.flush
22
- system(ENV["VISUAL"], tmp.path) or abort "#{ENV["VISUAL"]} failed: #$?"
23
- msg = File.readlines(tmp.path)
24
- subject = msg.shift
25
- blank = msg.shift
26
- blank == "\n" or abort "no newline after subject!"
27
- subject.strip!
28
- body = msg.join("").strip!
29
-
30
- rf = RubyForge.new.configure
31
- rf.login
32
- rf.post_news('qrp', subject, body)
33
- end
34
-
35
- desc "post to FM"
36
- task :fm_update do
37
- require 'tempfile'
38
- require 'net/http'
39
- require 'net/netrc'
40
- require 'json'
41
- version = ENV['VERSION'] or abort "VERSION= needed"
42
- uri = URI.parse('https://freecode.com/projects/local-openid/releases.json')
43
- rc = Net::Netrc.locate('local-openid-fm') or abort "~/.netrc not found"
44
- api_token = rc.password
45
- _, subject, body = `git cat-file tag v#{version}`.split(/\n\n/, 3)
46
- tmp = Tempfile.new('fm-changelog')
47
- tmp.puts subject
48
- tmp.puts
49
- tmp.puts body
50
- tmp.flush
51
- system(ENV["VISUAL"], tmp.path) or abort "#{ENV["VISUAL"]} failed: #$?"
52
- changelog = File.read(tmp.path).strip
53
-
54
- req = {
55
- "auth_code" => api_token,
56
- "release" => {
57
- "tag_list" => "Stable",
58
- "version" => version,
59
- "changelog" => changelog,
60
- },
61
- }.to_json
62
-
63
- if ! changelog.strip.empty? && version =~ %r{\A[\d\.]+\d+\z}
64
- Net::HTTP.start(uri.host, uri.port, :use_ssl => true) do |http|
65
- p http.post(uri.path, req, {'Content-Type'=>'application/json'})
66
- end
67
- else
68
- warn "not updating freshmeat for v#{version}"
69
- end
70
- end