rise-cli 0.2.8 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/bin/rise +1 -1
- data/bin/setup +8 -8
- data/lib/core/constants.rb +1 -1
- data/lib/core/transport.rb +1 -0
- data/lib/core/util.rb +8 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f0d92697546a62dfae0e36c50be9aec8cff85ebb
|
4
|
+
data.tar.gz: 0d0e08f6c4b9670f0cfe9a2a4332da2f7fdf25ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55c5d564a6399db8e4fe0c8205ddbd38abf8d2446c8aa7775209e4356f4b2217386b0bd4c789e97a245fa3fe3a85a8c3cde00070a7f9a8ed12a6402226f5c3ee
|
7
|
+
data.tar.gz: 5a847a1667d9dd38cc88f351250407639ca28a8811c0ee1256d00de54afe0e8345036f928054cd29525ed1cdd0cb3721daeba547c857d8a417cea33bcc27ea44
|
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/
|
3
|
+
[![Code Climate](https://img.shields.io/codeclimate/github/cbrnrd/rise.svg?style=flat-square)](https://codeclimate.com/github/cbrnrd/rise)
|
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)
|
data/bin/rise
CHANGED
@@ -97,7 +97,7 @@ end
|
|
97
97
|
|
98
98
|
puts Paint['Thanks for using Rise! Your local source for serverless deployment!', '#95a5a6']
|
99
99
|
|
100
|
-
Whirly.start(spinner: '
|
100
|
+
Whirly.start(spinner: 'dots10', status: "Uploading files (#{uploader.total_files} total files)") do
|
101
101
|
beginning_time = Time.now
|
102
102
|
result_url = uploader.upload! # Do the file upload
|
103
103
|
|
data/bin/setup
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
#!/usr/bin/env bash
|
2
|
-
set -euo pipefail
|
3
|
-
IFS=$'\n\t'
|
4
|
-
set -vx
|
5
|
-
|
6
|
-
bundle install
|
7
|
-
|
8
|
-
# Do any other automated setup that you need to do here
|
1
|
+
#!/usr/bin/env bash
|
2
|
+
set -euo pipefail
|
3
|
+
IFS=$'\n\t'
|
4
|
+
set -vx
|
5
|
+
|
6
|
+
bundle install
|
7
|
+
|
8
|
+
# Do any other automated setup that you need to do here
|
data/lib/core/constants.rb
CHANGED
data/lib/core/transport.rb
CHANGED
data/lib/core/util.rb
CHANGED
@@ -42,7 +42,14 @@ module Rise
|
|
42
42
|
#
|
43
43
|
def self.check_for_update!
|
44
44
|
src = Rise::Util.git_or_gem?
|
45
|
-
|
45
|
+
if src == 2
|
46
|
+
Rise::Text.vputs("Source: RubyGems")
|
47
|
+
elsif src == 1
|
48
|
+
Rise::Text.vputs("Source: git")
|
49
|
+
else
|
50
|
+
Rise::Text.vputs("Source: unknown")
|
51
|
+
end
|
52
|
+
|
46
53
|
begin
|
47
54
|
if src == 2 # if the gem was downloaded from rubygems
|
48
55
|
current_version = JSON.parse(HTTP.get('https://rubygems.org/api/v1/versions/rise-cli/latest.json'))['version']
|
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.2.
|
4
|
+
version: 0.2.9
|
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: 2018-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: clipboard
|