rise-cli 0.3.0 → 0.3.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.
- checksums.yaml +4 -4
- data/README.md +6 -1
- data/lib/core/constants.rb +1 -1
- data/lib/core/text.rb +1 -1
- data/lib/core/transport.rb +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 244626d212aaa0bfe6a4705cb479a7efc8a59683
|
4
|
+
data.tar.gz: 91ea61b97c71fd13a4302795f0553a14c4ec112b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33324381bd77e85474ff5ccb353e75ebb2fee5df866f4dfe6aeddd498f28b874fbadcea5603855001a34618078a8d9e1dfd1780dd8a8098139e15492b3d0595f
|
7
|
+
data.tar.gz: 613e4cbd5078142af4a337e43a77c9355f836c427ceb0dfe3e8eafe30dccd3dea143ed59c228b2379ded3dba3a8d078974ecbc8762f7ca75b918b123c2ae2ab9
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
[](https://rise.sh)
|
2
2
|
|
3
|
-
[](http://carterbrainerd.me/donations/)
|
4
4
|
[](https://travis-ci.org/cbrnrd/rise)
|
5
5
|
[](https://rubygems.org/gems/rise-cli)
|
6
6
|
[](https://rubygems.org/gems/rise-cli)
|
@@ -60,3 +60,8 @@ See also the list of [contributors](https://github.com/cbrnrd/rise/contributors)
|
|
60
60
|
## License
|
61
61
|
|
62
62
|
This project is licensed under the MIT License - see the [LICENSE](https://github.com/cbrnrd/rise/blob/master/LICENSE) file for details
|
63
|
+
|
64
|
+
|
65
|
+
<p align="center">
|
66
|
+
<img height="100" width="300" src="https://i.imgur.com/obHmDnX.png">
|
67
|
+
</p>
|
data/lib/core/constants.rb
CHANGED
data/lib/core/text.rb
CHANGED
@@ -18,7 +18,7 @@ module Rise
|
|
18
18
|
# Prints +msg+ if the +RISE_VERBOSE+ environment variable is set to 'yes' (set with --verbose)
|
19
19
|
#
|
20
20
|
def self.vputs(msg='')
|
21
|
-
puts msg if ENV['RISE_VERBOSE'] == 'yes'
|
21
|
+
puts("[" + Paint["VERBOSE"] + "] - " + msg) if ENV['RISE_VERBOSE'] == 'yes'
|
22
22
|
end
|
23
23
|
end
|
24
24
|
end
|
data/lib/core/transport.rb
CHANGED
@@ -54,6 +54,7 @@ module Rise
|
|
54
54
|
File.expand_path(folder_path), '')
|
55
55
|
uri = URI.parse("#{upload_uri_base}/#{final_path.gsub(' ', '')}?dir=#{isdir}")
|
56
56
|
begin
|
57
|
+
vputs ("Uploading #{f.basename}")
|
57
58
|
res = HTTP.auth("#{key}").put(uri.to_s, body: ActiveSupport::Gzip.compress(File.read(f)))
|
58
59
|
abort(Paint["Upload failed. Got error code #{res.code} with message: #{JSON.parse(res)['message']}", :red]) unless (!res.code.nil? && res.code == 200)
|
59
60
|
rescue Errno::EISDIR
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rise-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carter Brainerd
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-02-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: clipboard
|
@@ -171,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
171
171
|
version: '0'
|
172
172
|
requirements: []
|
173
173
|
rubyforge_project:
|
174
|
-
rubygems_version: 2.
|
174
|
+
rubygems_version: 2.6.13
|
175
175
|
signing_key:
|
176
176
|
specification_version: 4
|
177
177
|
summary: Simple serverless website deployment
|