case_transform-rust-extensions 0.3 → 0.3.1
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 +4 -4
- data/ext/case_transform/build.sh +6 -2
- data/lib/case_transform/version.rb +1 -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: 1d510dac5aae4274cabd8344eeb39d942a4cbc16
|
|
4
|
+
data.tar.gz: 74e4c5ae299a602dec2388c66c26a1fb59cacce2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2c232caf8430904d50e871ba3b990cb95e54a5269a96768f47f999ad35c4b78641ba6a46d68fff7f0702ceabdcded44bb3c8ff960b161dd8bf0ed4ee5096b08f
|
|
7
|
+
data.tar.gz: c4537cf6c4dd078fe555b76db4d76c2dbc28111615a72d9486dd867e7f3b265327352db45f2d72146586627903e035176e180d1a19701c97ddfee9f2fe4bb2ff
|
data/ext/case_transform/build.sh
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
rust_path=$(which rustc)
|
|
2
2
|
cargo_path=$(which cargo)
|
|
3
3
|
|
|
4
|
-
|
|
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
|
|
12
|
+
if ! command_exists cargo
|
|
9
13
|
then
|
|
10
14
|
echo "cargo is missing. rustup will be installed to provide cargo..."
|
|
11
15
|
|
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:
|
|
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: []
|