pinport 0.0.1 → 0.0.2
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/README.md +2 -2
- data/bin/pinport +1 -1
- data/lib/pinport/version.rb +1 -1
- data/pinport.gemspec +0 -1
- metadata +1 -15
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fc8bd27af74a74bd1d58badea3e684f42009bad7
|
|
4
|
+
data.tar.gz: 720c208879b90821d6bc5f37d143b249428b7161
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1c7a2ede7d8cd53bcbf54172a616f9cd6e6ec2c21c98f44b178d5178d2ed42a740fee0f494d3ab8a87fa996f10cf4ce190f70d354facfd1f5d9ef39ebd36cf16
|
|
7
|
+
data.tar.gz: 3a7f5e8a89fd4a39e17a948e82429fe6bfb1d91adace75e96622a70f52999955bd5b59b688dae00c3169978536776481decb4b120632d6074e1097e14571ebd4
|
data/README.md
CHANGED
|
@@ -13,7 +13,7 @@ gem install pinport
|
|
|
13
13
|
|
|
14
14
|
## Configuration
|
|
15
15
|
|
|
16
|
-
A `config.yml` file specifying details for your MySQL database is required. Pinport uses
|
|
16
|
+
A `config.yml` file specifying details for your MySQL database is required. Pinport uses this file to determine how connect to your database and which table/column to insert imported PINs into. It is recommended that you use `pinport generate` to generate this file so that it is appropriately formatted.
|
|
17
17
|
|
|
18
18
|
### Generating a config.yml file
|
|
19
19
|
|
|
@@ -41,7 +41,7 @@ pinport import FOLDER
|
|
|
41
41
|
## Development
|
|
42
42
|
Clone this repository using `git clone`.
|
|
43
43
|
|
|
44
|
-
Navigate to the directory of cloned repository and run `rake` to compile and install the gem from
|
|
44
|
+
Navigate to the directory of cloned repository and run `rake` to compile and install the gem from
|
|
45
45
|
source.
|
|
46
46
|
|
|
47
47
|
To do the tasks separately:
|
data/bin/pinport
CHANGED
|
@@ -103,7 +103,7 @@ class Cli < Thor
|
|
|
103
103
|
end
|
|
104
104
|
|
|
105
105
|
# Verifies if the supplied config file is valid
|
|
106
|
-
desc "check_config CONFIG_FILE", "Checks pinport's configuration and initializes it"
|
|
106
|
+
desc "check_config CONFIG_FILE", "Checks pinport's configuration and initializes it", :hide => true
|
|
107
107
|
def check_config(config_file)
|
|
108
108
|
# Prompts user to generate a default config.yml file if it doesn't exist
|
|
109
109
|
if !File.exists?("#{Dir.pwd}/config.yml")
|
data/lib/pinport/version.rb
CHANGED
data/pinport.gemspec
CHANGED
|
@@ -17,7 +17,6 @@ Gem::Specification.new do |s|
|
|
|
17
17
|
s.files += Dir.glob("lib/**/generators/templates/**/*")
|
|
18
18
|
s.executables << 'pinport'
|
|
19
19
|
|
|
20
|
-
s.add_runtime_dependency 'bundler', '~> 1.0'
|
|
21
20
|
s.add_runtime_dependency 'mysql2', '~> 0.3.11'
|
|
22
21
|
s.add_runtime_dependency 'sequel', '~> 3.46.0'
|
|
23
22
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pinport
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Francis San Juan
|
|
@@ -10,20 +10,6 @@ bindir: bin
|
|
|
10
10
|
cert_chain: []
|
|
11
11
|
date: 2013-04-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
|
-
- !ruby/object:Gem::Dependency
|
|
14
|
-
name: bundler
|
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
|
16
|
-
requirements:
|
|
17
|
-
- - ~>
|
|
18
|
-
- !ruby/object:Gem::Version
|
|
19
|
-
version: '1.0'
|
|
20
|
-
type: :runtime
|
|
21
|
-
prerelease: false
|
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
-
requirements:
|
|
24
|
-
- - ~>
|
|
25
|
-
- !ruby/object:Gem::Version
|
|
26
|
-
version: '1.0'
|
|
27
13
|
- !ruby/object:Gem::Dependency
|
|
28
14
|
name: mysql2
|
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|