getapp 0.1.0 → 0.1.1
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/Gemfile +1 -1
- data/Gemfile.lock +4 -4
- data/README.md +10 -4
- data/_config.yml +1 -0
- data/getapp.gemspec +2 -4
- data/lib/getapp/import/capterra.rb +2 -4
- data/lib/getapp/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 738324d07987f16aac1b39b52b119064ae4099c0411c7a55449f1b83bf20caf3
|
4
|
+
data.tar.gz: 31213148b6a46a914a2a99e8a348b43ee44bbabfd41110cc23c3a0dccbad2043
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbe71091da435d5c1101b551df587040ec0473a376520197e9408d6065b2bbff93b62f1de09e805254a69beed37fc2bcd74e66cc318a8f10e56e04f7127d2439
|
7
|
+
data.tar.gz: fd2568fd8b205c9d32fb4391820b0a23dae6ee9188ebbf0617aad41ba486a64690ef7e0ebbce69b996b02f2ff2c62de222499391deb5ae32fda09529d8f73950
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
getapp (0.1.
|
4
|
+
getapp (0.1.1)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
@@ -20,8 +20,8 @@ GEM
|
|
20
20
|
rainbow (2.2.2)
|
21
21
|
rake
|
22
22
|
rake (12.3.3)
|
23
|
-
rubocop (0.
|
24
|
-
parser (>= 2.3.
|
23
|
+
rubocop (0.48.1)
|
24
|
+
parser (>= 2.3.3.1, < 3.0)
|
25
25
|
powerpack (~> 0.1)
|
26
26
|
rainbow (>= 1.99.1, < 3.0)
|
27
27
|
ruby-progressbar (~> 1.7)
|
@@ -39,7 +39,7 @@ DEPENDENCIES
|
|
39
39
|
minitest (~> 5.0)
|
40
40
|
pry (~> 0.10.3)
|
41
41
|
rake (~> 12.0)
|
42
|
-
rubocop (~> 0.
|
42
|
+
rubocop (~> 0.48.1)
|
43
43
|
thor (~> 1.0)
|
44
44
|
|
45
45
|
BUNDLED WITH
|
data/README.md
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
# Getapp
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
3
|
+
Update product inventory of SaaS products from several sources. Each source provides its content to us in a different format. Below is the command line script used to import the products from different sources.
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
@@ -22,7 +20,15 @@ Or install it yourself as:
|
|
22
20
|
|
23
21
|
## Usage
|
24
22
|
|
25
|
-
|
23
|
+
getapp_import capterra feed-products/capterra.yaml
|
24
|
+
|
25
|
+
importing: Name: "GitHub"; Categories: Bugs & Issue Tracking, Development Tools; Twitter: @github
|
26
|
+
importing: Name: "Slack"; Categories: Instant Messaging & Chat, Web Collaboration, Productivity; Twitter: @slackhq
|
27
|
+
...
|
28
|
+
|
29
|
+
getapp_import softwareadvice feed-products/softwareadvice.json
|
30
|
+
|
31
|
+
Currently, supported products imports from capterra and softwareadvice.
|
26
32
|
|
27
33
|
## Development
|
28
34
|
|
data/_config.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
theme: jekyll-theme-merlot
|
data/getapp.gemspec
CHANGED
@@ -7,13 +7,11 @@ Gem::Specification.new do |spec|
|
|
7
7
|
spec.email = ["er.princebansal@gmail.com"]
|
8
8
|
|
9
9
|
spec.summary = 'SaaS Products Import'
|
10
|
-
spec.description = '
|
10
|
+
spec.description = 'Update product inventory of SaaS products from several sources. Each source provides its content to us in a different format.'
|
11
11
|
spec.homepage = "https://github.com/erprincebansal/getapp"
|
12
12
|
spec.license = "MIT"
|
13
13
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
|
14
14
|
|
15
|
-
# spec.metadata["allowed_push_host"] = "http://mygemserver.com"
|
16
|
-
|
17
15
|
spec.metadata["homepage_uri"] = spec.homepage
|
18
16
|
spec.metadata["source_code_uri"] = "https://github.com/erprincebansal/getapp"
|
19
17
|
spec.metadata["changelog_uri"] = "https://github.com/erprincebansal/getapp/CHANGELOG.md"
|
@@ -24,6 +22,6 @@ Gem::Specification.new do |spec|
|
|
24
22
|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
25
23
|
end
|
26
24
|
spec.bindir = "bin"
|
27
|
-
spec.executables =
|
25
|
+
spec.executables = ["getapp_import"]
|
28
26
|
spec.require_paths = ["lib"]
|
29
27
|
end
|
@@ -49,10 +49,8 @@ module Getapp
|
|
49
49
|
#
|
50
50
|
def check_file_exist?
|
51
51
|
puts "Capterra: Checking file exist" if verbose
|
52
|
-
|
53
|
-
|
54
|
-
raise Getapp::Capterra::FileNotFound, "Capterra: File does not exist."
|
55
|
-
end
|
52
|
+
puts "Capterra: File does not exist." if verbose
|
53
|
+
raise Getapp::Capterra::FileNotFound, "Capterra: File does not exist." unless File.exist?(path)
|
56
54
|
end
|
57
55
|
|
58
56
|
# == Getapp::Import::Capterra parse_products Private Method
|
data/lib/getapp/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: getapp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Prince Bansal
|
@@ -10,8 +10,8 @@ bindir: bin
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2020-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description:
|
14
|
-
provides its content to us in a different format.
|
13
|
+
description: Update product inventory of SaaS products from several sources. Each
|
14
|
+
source provides its content to us in a different format.
|
15
15
|
email:
|
16
16
|
- er.princebansal@gmail.com
|
17
17
|
executables:
|
@@ -28,6 +28,7 @@ files:
|
|
28
28
|
- LICENSE.txt
|
29
29
|
- README.md
|
30
30
|
- Rakefile
|
31
|
+
- _config.yml
|
31
32
|
- bin/console
|
32
33
|
- bin/getapp_import
|
33
34
|
- bin/setup
|