rise-cli 0.2.8 → 0.2.9

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: d81f4817f91cb5415fde8eb6455d02fc559792cd
4
- data.tar.gz: 0cfad3ef013df31dfbefd02fe0497ab53b0a144a
3
+ metadata.gz: f0d92697546a62dfae0e36c50be9aec8cff85ebb
4
+ data.tar.gz: 0d0e08f6c4b9670f0cfe9a2a4332da2f7fdf25ac
5
5
  SHA512:
6
- metadata.gz: 27210a08d7046c259a0ba1c2a1196498295dbd8df75785267c183a800d35d1d520777edfd963782d4a2b0987d4b58a2d7a56caa34c432f1c5cf600e87f18a55a
7
- data.tar.gz: 05765a3ec8a8ba87dc0bf4eabb09f593304ff8d3d069f47d795fe06e4db8ed70186977e1fa3c11bc1300b3ee743cbd3b25f7be28a8fc05c63f513bfcc503ddc4
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/kabisaict/flow.svg?style=flat-square)](https://codeclimate.com/github/cbrnrd/rise)
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: 'dots', status: "Uploading files (#{uploader.total_files} total files)") do
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
@@ -8,7 +8,7 @@ module Rise
8
8
  # Holds constants used throughout the framework
9
9
  #
10
10
  module Constants
11
- VERSION = '0.2.8'.freeze
11
+ VERSION = '0.2.9'.freeze
12
12
  EMAIL = '0xCB@protonmail.com'.freeze
13
13
  AUTHORS = ['Carter Brainerd']
14
14
  NAME = 'rise-cli'.freeze
@@ -67,6 +67,7 @@ module Rise
67
67
 
68
68
  protected
69
69
 
70
+ # Calculates the size of all the files combined
70
71
  def calculate_files_size
71
72
  @files.inject(0){|sum, file| sum + File.size(file)}
72
73
  end
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
- Rise::Text.vputs("Source: #{src}")
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.8
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: 2017-11-18 00:00:00.000000000 Z
11
+ date: 2018-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: clipboard