case_transform-rust-extensions 0.3 → 0.3.1

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: caacf9a306233360516146a58ad930377b7c6716
4
- data.tar.gz: 67b195f32aa3d5cdb1560b0e38d01c2329496b07
3
+ metadata.gz: 1d510dac5aae4274cabd8344eeb39d942a4cbc16
4
+ data.tar.gz: 74e4c5ae299a602dec2388c66c26a1fb59cacce2
5
5
  SHA512:
6
- metadata.gz: ccaa57bc4108b5d1b2d57d8b21cb0ff7723ab5c8a9a825b253e479f558a87a01a4598d51c73e58734222c01a1d62e8c6dffe44ba76c876344d35d7b06ce043b8
7
- data.tar.gz: e639cc539da0a0bd187fe8eb739a05cc1e6976bede14caea0fdc3a495aac8e04c3bc27f7cb2422dd6c263f97c27365bf4b9b2dfb8868c46f0cc6067703d8e797
6
+ metadata.gz: 2c232caf8430904d50e871ba3b990cb95e54a5269a96768f47f999ad35c4b78641ba6a46d68fff7f0702ceabdcded44bb3c8ff960b161dd8bf0ed4ee5096b08f
7
+ data.tar.gz: c4537cf6c4dd078fe555b76db4d76c2dbc28111615a72d9486dd867e7f3b265327352db45f2d72146586627903e035176e180d1a19701c97ddfee9f2fe4bb2ff
@@ -1,11 +1,15 @@
1
1
  rust_path=$(which rustc)
2
2
  cargo_path=$(which cargo)
3
3
 
4
- if [ -z rust_path ]
4
+ command_exists () {
5
+ type "$1" &> /dev/null ;
6
+ }
7
+
8
+ if ! command_exists rustc
5
9
  then
6
10
  echo "rustc is missing. rustup will be installed to provide rustc..."
7
11
 
8
- if [ -z cargo_path ]
12
+ if ! command_exists cargo
9
13
  then
10
14
  echo "cargo is missing. rustup will be installed to provide cargo..."
11
15
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  module CaseTransform
3
- VERSION = '0.3'.freeze
3
+ VERSION = '0.3.1'.freeze
4
4
  RUST = true
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: case_transform-rust-extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.3'
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - L. Preston Sego III
@@ -186,5 +186,5 @@ rubyforge_project:
186
186
  rubygems_version: 2.5.1
187
187
  signing_key:
188
188
  specification_version: 4
189
- summary: CaseTransform-0.3
189
+ summary: CaseTransform-0.3.1
190
190
  test_files: []