case_transform-rust-extensions 0.3.7 → 0.3.9

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: b2d79d2ac3dbcb43aa0d5fb6ff55f348d04862dc
4
- data.tar.gz: e5f8c5cdad3d3e8e1fd06f3f7a607e7c79ed47b9
3
+ metadata.gz: fdb68a63b09f904feed828cbfc18499e6c8c9981
4
+ data.tar.gz: a3836b9b002c67f9ed1f0a70073e5a023fed0904
5
5
  SHA512:
6
- metadata.gz: cf16e5369f667ad1f9a642bb35d99d68c688adc398b8d954290ddcdfa9909dd816fdc6aa1ad69e31e3cf2fd82bf9f2bf7b3a21c0180804994ae65f52c38fa24b
7
- data.tar.gz: 2169e181a18a5edbeabf2bda0c876cec507ca0b624062dcb39edb2cdbd9fa00cc05e1c196cd060af99655089584515d077ab7c1af2464e4334268c8a2c672efe
6
+ metadata.gz: 676a0079fabc69d994dbe8a467f63a5696ff4fcfbb94afe1c41e858d9b3252cc3b60aa0e4dfe6c7333182cce7b3d40c25f617e163663e6f1948089b64df027e7
7
+ data.tar.gz: 22c625e14f4c05ab9d047eb414672297beb088a8e495fc8a00dc81def4ede7de2c9a8847bda07b67f37430016036f8ce6cbd6e92648ef6727c54678123d970ae
@@ -3,7 +3,6 @@ name = "case_transform"
3
3
  version = "0.1.0"
4
4
  dependencies = [
5
5
  "inflections 1.0.0 (git+https://github.com/calebmer/inflections)",
6
- "memoirs 0.1.1 (git+https://github.com/Inspiravetion/Memoirs)",
7
6
  "ruru 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
8
7
  ]
9
8
 
@@ -17,11 +16,6 @@ name = "libc"
17
16
  version = "0.2.16"
18
17
  source = "registry+https://github.com/rust-lang/crates.io-index"
19
18
 
20
- [[package]]
21
- name = "memoirs"
22
- version = "0.1.1"
23
- source = "git+https://github.com/Inspiravetion/Memoirs#fc4d25994dd529d632fb5252253950266cff1b9e"
24
-
25
19
  [[package]]
26
20
  name = "ruby-sys"
27
21
  version = "0.2.12"
@@ -41,6 +35,5 @@ dependencies = [
41
35
  [metadata]
42
36
  "checksum inflections 1.0.0 (git+https://github.com/calebmer/inflections)" = "<none>"
43
37
  "checksum libc 0.2.16 (registry+https://github.com/rust-lang/crates.io-index)" = "408014cace30ee0f767b1c4517980646a573ec61a57957aeeabcac8ac0a02e8d"
44
- "checksum memoirs 0.1.1 (git+https://github.com/Inspiravetion/Memoirs)" = "<none>"
45
38
  "checksum ruby-sys 0.2.12 (registry+https://github.com/rust-lang/crates.io-index)" = "504c7c5129d25011547b5d4e46a79a7b931aaab7768e288751ee41704c831fee"
46
39
  "checksum ruru 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1937d7968d8607b6f3c0f53ac7e534e43e2721d704bd6a91f78e2c00b9604c89"
@@ -1,33 +1,37 @@
1
- command_exists () {
2
- type "$1" &> /dev/null ;
3
- }
4
-
5
- build() {
6
- echo ""
7
- echo "rustc: $(which rustc)"
8
- echo "cargo: $(which cargo)"
9
- echo ""
10
-
11
- if ! command_exists rustc
12
- then
13
- echo "Rust still not installed..."
14
- exit 1
15
- fi
16
-
17
- cargo build --release
18
- }
19
-
20
- echo ""
21
- echo "current directory"
22
- echo `pwd`
23
- echo ""
24
-
25
- if ! type rustc > /dev/null; then
26
- echo "rustc is missing. rustup will be installed to provide rustc..."
27
-
28
- curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y
29
- else
30
- echo "rustc exists..."
31
- fi
32
-
33
- build
1
+ command_exists() {
2
+ type "$1" &> /dev/null ;
3
+ }
4
+
5
+ build() {
6
+ echo ""
7
+ echo "rustc: $(which rustc)"
8
+ echo "cargo: $(which cargo)"
9
+ echo ""
10
+
11
+ if ! command_exists rustc
12
+ then
13
+ echo "Rust still not installed..."
14
+ exit 1
15
+ fi
16
+
17
+ cargo build --release
18
+ }
19
+
20
+ CARGO_SOURCE_LINE='source $HOME/.cargo/env'
21
+ ensure_cargo_sourced() {
22
+ FILE=~/.bash_profile
23
+ grep -q "$CARGO_SOURCE_LINE" "$FILE" || echo "$CARGO_SOURCE_LINE" >> "$FILE"
24
+ source $HOME/.cargo/env
25
+ }
26
+
27
+ if ! type rustc > /dev/null; then
28
+ echo "rustc is missing. rustup will be installed to provide rustc..."
29
+
30
+ curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y
31
+
32
+ ensure_cargo_sourced
33
+ else
34
+ echo "rustc exists..."
35
+ fi
36
+
37
+ build
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  module CaseTransform
3
- VERSION = '0.3.7'.freeze
3
+ VERSION = '0.3.9'.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.7
4
+ version: 0.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - L. Preston Sego III
@@ -195,5 +195,5 @@ rubyforge_project:
195
195
  rubygems_version: 2.5.1
196
196
  signing_key:
197
197
  specification_version: 4
198
- summary: CaseTransform-0.3.7
198
+ summary: CaseTransform-0.3.9
199
199
  test_files: []