neetob-ud 0.2.4 → 0.2.5

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: b554f649f4b9e7ab46dccfd89fc4b248a9a1333c641bedb2f5b3751f20119506
4
- data.tar.gz: f7dbead56fc705f5e8bb2e7951ffabd08566afababa6684c828e46c5040f0b71
3
+ metadata.gz: 2a3c6448a80a53ce8e06226fbc0d46e5d6d1ce4c2c1bbeb1ed623dfc6df28729
4
+ data.tar.gz: e988035293a31a398a4b2b550434b338e57d032e16e629cb0bdfbb27ae78ccab
5
5
  SHA512:
6
- metadata.gz: c088c5f2843c71a09e74f130df426a897705f9c17491d0fd4cbc5f3744573e2a53b73687e42086907c30cf795eebf253616914e415c74431a60bcb920942a0d9
7
- data.tar.gz: ea0da92fb7a872ef7169c069ccbac20fa15b4257727981f7ef495cedf8063244e52ac0c6dfcce8ae2fb9f410ad4ee5133bf04ae8b867d5a18405406554408230
6
+ metadata.gz: 3ae6005bd46ab456b8bfbab208c05bcec4004c34acf1f1134e67ae8b8c7375e832b8d14fdd32894e1a743d47154ff6be9ec49514c3df0cc0ca28a755f0d008db
7
+ data.tar.gz: 9d659787c0bcfbffa06ebaed3543cadf7a73bd7ce81f5325d1c2b9b773b6dd6549362a1ce5c3f5384e26a9e091194b0d46692c572b77de36878e88378db73bf9
data/CHANGELOG.md CHANGED
@@ -1,117 +1,5 @@
1
1
  ## [Unreleased]
2
2
 
3
- ### [0.2.4](https://www.github.com/udai1931/neetob-temp-1/compare/v0.2.3...v0.2.4) (2023-05-23)
4
-
5
-
6
- ### Bug Fixes
7
-
8
- * Printed conv commits ([#18](https://www.github.com/udai1931/neetob-temp-1/issues/18)) ([419c748](https://www.github.com/udai1931/neetob-temp-1/commit/419c748384026e0730fb3a9b590694dccf39e0d5))
9
-
10
- ### [0.2.3](https://www.github.com/udai1931/neetob-temp-1/compare/v0.2.2...v0.2.3) (2023-05-23)
11
-
12
-
13
- ### Bug Fixes
14
-
15
- * qwerty ([#16](https://www.github.com/udai1931/neetob-temp-1/issues/16)) ([ee81f5a](https://www.github.com/udai1931/neetob-temp-1/commit/ee81f5a885146881aa48bd606be83e9adfa60d12))
16
-
17
- ### [0.2.2](https://www.github.com/udai1931/neetob-temp-1/compare/v0.2.1...v0.2.2) (2023-05-23)
18
-
19
-
20
- ### Bug Fixes
21
-
22
- * Updated commons ([#14](https://www.github.com/udai1931/neetob-temp-1/issues/14)) ([e297a59](https://www.github.com/udai1931/neetob-temp-1/commit/e297a595e614cee3c355e603bc81a30c659a8c26))
23
-
24
- ### [0.2.1](https://www.github.com/udai1931/neetob-temp-1/compare/v0.2.0...v0.2.1) (2023-05-23)
25
-
26
-
27
- ### Bug Fixes
28
-
29
- * Updated commons ([#12](https://www.github.com/udai1931/neetob-temp-1/issues/12)) ([23ff81a](https://www.github.com/udai1931/neetob-temp-1/commit/23ff81a69f025cce59267274150cafadace8d135))
30
-
31
- ## [0.2.0](https://www.github.com/udai1931/neetob-temp-1/compare/v0.1.3...v0.2.0) (2023-05-19)
32
-
33
-
34
- ### Features
35
-
36
- * Added some consoles ([#9](https://www.github.com/udai1931/neetob-temp-1/issues/9)) ([6d68117](https://www.github.com/udai1931/neetob-temp-1/commit/6d68117a1a77ce25416a971220a7a77a38d75b81))
37
-
38
- ### [0.1.3](https://www.github.com/udai1931/neetob-temp-1/compare/v0.1.2...v0.1.3) (2023-05-19)
39
-
40
-
41
- ### Bug Fixes
42
-
43
- * Added some consoles ([#7](https://www.github.com/udai1931/neetob-temp-1/issues/7)) ([f1ef295](https://www.github.com/udai1931/neetob-temp-1/commit/f1ef295cb78ebefc137b5ac55a46b62f92433884))
44
-
45
- ### [0.1.2](https://www.github.com/udai1931/neetob-temp-1/compare/v0.1.1...v0.1.2) (2023-05-19)
46
-
47
-
48
- ### Bug Fixes
49
-
50
- * Added some consoles ([#5](https://www.github.com/udai1931/neetob-temp-1/issues/5)) ([4caaf68](https://www.github.com/udai1931/neetob-temp-1/commit/4caaf68a48d51a368011c1f2e0e150fe2ce0309e))
51
-
52
- ### [0.1.1](https://www.github.com/udai1931/neetob-temp-1/compare/v0.1.0...v0.1.1) (2023-05-19)
53
-
54
-
55
- ### Bug Fixes
56
-
57
- * Added some consoles ([#3](https://www.github.com/udai1931/neetob-temp-1/issues/3)) ([56ddeb0](https://www.github.com/udai1931/neetob-temp-1/commit/56ddeb0942ce077c1cbf01fa1e7feafe7a82978e))
58
-
59
- ## 0.1.0 (2023-05-19)
60
-
61
-
62
- ### Bug Fixes
63
-
64
- * Added some consoles ([#1](https://www.github.com/udai1931/neetob-temp-1/issues/1)) ([3746b48](https://www.github.com/udai1931/neetob-temp-1/commit/3746b48814248ebff3e011afc38a171d24b24353))
65
-
66
- ## [0.3.0](https://www.github.com/udai1931/neetob-temp/compare/v0.1.9...v0.2.0) (2023-02-27)
67
-
68
-
69
- ### Features
70
-
71
- * Updated abcd 2 ([ccec591](https://www.github.com/udai1931/neetob-temp/commit/ccec591dbd2039152e358c2ed98fbcf5a20d002e))
72
-
73
- ### [0.1.9](https://www.github.com/udai1931/neetob-temp/compare/v0.1.8...v0.1.9) (2023-02-27)
74
-
75
-
76
- ### Bug Fixes
77
-
78
- * Updated abcd ([774da9b](https://www.github.com/udai1931/neetob-temp/commit/774da9bc0cd82a87eb229abb192a10769001c8a1))
79
-
80
- ### [0.1.8](https://www.github.com/udai1931/neetob-temp/compare/v0.1.7...v0.1.8) (2023-02-27)
81
-
82
-
83
- ### Bug Fixes
84
-
85
- * readme update ([cc91950](https://www.github.com/udai1931/neetob-temp/commit/cc9195068df383ae4f9274375a0199e279a6bc3e))
86
-
87
- ### [0.1.7](https://www.github.com/udai1931/neetob-temp/compare/v0.1.6...v0.1.7) (2023-02-27)
88
-
89
-
90
- ### Bug Fixes
91
-
92
- * Updated readme 2 ([f07927d](https://www.github.com/udai1931/neetob-temp/commit/f07927df577d1ffbf73db6db2b0dd5b301d6d02a))
93
-
94
- ### [0.1.6](https://www.github.com/udai1931/neetob-temp/compare/v0.1.5...v0.1.6) (2023-02-27)
95
-
96
-
97
- ### Bug Fixes
98
-
99
- * Updated readme ([e2e18e6](https://www.github.com/udai1931/neetob-temp/commit/e2e18e6bbe47559d1d1f68ef34a805df3b54ff6e))
100
-
101
- ### [0.1.5](https://www.github.com/udai1931/neetob-temp/compare/v0.1.4...v0.1.5) (2023-02-17)
102
-
103
-
104
- ### Bug Fixes
105
-
106
- * Added abc command ([90a3988](https://www.github.com/udai1931/neetob-temp/commit/90a398893d4770e05a8a44fe42ef27affcf84e70))
107
-
108
- ### [0.1.4](https://www.github.com/udai1931/neetob-temp/compare/v0.1.3...v0.1.4) (2023-02-17)
109
-
110
-
111
- ### Bug Fixes
112
-
113
- * 27 ([6854aba](https://www.github.com/udai1931/neetob-temp/commit/6854aba85e60e5b0b60ebf08b7f10a358b826d10))
114
-
115
3
  ### [0.1.3](https://www.github.com/udai1931/neetob-temp/compare/v0.1.2...v0.1.3) (2023-02-17)
116
4
 
117
5
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- neetob-ud (0.2.4)
4
+ neetob-ud (0.2.5)
5
5
  dotenv (~> 2.8.1)
6
6
  launchy (~> 2.5.0)
7
7
  octokit (~> 4.0)
@@ -134,9 +134,9 @@ GEM
134
134
  net-smtp (0.3.3)
135
135
  net-protocol
136
136
  nio4r (2.5.8)
137
- nokogiri (1.14.3-x86_64-darwin)
137
+ nokogiri (1.13.10-x86_64-darwin)
138
138
  racc (~> 1.4)
139
- nokogiri (1.14.3-x86_64-linux)
139
+ nokogiri (1.13.10-x86_64-linux)
140
140
  racc (~> 1.4)
141
141
  octokit (4.25.1)
142
142
  faraday (>= 1, < 3)
data/README.md CHANGED
@@ -1,7 +1,8 @@
1
- # neetob temp
1
+ # neetob
2
+
2
3
  The `neetob` gem gives different commands for interacting with Github and Heroku instances of existing neeto projects.
3
4
 
4
- ## Table of Contentsss
5
+ ## Table of Contents
5
6
 
6
7
  1. [Getting Started](#getting-started)
7
8
  1. [Installation](#installation)
@@ -31,18 +32,12 @@ The `neetob` gem gives different commands for interacting with Github and Heroku
31
32
 
32
33
  Clone the repository onto your system using the following command:
33
34
 
34
-
35
-
36
35
  ```sh
37
36
  git clone https://github.com/bigbinary/neetob.git
38
37
  ```
39
38
 
40
-
41
-
42
39
  Navigate to the root of the application directory.
43
40
 
44
-
45
-
46
41
  ```sh
47
42
  cd neetob
48
43
  ```
@@ -53,8 +48,6 @@ To set up `neetob`, execute the below command from the root of the application d
53
48
  bin/setup
54
49
  ```
55
50
 
56
-
57
-
58
51
  ## Usage
59
52
 
60
53
  Utilize the `help` keyword to access a comprehensive list of all the available commands and options.
@@ -169,8 +162,6 @@ For example, assume we have a file named `branch-protection-rules.json` on the `
169
162
  }
170
163
  ```
171
164
 
172
-
173
-
174
165
  To update the above-mentioned branch protection rules for the `main` branch of all the neeto products, use the following command:
175
166
 
176
167
  ```sh
@@ -246,17 +237,14 @@ neetob heroku config_vars audit --path ~/Desktop/config.json --apps "neeto-*-pro
246
237
  # `data/config-vars-upsert.json` file present at the root of installed `neetob` gem.
247
238
  neetob heroku config_vars upsert --apps "neeto-*-staging"
248
239
 
249
-
250
240
  # The `remove` command is used to delete `config_vars`.
251
241
  neetob heroku config_vars remove --keys=TEST_KEY_1 TEST_KEY_2 --apps "neeto-*-staging"
252
242
  ```
253
243
 
254
244
  We can use a custom JSON file with `upsert` command using the `path` option.
255
245
 
256
-
257
246
  For example, assume we have a file named `config.json` on the Desktop, like so:
258
247
 
259
-
260
248
  ```json
261
249
  {
262
250
  "NEETO_WIDGET_API_KEY": "jh4c1SC5cS5BvRbcBk4LD",
@@ -376,8 +364,6 @@ neeto-desk-web
376
364
  neeto-kb-web
377
365
  ```
378
366
 
379
-
380
-
381
367
  ## Working with local Repos
382
368
 
383
369
  Using the `local` command, we can interact with the local neeto repos.
@@ -407,6 +393,4 @@ For testing `github` commands use - [neeto-dummy](https://github.com/bigbinary/n
407
393
 
408
394
  For testing `heroku` commands use - [neeto-dummy](https://dashboard.heroku.com/apps/neeto-dummy) app.
409
395
 
410
-
411
-
412
396
  **Note:** Contact your respective Team Lead if you don't have access.
data/lib/neetob/cli.rb CHANGED
@@ -32,7 +32,7 @@ module Neetob
32
32
  desc "local", "Interact with the local neeto repos"
33
33
  subcommand "local", Local::Commands
34
34
 
35
- desc "make_repos_uptodate", "Uptodate all the neeto repos"
35
+ desc "make_repos_uptodate", "Uptodate all neeto repos"
36
36
  option :all_neeto_repos, type: :boolean, aliases: "--all", desc: "Use this flag for working with all neeto repos",
37
37
  default: false
38
38
  def make_repos_uptodate
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Neetob
4
- VERSION = "0.2.4"
4
+ VERSION = "0.2.5"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neetob-ud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Udai Gupta
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-05-23 00:00:00.000000000 Z
11
+ date: 2023-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -155,7 +155,6 @@ files:
155
155
  - lib/neetob/exception_handler.rb
156
156
  - lib/neetob/utils.rb
157
157
  - lib/neetob/version.rb
158
- - neetob.gemspec
159
158
  - overcommit.yml
160
159
  - scripts/delete_unused_assets.rb
161
160
  homepage: https://github.com/bigbinary/neetob
data/neetob.gemspec DELETED
@@ -1,50 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative "lib/neetob/version"
4
-
5
- Gem::Specification.new do |spec|
6
- spec.name = "neetob-ud"
7
- spec.version = Neetob::VERSION
8
- spec.authors = ["Udai Gupta"]
9
- spec.email = ["udaigupta19311@gmail.com"]
10
-
11
- spec.summary = "Provides a set of helper scripts for Github and Heroku."
12
- spec.description = "This gem gives different commands for interacting with Github and Heroku instances of existing neeto repos."
13
- spec.homepage = "https://github.com/bigbinary/neetob"
14
- spec.license = "MIT"
15
- spec.required_ruby_version = ">= 3.0.0"
16
-
17
- spec.metadata["homepage_uri"] = spec.homepage
18
- spec.metadata["source_code_uri"] = "https://github.com/bigbinary/neetob"
19
- spec.metadata["changelog_uri"] = "https://github.com/bigbinary/neetob/blob/main/CHANGELOG.md"
20
-
21
- # Specify which files should be added to the gem when it is released.
22
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
23
- spec.files = Dir.chdir(__dir__) do
24
- `git ls-files -z`.split("\x0").reject do |f|
25
- (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
26
- end
27
- end
28
- spec.bindir = "exe"
29
- spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
30
- spec.require_paths = ["lib"]
31
-
32
- # Must have deps
33
- spec.add_dependency "thor", "~> 1.2.1" # for cli
34
- spec.add_dependency "octokit", "~> 4.0" # for github client
35
- spec.add_dependency "terminal-table", "~> 3.0.2" # for building cli table
36
- spec.add_dependency "launchy", "~> 2.5.0" # for opening in browser
37
- spec.add_dependency "dotenv", "~> 2.8.1" # for loading env variables
38
-
39
- # To add the files from submodules
40
- `git submodule --quiet foreach pwd`.split($\).each do |submodule_path|
41
- Dir.chdir(submodule_path) do
42
- required_submodule_files = `git ls-files -z`
43
- .split("\x0")
44
- .select { |file| file.match("lib/neeto_compliance*|data/*") }
45
- .map { |file| "#{submodule_path}/#{file}" }
46
- .map { |file| file.gsub "#{File.dirname(__FILE__)}/", "" }
47
- spec.files += required_submodule_files
48
- end
49
- end
50
- end