strada 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/strada/version.rb +1 -1
- data/lib/strada.rb +2 -2
- data/strada.gemspec +0 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 477e7c0ce3435ec1a093c37b84b2acfef8b4066af4f2bfe0844ac026579cd890
|
4
|
+
data.tar.gz: 930f254c50b58c986c53586b5c6d139687dae7afbceaa1b8352566cd0c32d226
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0bcef4d04513deb233b58845d921419c95d00d665277578e3e378f2c162da33100a8618b6210864c2e30fe309c2a4cfaed0d2a09618e134d7b31bcfaed3b902
|
7
|
+
data.tar.gz: 3f3ca72c326f29d98c2f82b33359e6953f1e611d6accab9a17021b5dd3f12dea66866fdc17c16d3cdf70a8e440dd965f8a8b7a030a80b54d8ef4beadce0b916a
|
data/lib/strada/version.rb
CHANGED
data/lib/strada.rb
CHANGED
@@ -78,8 +78,8 @@ class Strada
|
|
78
78
|
# @option opts [boolean] :load load config once saved, by default false
|
79
79
|
# @return [boolean] true if config didn't exist and was created, false if config already exists
|
80
80
|
def create(opts = {})
|
81
|
-
src = opts.delete
|
82
|
-
dst = opts.delete
|
81
|
+
src = opts.delete(:source) || :default
|
82
|
+
dst = opts.delete(:destination) || :user
|
83
83
|
|
84
84
|
no_config = false
|
85
85
|
no_config = true if @system.empty? && @user.empty?
|
data/strada.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: strada
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- WENWU.YAN
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-04-
|
11
|
+
date: 2022-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: configuration library with object access to YAML/JSON/TOML backends
|
14
14
|
email: 968826@gmail.com
|