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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e28aa04a4c3baafe90635e79f3473d6b61fde6d33fbece9fd1dc60dc3bd794c
4
- data.tar.gz: 2e82cde2a2626dfe9f561ee27d49e2b5689247f24fd66ff803d97667817f7df9
3
+ metadata.gz: 738324d07987f16aac1b39b52b119064ae4099c0411c7a55449f1b83bf20caf3
4
+ data.tar.gz: 31213148b6a46a914a2a99e8a348b43ee44bbabfd41110cc23c3a0dccbad2043
5
5
  SHA512:
6
- metadata.gz: fdf78e9cea45a5bb98ff778bc7ef588f1d72bca3a7219f9a007521bcd65c3b140da04b6a8e82517c87181fe014a89f36320145c747b83021dc29c114d14f9b7a
7
- data.tar.gz: e5f7d696c90896b3d05c3fc4a12b86f55b591f5820bce57fed90805143459faeab222220595216fe2c4f2e4a30d8d74251e7dd97a95c0e98d31d0577571fe214
6
+ metadata.gz: fbe71091da435d5c1101b551df587040ec0473a376520197e9408d6065b2bbff93b62f1de09e805254a69beed37fc2bcd74e66cc318a8f10e56e04f7127d2439
7
+ data.tar.gz: fd2568fd8b205c9d32fb4391820b0a23dae6ee9188ebbf0617aad41ba486a64690ef7e0ebbce69b996b02f2ff2c62de222499391deb5ae32fda09529d8f73950
data/Gemfile CHANGED
@@ -9,5 +9,5 @@ gem "thor", "~> 1.0"
9
9
  group :development, :test do
10
10
  gem "minitest", "~> 5.0"
11
11
  gem 'pry', '~> 0.10.3'
12
- gem 'rubocop', '~> 0.39.0'
12
+ gem 'rubocop', '~> 0.48.1'
13
13
  end
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- getapp (0.1.0)
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.39.0)
24
- parser (>= 2.3.0.7, < 3.0)
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.39.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
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/getapp`. To experiment with that code, run `bin/console` for an interactive prompt.
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
- TODO: Write usage instructions here
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
 
@@ -0,0 +1 @@
1
+ theme: jekyll-theme-merlot
@@ -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 = 'We update our inventory of SaaS products from several sources. Each source provides its content to us in a different format.'
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 = %w(getapp_import)
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
- unless File.exist?(path)
53
- puts "Capterra: File does not exist." if verbose
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
@@ -1,3 +1,3 @@
1
1
  module Getapp
2
- VERSION = "0.1.0".freeze
2
+ VERSION = "0.1.1".freeze
3
3
  end
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.0
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: We update our inventory of SaaS products from several sources. Each source
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