local-openid 0.4.0 → 0.4.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: 6b26d3ae818c46814a854e15e3c5a5941e69bc8e
4
+ data.tar.gz: 46946ef21ba5828e0ac7d858664192185222e4de
5
+ SHA512:
6
+ metadata.gz: 847497091f5595ed579bc5f52cc1c78a381189d250e80a9d986a1a6a0e6e5f98b18d7a06d80c4c30f86554835a26e3e858cb31bdaad7b837afe13cb76d9e7966
7
+ data.tar.gz: f24be7358550be8575b15adebeb0ac7c3d9ed2cd3cd7d2e1fcfe0cc729b6d42674d76a159541228d73170908758217c7f4ec29c6ff1e27f245bb64bca9bdb7f6
@@ -0,0 +1,8 @@
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/
5
+ public_email: local-openid@public-inbox.org
6
+ private_email: e@80x24.org
7
+ nntp_url:
8
+ - nntp://news.public-inbox.org/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.0.GIT
4
+ DEF_VER=v0.4.1.GIT
5
5
 
6
6
  LF='
7
7
  '
@@ -5,6 +5,5 @@ rfpackage := local-openid
5
5
  include pkg.mk
6
6
  ifneq ($(VERSION),)
7
7
  release::
8
- $(RAKE) raa_update VERSION=$(VERSION)
9
8
  $(RAKE) publish_news VERSION=$(VERSION)
10
9
  endif
data/README CHANGED
@@ -65,7 +65,7 @@ I don't have any plans for more development with local-openid. It was
65
65
  after all, just a weekend hack. It does what I want it to and nothing
66
66
  more.
67
67
 
68
- You can use the {mailing list}[mailto:local.openid@librelist.org] to
68
+ You can use the {mailing list}[mailto:local-openid@public-inbox.org] to
69
69
  share ideas, patches, pull requests with other users. Remember, I
70
70
  wrote local-openid because I find the web difficult to use. So I'll
71
71
  only accept communication about local-openid via email :)
@@ -76,13 +76,13 @@ a line if you fix any bugs or notice any security holes in it.
76
76
  You can get the latest source via git from the following locations:
77
77
 
78
78
  git://bogomips.org/local-openid.git
79
- http://bogomips.org/local-openid.git
79
+ https://bogomips.org/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
- * http://bogomips.org/local-openid.git
85
+ * https://bogomips.org/local-openid.git
86
86
  * http://repo.or.cz/w/local-openid.git (gitweb mirror)
87
87
 
88
88
  == Disclaimer
@@ -95,6 +95,5 @@ credentials when your provider implementation has 99.999% downtime :)
95
95
 
96
96
  == Contact
97
97
 
98
- * Original author: Eric Wong, normalperson@yhbt.net
99
- * OpenID: http://e.yhbt.net/
100
- * mailing list: local.openid@librelist.org
98
+ * Original author: Eric Wong, e@80x24.org
99
+ * mailing list: local-openid@public-inbox.org
data/Rakefile CHANGED
@@ -1,7 +1,7 @@
1
1
  # -*- encoding: binary -*-
2
- require 'wrongdoc'
3
- cgit_url = Wrongdoc.config[:cgit_url]
4
- git_url = Wrongdoc.config[:git_url]
2
+ require 'olddoc'
3
+ cgit_url = Olddoc.config['cgit_url']
4
+ git_url = Olddoc.config['git_url']
5
5
 
6
6
  desc "post news article to rubyforge"
7
7
  task :publish_news do
@@ -32,43 +32,6 @@ task :publish_news do
32
32
  rf.post_news('qrp', subject, body)
33
33
  end
34
34
 
35
- desc "post to RAA"
36
- task :raa_update do
37
- require 'net/http'
38
- require 'net/netrc'
39
- rc = Net::Netrc.locate('local-openid-raa') or abort "~/.netrc not found"
40
- password = rc.password
41
-
42
- s = Gem::Specification.load('local-openid.gemspec')
43
- desc = [ s.description.strip ]
44
- desc << ""
45
- desc << "* #{s.email}"
46
- desc << "* #{git_url}"
47
- desc << "* #{cgit_url}"
48
- desc = desc.join("\n")
49
- uri = URI.parse('http://raa.ruby-lang.org/regist.rhtml')
50
- form = {
51
- :name => s.name,
52
- :short_description => s.summary,
53
- :version => s.version.to_s,
54
- :status => 'stable',
55
- :owner => s.authors.first,
56
- :email => s.email,
57
- :category_major => 'Application',
58
- :category_minor => 'WWW',
59
- :url => s.homepage,
60
- :download => 'http://rubyforge.org/frs/?group_id=5626',
61
- :license => "OpenSource", # AGPLv3, specifically
62
- :description_style => 'Plain',
63
- :description => desc,
64
- :pass => password,
65
- :submit => "Update",
66
- }
67
- res = Net::HTTP.post_form(uri, form)
68
- p res
69
- puts res.body
70
- end
71
-
72
35
  desc "post to FM"
73
36
  task :fm_update do
74
37
  require 'tempfile'
@@ -1,7 +1,7 @@
1
1
  ENV["VERSION"] or abort "VERSION= must be specified"
2
2
  manifest = File.readlines('.manifest').map! { |x| x.chomp! }
3
- require 'wrongdoc'
4
- extend Wrongdoc::Gemspec
3
+ require 'olddoc'
4
+ extend Olddoc::Gemspec
5
5
  name, summary, title = readme_metadata
6
6
 
7
7
  Gem::Specification.new do |s|
@@ -9,19 +9,17 @@ Gem::Specification.new do |s|
9
9
  s.version = ENV["VERSION"].dup
10
10
 
11
11
  s.authors = ["Eric Wong"]
12
- s.date = Time.now.utc.strftime('%Y-%m-%d')
13
12
  s.description = readme_description
14
- s.email = %q{local.openid@librelist.org}
13
+ s.email = %q{e@80x24.org}
15
14
  s.executables = %w(local-openid)
16
15
 
17
16
  s.extra_rdoc_files = extra_rdoc_files(manifest)
18
17
  s.files = manifest
19
- s.homepage = Wrongdoc.config[:rdoc_url]
18
+ s.homepage = Olddoc.config['rdoc_url']
20
19
  s.summary = summary
21
- s.rdoc_options = rdoc_options
22
20
  s.rubyforge_project = %q{qrp}
23
21
  s.add_dependency(%q<rack>, ["~> 1.3"])
24
22
  s.add_dependency(%q<sinatra>, ["~> 1.0"])
25
23
  s.add_dependency(%q<ruby-openid>, ["~> 2.1.7"])
26
- # s.licenses = %w(AGPLv3) # accessor not compatible with older RubyGems
24
+ s.licenses = %w(AGPL-3.0+)
27
25
  end
data/pkg.mk CHANGED
@@ -1,7 +1,8 @@
1
1
  RUBY = ruby
2
2
  RAKE = rake
3
3
  RSYNC = rsync
4
- WRONGDOC = wrongdoc
4
+ OLDDOC = olddoc
5
+ RDOC = rdoc
5
6
 
6
7
  GIT-VERSION-FILE: .FORCE-GIT-VERSION-FILE
7
8
  @./GIT-VERSION-GEN
@@ -12,14 +13,6 @@ RUBY_VERSION := $(shell $(RUBY) -e 'puts RUBY_VERSION')
12
13
  RUBY_ENGINE := $(shell $(RUBY) -e 'puts((RUBY_ENGINE rescue "ruby"))')
13
14
  lib := lib
14
15
 
15
- ifeq ($(shell test -f script/isolate_for_tests && echo t),t)
16
- isolate_libs := tmp/isolate/$(RUBY_ENGINE)-$(RUBY_VERSION)/isolate.mk
17
- $(isolate_libs): script/isolate_for_tests
18
- @$(RUBY) script/isolate_for_tests
19
- -include $(isolate_libs)
20
- lib := $(lib):$(ISOLATE_LIBS)
21
- endif
22
-
23
16
  ext := $(firstword $(wildcard ext/*))
24
17
  ifneq ($(ext),)
25
18
  ext_pfx := tmp/ext/$(RUBY_ENGINE)-$(RUBY_VERSION)
@@ -36,7 +29,7 @@ $(ext_pfx)/$(ext)/%: $(ext)/% $(ext_d)
36
29
  install -m 644 $< $@
37
30
  $(ext_pfx)/$(ext)/Makefile: $(ext)/extconf.rb $(ext_d) $(ext_h)
38
31
  $(RM) -f $(@D)/*.o
39
- cd $(@D) && $(RUBY) $(CURDIR)/$(ext)/extconf.rb
32
+ cd $(@D) && $(RUBY) $(CURDIR)/$(ext)/extconf.rb $(EXTCONF_ARGS)
40
33
  ext_sfx := _ext.$(DLEXT)
41
34
  ext_dl := $(ext_pfx)/$(ext)/$(notdir $(ext)_ext.$(DLEXT))
42
35
  $(ext_dl): $(ext_src) $(ext_pfx_src) $(ext_pfx)/$(ext)/Makefile
@@ -48,10 +41,10 @@ else
48
41
  build:
49
42
  endif
50
43
 
51
- pkg_extra += GIT-VERSION-FILE NEWS ChangeLog LATEST
52
- ChangeLog: GIT-VERSION-FILE .wrongdoc.yml
53
- $(WRONGDOC) prepare
54
- NEWS LATEST: ChangeLog
44
+ pkg_extra += GIT-VERSION-FILE NEWS LATEST
45
+ NEWS: GIT-VERSION-FILE .olddoc.yml
46
+ $(OLDDOC) prepare
47
+ LATEST: NEWS
55
48
 
56
49
  manifest:
57
50
  $(RM) .manifest
@@ -63,28 +56,20 @@ manifest:
63
56
  cmp $@+ $@ || mv $@+ $@
64
57
  $(RM) $@+
65
58
 
66
- doc:: .document .wrongdoc.yml $(pkg_extra)
59
+ doc:: .document .olddoc.yml $(pkg_extra) $(PLACEHOLDERS)
67
60
  -find lib -type f -name '*.rbc' -exec rm -f '{}' ';'
68
61
  -find ext -type f -name '*.rbc' -exec rm -f '{}' ';'
69
62
  $(RM) -r doc
70
- $(WRONGDOC) all
63
+ $(RDOC) -f oldweb
64
+ $(OLDDOC) merge
71
65
  install -m644 COPYING doc/COPYING
66
+ install -m644 NEWS doc/NEWS
67
+ install -m644 NEWS.atom.xml doc/NEWS.atom.xml
72
68
  install -m644 $(shell LC_ALL=C grep '^[A-Z]' .document) doc/
73
69
 
74
70
  ifneq ($(VERSION),)
75
71
  pkggem := pkg/$(rfpackage)-$(VERSION).gem
76
72
  pkgtgz := pkg/$(rfpackage)-$(VERSION).tgz
77
- release_notes := release_notes-$(VERSION)
78
- release_changes := release_changes-$(VERSION)
79
-
80
- release-notes: $(release_notes)
81
- release-changes: $(release_changes)
82
- $(release_changes):
83
- $(WRONGDOC) release_changes > $@+
84
- $(VISUAL) $@+ && test -s $@+ && mv $@+ $@
85
- $(release_notes):
86
- $(WRONGDOC) release_notes > $@+
87
- $(VISUAL) $@+ && test -s $@+ && mv $@+ $@
88
73
 
89
74
  # ensures we're actually on the tagged $(VERSION), only used for release
90
75
  verify:
@@ -120,31 +105,18 @@ $(pkgtgz): manifest fix-perms
120
105
 
121
106
  package: $(pkgtgz) $(pkggem)
122
107
 
123
- test-release:: verify package $(release_notes) $(release_changes)
124
- # make tgz release on RubyForge
125
- @echo rubyforge add_release -f \
126
- -n $(release_notes) -a $(release_changes) \
127
- $(rfproject) $(rfpackage) $(VERSION) $(pkgtgz)
128
- @echo gem push $(pkggem)
129
- @echo rubyforge add_file \
130
- $(rfproject) $(rfpackage) $(VERSION) $(pkggem)
131
- release:: verify package $(release_notes) $(release_changes)
132
- # make tgz release on RubyForge
133
- rubyforge add_release -f -n $(release_notes) -a $(release_changes) \
134
- $(rfproject) $(rfpackage) $(VERSION) $(pkgtgz)
108
+ release:: verify package
135
109
  # push gem to RubyGems.org
136
110
  gem push $(pkggem)
137
- # in case of gem downloads from RubyForge releases page
138
- rubyforge add_file \
139
- $(rfproject) $(rfpackage) $(VERSION) $(pkggem)
140
111
  else
141
112
  gem install-gem: GIT-VERSION-FILE
142
113
  $(MAKE) $@ VERSION=$(GIT_VERSION)
143
114
  endif
144
115
 
145
- all:: test
116
+ all:: check
146
117
  test_units := $(wildcard test/test_*.rb)
147
- test: test-unit
118
+ test: check
119
+ check: test-unit
148
120
  test-unit: $(test_units)
149
121
  $(test_units): build
150
122
  $(RUBY) -I $(lib) $@ $(RUBY_TEST_OPTS)
@@ -154,8 +126,6 @@ ifneq ($(RSYNC_DEST),)
154
126
  publish_doc:
155
127
  -git set-file-times
156
128
  $(MAKE) doc
157
- find doc/images -type f | \
158
- TZ=UTC xargs touch -d '1970-01-01 00:00:06' doc/rdoc.css
159
129
  $(MAKE) doc_gz
160
130
  $(RSYNC) -av doc/ $(RSYNC_DEST)/
161
131
  git ls-files | xargs touch
@@ -163,7 +133,7 @@ endif
163
133
 
164
134
  # Create gzip variants of the same timestamp as the original so nginx
165
135
  # "gzip_static on" can serve the gzipped versions directly.
166
- doc_gz: docs = $(shell find doc -type f ! -regex '^.*\.\(gif\|jpg\|png\|gz\)$$')
136
+ doc_gz: docs = $(shell find doc -type f ! -regex '^.*\.gz$$')
167
137
  doc_gz:
168
138
  for i in $(docs); do \
169
139
  gzip --rsyncable -9 < $$i > $$i.gz; touch -r $$i $$i.gz; done
@@ -171,5 +141,10 @@ check-warnings:
171
141
  @(for i in $$(git ls-files '*.rb'| grep -v '^setup\.rb$$'); \
172
142
  do $(RUBY) -d -W2 -c $$i; done) | grep -v '^Syntax OK$$' || :
173
143
 
174
- .PHONY: all .FORCE-GIT-VERSION-FILE doc test $(test_units) manifest
144
+ ifneq ($(PLACEHOLDERS),)
145
+ $(PLACEHOLDERS):
146
+ echo olddoc_placeholder > $@
147
+ endif
148
+
149
+ .PHONY: all .FORCE-GIT-VERSION-FILE doc check test $(test_units) manifest
175
150
  .PHONY: check-warnings
metadata CHANGED
@@ -1,70 +1,62 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: local-openid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
5
- prerelease:
4
+ version: 0.4.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Eric Wong
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-03-12 00:00:00.000000000 Z
11
+ date: 2016-05-01 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rack
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: '1.3'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
26
  version: '1.3'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: sinatra
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ~>
31
+ - - "~>"
36
32
  - !ruby/object:Gem::Version
37
33
  version: '1.0'
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ~>
38
+ - - "~>"
44
39
  - !ruby/object:Gem::Version
45
40
  version: '1.0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: ruby-openid
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ~>
45
+ - - "~>"
52
46
  - !ruby/object:Gem::Version
53
47
  version: 2.1.7
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ~>
52
+ - - "~>"
60
53
  - !ruby/object:Gem::Version
61
54
  version: 2.1.7
62
- description: ! 'local-openid allows users with shell accounts on servers to authenticate
63
-
55
+ description: |-
56
+ local-openid allows users with shell accounts on servers to authenticate
64
57
  with OpenID consumers by editing a YAML file in their home directory
65
-
66
- instead of authenticating through HTTP/HTTPS.'
67
- email: local.openid@librelist.org
58
+ instead of authenticating through HTTP/HTTPS.
59
+ email: e@80x24.org
68
60
  executables:
69
61
  - local-openid
70
62
  extensions: []
@@ -74,10 +66,10 @@ extra_rdoc_files:
74
66
  - ChangeLog
75
67
  - README
76
68
  files:
77
- - .document
78
- - .gitignore
79
- - .manifest
80
- - .wrongdoc.yml
69
+ - ".document"
70
+ - ".gitignore"
71
+ - ".manifest"
72
+ - ".olddoc.yml"
81
73
  - COPYING
82
74
  - ChangeLog
83
75
  - GIT-VERSION-FILE
@@ -93,32 +85,28 @@ files:
93
85
  - local-openid.gemspec
94
86
  - pkg.mk
95
87
  - setup.rb
96
- homepage: http://bogomips.org/local-openid/
97
- licenses: []
88
+ homepage: https://bogomips.org/local-openid/
89
+ licenses:
90
+ - AGPL-3.0+
91
+ metadata: {}
98
92
  post_install_message:
99
- rdoc_options:
100
- - -t
101
- - ! 'local-openid: Single User, Ephemeral OpenID Provider'
102
- - -W
103
- - http://bogomips.org/local-openid.git/tree/%s
93
+ rdoc_options: []
104
94
  require_paths:
105
95
  - lib
106
96
  required_ruby_version: !ruby/object:Gem::Requirement
107
- none: false
108
97
  requirements:
109
- - - ! '>='
98
+ - - ">="
110
99
  - !ruby/object:Gem::Version
111
100
  version: '0'
112
101
  required_rubygems_version: !ruby/object:Gem::Requirement
113
- none: false
114
102
  requirements:
115
- - - ! '>='
103
+ - - ">="
116
104
  - !ruby/object:Gem::Version
117
105
  version: '0'
118
106
  requirements: []
119
107
  rubyforge_project: qrp
120
- rubygems_version: 1.8.23
108
+ rubygems_version: 2.6.2
121
109
  signing_key:
122
- specification_version: 3
123
- summary: ! 'openid: Single User, Ephemeral OpenID Provider'
110
+ specification_version: 4
111
+ summary: 'openid: Single User, Ephemeral OpenID Provider'
124
112
  test_files: []
@@ -1,6 +0,0 @@
1
- ---
2
- cgit_url: http://bogomips.org/local-openid.git
3
- git_url: git://bogomips.org/local-openid.git
4
- rdoc_url: http://bogomips.org/local-openid/
5
- public_email: local-openid@librelist.org
6
- private_email: normalperson@yhbt.net