codelation-cli 0.0.26 → 0.0.27
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +6 -4
- data/codelation_cli.gemspec +1 -0
- data/lib/codelation/base.rb +0 -1
- data/lib/codelation/development/ruby.rb +1 -3
- data/lib/codelation/version.rb +3 -2
- data/resources/dot_files/.codelation.bash +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f605e5e25fcb8f3de0decabbeec7b1275b95a95
|
4
|
+
data.tar.gz: 2102c2ecf69a6a83d6d1c1d170b9c89ef8463295
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe5f68363e2a28dfd6701a7a9fc7261c2d595b5e2d644d999f31ace325ab0d152468e55e64885361d207f9e08c4695834eb423fd7131dc3e53d896294e353b35
|
7
|
+
data.tar.gz: 877c1d71c60c0c11ba07026bda74619d1675880536618e1b42d2eccaec8449d2deb10222f328f042d76f27c14620aa92bbd7b200636d1766934ea222a2c62071
|
data/Gemfile.lock
CHANGED
@@ -1,17 +1,18 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
codelation-cli (0.0.
|
4
|
+
codelation-cli (0.0.27)
|
5
5
|
activesupport (~> 4.2)
|
6
6
|
open_uri_redirections (~> 0.2)
|
7
7
|
progressbar (~> 0.21)
|
8
8
|
rubyzip (~> 1.1)
|
9
9
|
thor (~> 0.19)
|
10
|
+
yajl-ruby (~> 1.2)
|
10
11
|
|
11
12
|
GEM
|
12
13
|
remote: https://rubygems.org/
|
13
14
|
specs:
|
14
|
-
activesupport (4.2.
|
15
|
+
activesupport (4.2.6)
|
15
16
|
i18n (~> 0.7)
|
16
17
|
json (~> 1.7, >= 1.7.7)
|
17
18
|
minitest (~> 5.1)
|
@@ -19,14 +20,15 @@ GEM
|
|
19
20
|
tzinfo (~> 1.1)
|
20
21
|
i18n (0.7.0)
|
21
22
|
json (1.8.3)
|
22
|
-
minitest (5.
|
23
|
+
minitest (5.9.0)
|
23
24
|
open_uri_redirections (0.2.1)
|
24
25
|
progressbar (0.21.0)
|
25
|
-
rubyzip (1.
|
26
|
+
rubyzip (1.2.0)
|
26
27
|
thor (0.19.1)
|
27
28
|
thread_safe (0.3.5)
|
28
29
|
tzinfo (1.2.2)
|
29
30
|
thread_safe (~> 0.1)
|
31
|
+
yajl-ruby (1.2.1)
|
30
32
|
|
31
33
|
PLATFORMS
|
32
34
|
ruby
|
data/codelation_cli.gemspec
CHANGED
data/lib/codelation/base.rb
CHANGED
@@ -3,9 +3,7 @@ require "thor"
|
|
3
3
|
|
4
4
|
module Codelation
|
5
5
|
class Cli < Thor
|
6
|
-
|
7
|
-
RUBY_INSTALL_URL = "https://github.com/postmodern/ruby-install/archive/v#{RUBY_INSTALL_VERSION}.tar.gz".freeze
|
8
|
-
RUBY_VERSION = "2.3.0".freeze
|
6
|
+
RUBY_VERSION = "2.3.1".freeze
|
9
7
|
|
10
8
|
private
|
11
9
|
|
data/lib/codelation/version.rb
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
require "open-uri"
|
2
2
|
require "thor"
|
3
|
+
require "yajl"
|
3
4
|
|
4
5
|
module Codelation
|
5
|
-
VERSION = "0.0.
|
6
|
+
VERSION = "0.0.27".freeze
|
6
7
|
|
7
8
|
class Cli < Thor
|
8
9
|
desc "update", "Update codelation-cli to latest version"
|
@@ -18,7 +19,7 @@ module Codelation
|
|
18
19
|
|
19
20
|
# Grab the latest version of the RubyGem
|
20
21
|
rubygems_json = open("https://rubygems.org/api/v1/gems/codelation-cli.json").read
|
21
|
-
rubygems_version = "v#{
|
22
|
+
rubygems_version = "v#{Yajl::Parser.parse(rubygems_json)['version'].strip}"
|
22
23
|
|
23
24
|
upgrade_message = ""
|
24
25
|
if gem_version != rubygems_version
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: codelation-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.27
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Pattison
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -80,6 +80,20 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0.19'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: yajl-ruby
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.2'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '1.2'
|
83
97
|
description:
|
84
98
|
email:
|
85
99
|
- brian@brianpattison.com
|