xcurl 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +38 -0
- data/bin/xcurl +6 -0
- data/lib/xcurl.rb +9 -4
- data/xcurl.gemspec +4 -2
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1aec94036cce1c06170dc1648796310860b50bb7678cdc28ee471864ebf18b71
|
4
|
+
data.tar.gz: 13187f13a867c736a389a6f8a3d7fccd93237508d9798eaf6aab0dba6f45dfec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe8e4c8d433d6a75848c005a22d898998f5447c04706bcfd54dfdfc5fd306805df44975eda8eda0a5760444f6730af3d7371dcb6708de1cd29d1b170e6c589fe
|
7
|
+
data.tar.gz: 78cb66bc6d62def43f5fb40451d9948aab5afabc3daa34276a4bd3c584c749b511b344b776f9578ce8208841deb026ccdbbaed3c9c08fc231398fa653ac8edc0
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
xcurl (1.0.0)
|
5
|
+
pastel (~> 0.8)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
diff-lcs (1.5.0)
|
11
|
+
pastel (0.8.0)
|
12
|
+
tty-color (~> 0.5)
|
13
|
+
rake (13.0.6)
|
14
|
+
rspec (3.12.0)
|
15
|
+
rspec-core (~> 3.12.0)
|
16
|
+
rspec-expectations (~> 3.12.0)
|
17
|
+
rspec-mocks (~> 3.12.0)
|
18
|
+
rspec-core (3.12.2)
|
19
|
+
rspec-support (~> 3.12.0)
|
20
|
+
rspec-expectations (3.12.3)
|
21
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
22
|
+
rspec-support (~> 3.12.0)
|
23
|
+
rspec-mocks (3.12.5)
|
24
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
25
|
+
rspec-support (~> 3.12.0)
|
26
|
+
rspec-support (3.12.0)
|
27
|
+
tty-color (0.6.0)
|
28
|
+
|
29
|
+
PLATFORMS
|
30
|
+
x86_64-linux
|
31
|
+
|
32
|
+
DEPENDENCIES
|
33
|
+
rake (~> 13.0)
|
34
|
+
rspec (~> 3.0)
|
35
|
+
xcurl!
|
36
|
+
|
37
|
+
BUNDLED WITH
|
38
|
+
2.4.13
|
data/bin/xcurl
ADDED
data/lib/xcurl.rb
CHANGED
@@ -1,8 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
3
|
+
class Xcurl
|
4
|
+
def start(session)
|
5
|
+
while true
|
4
6
|
|
5
|
-
|
6
|
-
|
7
|
-
|
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.
|
5
|
+
spec.version = '1.0.1'
|
6
6
|
spec.authors = ["Andrew S Aguiar"]
|
7
7
|
spec.email = ["andrewaguiar6@gmail.com"]
|
8
8
|
spec.summary = "Convenient wrapper for curl"
|
@@ -17,8 +17,10 @@ Gem::Specification.new do |spec|
|
|
17
17
|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|gem)/}) }
|
18
18
|
end
|
19
19
|
|
20
|
+
puts spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
21
|
+
|
20
22
|
spec.bindir = 'bin'
|
21
|
-
spec.executables =
|
23
|
+
spec.executables = 'xcurl'
|
22
24
|
spec.require_paths = ['lib']
|
23
25
|
|
24
26
|
spec.add_dependency 'pastel', '~> 0.8'
|
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.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew S Aguiar
|
@@ -28,7 +28,7 @@ description: Convenient wrapper for curl
|
|
28
28
|
email:
|
29
29
|
- andrewaguiar6@gmail.com
|
30
30
|
executables:
|
31
|
-
-
|
31
|
+
- xcurl
|
32
32
|
extensions: []
|
33
33
|
extra_rdoc_files: []
|
34
34
|
files:
|
@@ -36,10 +36,12 @@ files:
|
|
36
36
|
- ".rspec"
|
37
37
|
- CODE_OF_CONDUCT.md
|
38
38
|
- Gemfile
|
39
|
+
- Gemfile.lock
|
39
40
|
- LICENSE.txt
|
40
41
|
- README.md
|
41
42
|
- Rakefile
|
42
43
|
- bin/setup
|
44
|
+
- bin/xcurl
|
43
45
|
- generate-gem
|
44
46
|
- lib/xcurl.rb
|
45
47
|
- xcurl.gemspec
|