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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d271af1464edd330ed4518f6ae25600de2cee83b
4
- data.tar.gz: 63f6743bc8d9251112ccc6d70d7d05ba059b3699
3
+ metadata.gz: 5f605e5e25fcb8f3de0decabbeec7b1275b95a95
4
+ data.tar.gz: 2102c2ecf69a6a83d6d1c1d170b9c89ef8463295
5
5
  SHA512:
6
- metadata.gz: f5ed5f5dd1fa6495cb6d97d7dcb958b50a912222068c551109d8ebe8e9788fb5161f6cb59aae4580da12f8eb2da06e2708f6e684fa8a1676c27c1823ae432124
7
- data.tar.gz: 1d8595f5d4fdbe564f787899ee0c58a1edd48b4c3e4b99776d6a45c25cba60d3e1c382b40d562a9d1e4761b3aff990f24cfd6578f2a59b0167aa20bd2c510c0d
6
+ metadata.gz: fe5f68363e2a28dfd6701a7a9fc7261c2d595b5e2d644d999f31ace325ab0d152468e55e64885361d207f9e08c4695834eb423fd7131dc3e53d896294e353b35
7
+ data.tar.gz: 877c1d71c60c0c11ba07026bda74619d1675880536618e1b42d2eccaec8449d2deb10222f328f042d76f27c14620aa92bbd7b200636d1766934ea222a2c62071
@@ -1,17 +1,18 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- codelation-cli (0.0.22)
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.5)
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.8.3)
23
+ minitest (5.9.0)
23
24
  open_uri_redirections (0.2.1)
24
25
  progressbar (0.21.0)
25
- rubyzip (1.1.7)
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
@@ -21,4 +21,5 @@ Gem::Specification.new do |spec|
21
21
  spec.add_dependency "progressbar", "~> 0.21"
22
22
  spec.add_dependency "rubyzip", "~> 1.1"
23
23
  spec.add_dependency "thor", "~> 0.19"
24
+ spec.add_dependency "yajl-ruby", "~> 1.2"
24
25
  end
@@ -1,4 +1,3 @@
1
- require "json"
2
1
  require "net/http"
3
2
  require "thor"
4
3
 
@@ -3,9 +3,7 @@ require "thor"
3
3
 
4
4
  module Codelation
5
5
  class Cli < Thor
6
- RUBY_INSTALL_VERSION = "0.6.0".freeze
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
 
@@ -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.26".freeze
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#{JSON.parse(rubygems_json)['version'].strip}"
22
+ rubygems_version = "v#{Yajl::Parser.parse(rubygems_json)['version'].strip}"
22
23
 
23
24
  upgrade_message = ""
24
25
  if gem_version != rubygems_version
@@ -19,7 +19,7 @@ source /usr/local/share/chruby/chruby.sh
19
19
  source /usr/local/share/chruby/auto.sh
20
20
 
21
21
  # Set the default Ruby version
22
- chruby ruby-2.3.0
22
+ chruby ruby-2.3.1
23
23
 
24
24
  # Git Completion & Repo State
25
25
  # http://neverstopbuilding.com/gitpro
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.26
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-04-08 00:00:00.000000000 Z
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