marketplace-kit 0.1.2 → 0.1.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 62213bcc8751ad94bc934548a7b6b228d42aced4
4
- data.tar.gz: b89d13da9d3d000529c1f79072f8f10127173a4f
3
+ metadata.gz: 9c1f450f4ce123a752d6b9f78aece3be56c157ef
4
+ data.tar.gz: da019af5fae620dcba53223e61ff23d6873ccd95
5
5
  SHA512:
6
- metadata.gz: bd67f44eb4c305fa672e10a1704eff709933137d52c3027552463fc9e953920e4d65650c2f57437b5cd8ce0f0f8a396caf90cd88c94d12f2701060b2b0e79ba1
7
- data.tar.gz: 2cb38cb40df86b288d57cc729ad35dae19e5dc92cbc7b4f52c5e4497a9704de07b6e983952e36d5db8e063be2f96c39d2477d60d9057a331206085b3f8f0b7f9
6
+ metadata.gz: 8aeef32d27aef3d949569bb74948bd7eb2b689ff7245460e64cf04b0d66df27ae88b7c27ac8de7eaabaaf5925c126e8da4188fc294ba807cdfbbdfa5e80f7483
7
+ data.tar.gz: ac69d0d0a5ca5a178982b1ed80939dcac833bb4b0750169e23228fcc1ef08abc4b3dc5d1248aea9f25c53032fb4b6615763945bcb66928e8dc10f4c6a713e14c
data/README.md CHANGED
@@ -11,8 +11,8 @@ Install it yourself as:
11
11
  ## Configuration
12
12
 
13
13
  1. Go to marketplace folder you are working on
14
- 2. Ensure marketplace_builder directory exists
15
- 3. Create marketplace_builder/.builder file
14
+ 2. Ensure `marketplace_builder` directory exists
15
+ 3. Create `marketplace_builder/.builder` file with endpoint names and their urls
16
16
  ```
17
17
  {
18
18
  "localhost": {
@@ -27,32 +27,23 @@ Install it yourself as:
27
27
  }
28
28
  ```
29
29
 
30
- ## Commands
31
- All commands should be run in the marketplace directory (ie. marketplace-nearme/)
30
+ ## Usage
31
+ `marketplace-kit <command> [flags]`
32
32
 
33
- ```
34
- marketplace-kit pull
35
- ```
36
- Pulls files from database and saves them in the filesystem
33
+ Example:
34
+ `marketplace-kit deploy -f -e staging`
37
35
 
38
- ```
39
- marketplace-kit deploy
40
- ```
41
- Updates database using the filesystem as a source
36
+ ## Available commands
37
+ All commands should be run in the marketplace directory (ie. `marketplace-nearme/`)
42
38
 
43
- ```
44
- marketplace-kit deploy -e staging
45
- ```
46
- Deploys to staging environment (-e option is available for all commands)
39
+ | Command | Description |
40
+ | ----------------- | ------------- |
41
+ | `pull` | Pulls files from database and saves them in the filesystem |
42
+ | `deploy` | Updates database using the filesystem as a source |
43
+ | `deploy -e staging` | Deploys to staging environment (-e option is available for all commands) |
44
+ | `deploy -f` | Updates database using the filesystem as a source with force mode enabled (override all files, don't skip not changed) |
45
+ | `sync` | Watches filesystem and updates the database on every change |
47
46
 
48
- ```
49
- marketplace-kit deploy -f
50
- ```
51
- Updates database using the filesystem as a source with force mode enabled (override all files, don't skip not changed)
52
- ```
53
- marketplace-kit sync
54
- ```
55
- Enables sync mode - saves changes made in the filesystem to the database
56
47
 
57
48
  ## Contributing
58
49
 
@@ -23,7 +23,7 @@ module MarketplaceKit
23
23
  when 'sync' then Commands::Sync
24
24
  when 'deploy' then Commands::Deploy
25
25
  when 'pull' then Commands::Pull
26
- else raise Errors::MarketplaceError.new('Usage: nearme-marketpalce sync | deploy | pull')
26
+ else raise Errors::MarketplaceError.new('Usage: marketplace-kit sync | deploy | pull')
27
27
  end
28
28
  end
29
29
 
@@ -1,3 +1,3 @@
1
1
  module MarketplaceKit
2
- VERSION = '0.1.2'.freeze
2
+ VERSION = '0.1.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: marketplace-kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michal Janeczek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-05 00:00:00.000000000 Z
11
+ date: 2017-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler