redata 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +14 -14
- data/README.md +5 -21
- data/bin/adjust +5 -0
- data/bin/notice +3 -0
- data/bin/redata +3 -0
- data/lib/redata/version.rb +1 -1
- data/redata.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b36a611f7ed317166263e06e7f66face60ce89fb
|
4
|
+
data.tar.gz: 55412bfa73ab191ba3c7e4be8e01d26a81e1a429
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6caae152054a831ade5fc5875ed36d5252000d3d9fd5c051d13c68e42ad5f4aa9b5015c3c835de6233442e2509a4c7663977055a5c78939126111fca1215017b
|
7
|
+
data.tar.gz: 3f56c49db1cbb36d0ba1b3072d763e96075ae76c4708a96a07b413331d2c35c6698015ee7d81e262cff6e2fee707b2b3c8d35cdd550c064cc74a26669f8f4120
|
data/LICENSE.txt
CHANGED
@@ -1,21 +1,21 @@
|
|
1
|
-
|
1
|
+
MIT License
|
2
2
|
|
3
|
-
Copyright (
|
3
|
+
Copyright 2017, Han Qiu(goshan), All rights reserved.
|
4
4
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
10
|
furnished to do so, subject to the following conditions:
|
11
11
|
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
13
|
all copies or substantial portions of the Software.
|
14
14
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
21
|
THE SOFTWARE.
|
data/README.md
CHANGED
@@ -201,25 +201,9 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/goshan
|
|
201
201
|
|
202
202
|
## License
|
203
203
|
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
of this software and associated documentation files (the "Software"), to deal
|
210
|
-
in the Software without restriction, including without limitation the rights
|
211
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
212
|
-
copies of the Software, and to permit persons to whom the Software is
|
213
|
-
furnished to do so, subject to the following conditions:
|
214
|
-
|
215
|
-
The above copyright notice and this permission notice shall be included in
|
216
|
-
all copies or substantial portions of the Software.
|
217
|
-
|
218
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
219
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
220
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
221
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
222
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
223
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
224
|
-
THE SOFTWARE.
|
204
|
+
This project is licenced under the MIT license, see [LICENSE](https://github.com/goshan/redata/blob/master/LICENSE.txt) for details.
|
205
|
+
|
206
|
+
## Copyright
|
207
|
+
|
208
|
+
Copyright 2017, Han Qiu(goshan), All rights reserved.
|
225
209
|
|
data/bin/adjust
CHANGED
@@ -13,6 +13,11 @@ Dir.mkdir temp_config.tmp_file_dir unless temp_config.tmp_file_dir.exist?
|
|
13
13
|
Redata::Log.action "ADJUST<#{Redata::RED.params[0]}>: use [#{temp_config.query_file.relative_path_from Redata::RED.root}]"
|
14
14
|
Redata::Parser.gen_adjust_query temp_config
|
15
15
|
|
16
|
+
unless Redata::RED.params[0]
|
17
|
+
puts "Redata Version #{Redata::VERSION}"
|
18
|
+
puts "Copyright 2013, Han Qiu(goshan), All rights reserved."
|
19
|
+
end
|
20
|
+
|
16
21
|
if Redata::RED.params[0] == "redshift"
|
17
22
|
Redata::DATABASE.connect_redshift temp_config
|
18
23
|
else
|
data/bin/notice
CHANGED
@@ -13,6 +13,9 @@ if ['log', 'mention'].include? Redata::RED.params[0]
|
|
13
13
|
notice.log Redata::RED.params[1], Redata::RED.params[2]
|
14
14
|
when 'mention'
|
15
15
|
notice.mention Redata::RED.params[1], Redata::RED.params[2]
|
16
|
+
else
|
17
|
+
puts "Redata Version #{Redata::VERSION}"
|
18
|
+
puts "Copyright 2013, Han Qiu(goshan), All rights reserved."
|
16
19
|
end
|
17
20
|
end
|
18
21
|
|
data/bin/redata
CHANGED
@@ -15,6 +15,9 @@ if ['create', 'delete', 'checkout', 'deploy'].include? Redata::RED.params[0]
|
|
15
15
|
Redata::Task.checkout_datasource Redata::RED.params[1]
|
16
16
|
when 'deploy'
|
17
17
|
Redata::Task.deploy_datasource Redata::RED.params[1], Redata::RED.params[2]
|
18
|
+
else
|
19
|
+
puts "Redata Version #{Redata::VERSION}"
|
20
|
+
puts "Copyright 2013, Han Qiu(goshan), All rights reserved."
|
18
21
|
end
|
19
22
|
end
|
20
23
|
|
data/lib/redata/version.rb
CHANGED
data/redata.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.add_development_dependency "bundler", "~> 1.12"
|
22
22
|
spec.add_development_dependency "rake", "~> 10.0"
|
23
23
|
|
24
|
-
spec.add_runtime_dependency "json", "~>
|
24
|
+
spec.add_runtime_dependency "json", "~> 1.7"
|
25
25
|
spec.add_runtime_dependency "colorize", "~> 0.8"
|
26
26
|
spec.add_runtime_dependency "aws-sdk", "~> 2.6"
|
27
27
|
spec.add_runtime_dependency "timezone", "~> 1.2"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- goshan
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '1.7'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '1.7'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: colorize
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|