xcurl 1.0.0 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +34 -0
  3. data/bin/xcurl +6 -0
  4. data/lib/xcurl.rb +9 -4
  5. data/xcurl.gemspec +2 -4
  6. metadata +5 -17
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a57943ff6bb6b7c2e30153f0eae24942ae48f1ac77331ae364dfbd65b49bd296
4
- data.tar.gz: 510d08bb03927706be7c071a196e9dc9df6f6f7e1df4497145c7b05be5ae53dc
3
+ metadata.gz: 4f53c51d0ab4b6e47d3c35c6868f45eebb4111fb5201c70e1c4daf6bff64c58c
4
+ data.tar.gz: e48c52f9bc08d5ebaccc0edb40c5cee6b17b65d3a4408573de3984b6791fd004
5
5
  SHA512:
6
- metadata.gz: b0da9a2e8e3a3bed0bc6cb74bc7bbe2c1258290a32c481e23ac751930508513e2eb883bd14e08df0617366f12fd5ec7ae5a31178cdc6605e61d5d46380a1f978
7
- data.tar.gz: d2f921d8b3d84031cadc3f1eeafa9e0238847f0ac8b9ff1a2785d558bb50450af88edf497874545796999aaaf4deee4cc17349a867c83366ed98274a279a0a0d
6
+ metadata.gz: a797679dc01aab2ede70ce0873ebbbf469475ec280aecf2c23adf94d57d503413fc7d4000c482e3e4469b8e274d411174ab547912f0a4f8463240e57f0d34840
7
+ data.tar.gz: c60508c6d15404e445000b3fef982d14c580a10267e17db567ef28905290031f35a84db2f03df21f8271b02adbcfbc671334875eac6ef2613dd420054f4c376f
data/Gemfile.lock ADDED
@@ -0,0 +1,34 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ xcurl (1.0.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ diff-lcs (1.5.0)
10
+ rake (13.0.6)
11
+ rspec (3.12.0)
12
+ rspec-core (~> 3.12.0)
13
+ rspec-expectations (~> 3.12.0)
14
+ rspec-mocks (~> 3.12.0)
15
+ rspec-core (3.12.2)
16
+ rspec-support (~> 3.12.0)
17
+ rspec-expectations (3.12.3)
18
+ diff-lcs (>= 1.2.0, < 2.0)
19
+ rspec-support (~> 3.12.0)
20
+ rspec-mocks (3.12.5)
21
+ diff-lcs (>= 1.2.0, < 2.0)
22
+ rspec-support (~> 3.12.0)
23
+ rspec-support (3.12.0)
24
+
25
+ PLATFORMS
26
+ x86_64-linux
27
+
28
+ DEPENDENCIES
29
+ rake (~> 13.0)
30
+ rspec (~> 3.0)
31
+ xcurl!
32
+
33
+ BUNDLED WITH
34
+ 2.4.13
data/bin/xcurl ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "xcurl"
5
+
6
+ Xcurl.start(ARGV[0])
data/lib/xcurl.rb CHANGED
@@ -1,8 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative "xcurl/version"
3
+ class Xcurl
4
+ def self.start(session)
5
+ while true
4
6
 
5
- module Xcurl
6
- class Error < StandardError; end
7
- # Your code goes here...
7
+ print "> "
8
+ cmd = gets.chomp
9
+
10
+ break if cmd == 'q'
11
+ end
12
+ end
8
13
  end
data/xcurl.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "xcurl"
5
- spec.version = '1.0.0'
5
+ spec.version = '1.0.2'
6
6
  spec.authors = ["Andrew S Aguiar"]
7
7
  spec.email = ["andrewaguiar6@gmail.com"]
8
8
  spec.summary = "Convenient wrapper for curl"
@@ -18,8 +18,6 @@ Gem::Specification.new do |spec|
18
18
  end
19
19
 
20
20
  spec.bindir = 'bin'
21
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
21
+ spec.executables = ['xcurl']
22
22
  spec.require_paths = ['lib']
23
-
24
- spec.add_dependency 'pastel', '~> 0.8'
25
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xcurl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew S Aguiar
@@ -9,26 +9,12 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 2023-06-18 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: pastel
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '0.8'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '0.8'
12
+ dependencies: []
27
13
  description: Convenient wrapper for curl
28
14
  email:
29
15
  - andrewaguiar6@gmail.com
30
16
  executables:
31
- - setup
17
+ - xcurl
32
18
  extensions: []
33
19
  extra_rdoc_files: []
34
20
  files:
@@ -36,10 +22,12 @@ files:
36
22
  - ".rspec"
37
23
  - CODE_OF_CONDUCT.md
38
24
  - Gemfile
25
+ - Gemfile.lock
39
26
  - LICENSE.txt
40
27
  - README.md
41
28
  - Rakefile
42
29
  - bin/setup
30
+ - bin/xcurl
43
31
  - generate-gem
44
32
  - lib/xcurl.rb
45
33
  - xcurl.gemspec