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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5fbced96a521c06bc83a0da3702d011d92ccfed0
4
- data.tar.gz: 4c07b05867a7cc69caa0242f127992ba76e63eeb
3
+ metadata.gz: 244626d212aaa0bfe6a4705cb479a7efc8a59683
4
+ data.tar.gz: 91ea61b97c71fd13a4302795f0553a14c4ec112b
5
5
  SHA512:
6
- metadata.gz: 1b994de982771cf8a1733cd73b8646c7c60ae383d337b0c85d87ea2372945256710da779335a00e6b58bead5ab4148421f9731bf298d3733dcea3b6a44517af9
7
- data.tar.gz: aff821f0c2bd39a9b9791218744b5803dfe1e8c725876fe39807695c0471a0ab30fce7fe4cdbb0c7816826d0a20e1c2ce53971f225dc2d40fdf00718f2977cff
6
+ metadata.gz: 33324381bd77e85474ff5ccb353e75ebb2fee5df866f4dfe6aeddd498f28b874fbadcea5603855001a34618078a8d9e1dfd1780dd8a8098139e15492b3d0595f
7
+ data.tar.gz: 613e4cbd5078142af4a337e43a77c9355f836c427ceb0dfe3e8eafe30dccd3dea143ed59c228b2379ded3dba3a8d078974ecbc8762f7ca75b918b123c2ae2ab9
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  [![rise](https://github.com/cbrnrd/rise/raw/master/img/rise_logo.png)](https://rise.sh)
2
2
                                         
3
- [![Code Climate](https://img.shields.io/codeclimate/github/cbrnrd/rise.svg?style=flat-square)](https://codeclimate.com/github/cbrnrd/rise)
3
+ [![Donations Badge](https://yourdonation.rocks/images/badge.svg)](http://carterbrainerd.me/donations/)
4
4
  [![Build Status](https://img.shields.io/travis/cbrnrd/rise.svg?style=flat-square)](https://travis-ci.org/cbrnrd/rise)
5
5
  [![Gem](https://img.shields.io/gem/v/rise-cli.svg?style=flat-square)](https://rubygems.org/gems/rise-cli)
6
6
  [![Gem](https://img.shields.io/gem/dt/rise-cli.svg?style=flat-square)](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>
@@ -8,7 +8,7 @@ module Rise
8
8
  # Holds constants used throughout the framework
9
9
  #
10
10
  module Constants
11
- VERSION = '0.3.0'.freeze
11
+ VERSION = '0.3.2'.freeze
12
12
  EMAIL = '0xCB@protonmail.com'.freeze
13
13
  AUTHORS = ['Carter Brainerd']
14
14
  NAME = 'rise-cli'.freeze
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
@@ -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.0
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: 2018-03-25 00:00:00.000000000 Z
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.5.1
174
+ rubygems_version: 2.6.13
175
175
  signing_key:
176
176
  specification_version: 4
177
177
  summary: Simple serverless website deployment