neetob-ud 0.2.5 → 0.2.8

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: 2a3c6448a80a53ce8e06226fbc0d46e5d6d1ce4c2c1bbeb1ed623dfc6df28729
4
- data.tar.gz: e988035293a31a398a4b2b550434b338e57d032e16e629cb0bdfbb27ae78ccab
3
+ metadata.gz: 0020c7f6333397788dbe174b95132ac4a7ce342e6e57b453d70518e80cc791bf
4
+ data.tar.gz: d4688a3c6893099ada5a02f95111b5741eb656dfaf8525cdeead49fbb9085b0d
5
5
  SHA512:
6
- metadata.gz: 3ae6005bd46ab456b8bfbab208c05bcec4004c34acf1f1134e67ae8b8c7375e832b8d14fdd32894e1a743d47154ff6be9ec49514c3df0cc0ca28a755f0d008db
7
- data.tar.gz: 9d659787c0bcfbffa06ebaed3543cadf7a73bd7ce81f5325d1c2b9b773b6dd6549362a1ce5c3f5384e26a9e091194b0d46692c572b77de36878e88378db73bf9
6
+ metadata.gz: dc48db23b80a35155da246295f34d39aa9fad624ddae87d2394f8d48508805ca7d71f93f47b2e648641b426015ae34cac876924f6b8616fcffaaab713b0bba65
7
+ data.tar.gz: e49573b433559b75148463c59171830c95b440056a70d7d01abaa949bd050ea6f1cda20103f89862d72cf5e3ec287d538852278c62f3b5bcca64e633dd421983
data/CHANGELOG.md CHANGED
@@ -1,5 +1,145 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ### [0.2.8](https://www.github.com/udai1931/neetob-temp-1/compare/v0.2.7...v0.2.8) (2023-05-23)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * Updated workflow ([#27](https://www.github.com/udai1931/neetob-temp-1/issues/27)) ([def467f](https://www.github.com/udai1931/neetob-temp-1/commit/def467f5789fc4c15a5efc15b09a5c1f3a6a23ac))
9
+
10
+ ### [0.2.7](https://www.github.com/udai1931/neetob-temp-1/compare/v0.2.6...v0.2.7) (2023-05-23)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * Added some logs for labels ([#24](https://www.github.com/udai1931/neetob-temp-1/issues/24)) ([5dfae9b](https://www.github.com/udai1931/neetob-temp-1/commit/5dfae9ba5bc3e78aedf3d85d6be6303c565c6362))
16
+
17
+ ### [0.2.6](https://www.github.com/udai1931/neetob-temp-1/compare/v0.2.5...v0.2.6) (2023-05-23)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * Added some logs for labels ([#22](https://www.github.com/udai1931/neetob-temp-1/issues/22)) ([6fcceb1](https://www.github.com/udai1931/neetob-temp-1/commit/6fcceb1ac3c4b92b8c971b896d53577f6a102419))
23
+
24
+ ### [0.2.5](https://www.github.com/udai1931/neetob-temp-1/compare/v0.2.4...v0.2.5) (2023-05-23)
25
+
26
+
27
+ ### Bug Fixes
28
+
29
+ * Updated workflow ([#20](https://www.github.com/udai1931/neetob-temp-1/issues/20)) ([ab3273a](https://www.github.com/udai1931/neetob-temp-1/commit/ab3273a28ece61cd170d5ef3d636b6d956a284be))
30
+
31
+ ### [0.2.4](https://www.github.com/udai1931/neetob-temp-1/compare/v0.2.3...v0.2.4) (2023-05-23)
32
+
33
+
34
+ ### Bug Fixes
35
+
36
+ * 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))
37
+
38
+ ### [0.2.3](https://www.github.com/udai1931/neetob-temp-1/compare/v0.2.2...v0.2.3) (2023-05-23)
39
+
40
+
41
+ ### Bug Fixes
42
+
43
+ * qwerty ([#16](https://www.github.com/udai1931/neetob-temp-1/issues/16)) ([ee81f5a](https://www.github.com/udai1931/neetob-temp-1/commit/ee81f5a885146881aa48bd606be83e9adfa60d12))
44
+
45
+ ### [0.2.2](https://www.github.com/udai1931/neetob-temp-1/compare/v0.2.1...v0.2.2) (2023-05-23)
46
+
47
+
48
+ ### Bug Fixes
49
+
50
+ * Updated commons ([#14](https://www.github.com/udai1931/neetob-temp-1/issues/14)) ([e297a59](https://www.github.com/udai1931/neetob-temp-1/commit/e297a595e614cee3c355e603bc81a30c659a8c26))
51
+
52
+ ### [0.2.1](https://www.github.com/udai1931/neetob-temp-1/compare/v0.2.0...v0.2.1) (2023-05-23)
53
+
54
+
55
+ ### Bug Fixes
56
+
57
+ * Updated commons ([#12](https://www.github.com/udai1931/neetob-temp-1/issues/12)) ([23ff81a](https://www.github.com/udai1931/neetob-temp-1/commit/23ff81a69f025cce59267274150cafadace8d135))
58
+
59
+ ## [0.2.0](https://www.github.com/udai1931/neetob-temp-1/compare/v0.1.3...v0.2.0) (2023-05-19)
60
+
61
+
62
+ ### Features
63
+
64
+ * 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))
65
+
66
+ ### [0.1.3](https://www.github.com/udai1931/neetob-temp-1/compare/v0.1.2...v0.1.3) (2023-05-19)
67
+
68
+
69
+ ### Bug Fixes
70
+
71
+ * 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))
72
+
73
+ ### [0.1.2](https://www.github.com/udai1931/neetob-temp-1/compare/v0.1.1...v0.1.2) (2023-05-19)
74
+
75
+
76
+ ### Bug Fixes
77
+
78
+ * 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))
79
+
80
+ ### [0.1.1](https://www.github.com/udai1931/neetob-temp-1/compare/v0.1.0...v0.1.1) (2023-05-19)
81
+
82
+
83
+ ### Bug Fixes
84
+
85
+ * 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))
86
+
87
+ ## 0.1.0 (2023-05-19)
88
+
89
+
90
+ ### Bug Fixes
91
+
92
+ * 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))
93
+
94
+ ## [0.3.0](https://www.github.com/udai1931/neetob-temp/compare/v0.1.9...v0.2.0) (2023-02-27)
95
+
96
+
97
+ ### Features
98
+
99
+ * Updated abcd 2 ([ccec591](https://www.github.com/udai1931/neetob-temp/commit/ccec591dbd2039152e358c2ed98fbcf5a20d002e))
100
+
101
+ ### [0.1.9](https://www.github.com/udai1931/neetob-temp/compare/v0.1.8...v0.1.9) (2023-02-27)
102
+
103
+
104
+ ### Bug Fixes
105
+
106
+ * Updated abcd ([774da9b](https://www.github.com/udai1931/neetob-temp/commit/774da9bc0cd82a87eb229abb192a10769001c8a1))
107
+
108
+ ### [0.1.8](https://www.github.com/udai1931/neetob-temp/compare/v0.1.7...v0.1.8) (2023-02-27)
109
+
110
+
111
+ ### Bug Fixes
112
+
113
+ * readme update ([cc91950](https://www.github.com/udai1931/neetob-temp/commit/cc9195068df383ae4f9274375a0199e279a6bc3e))
114
+
115
+ ### [0.1.7](https://www.github.com/udai1931/neetob-temp/compare/v0.1.6...v0.1.7) (2023-02-27)
116
+
117
+
118
+ ### Bug Fixes
119
+
120
+ * Updated readme 2 ([f07927d](https://www.github.com/udai1931/neetob-temp/commit/f07927df577d1ffbf73db6db2b0dd5b301d6d02a))
121
+
122
+ ### [0.1.6](https://www.github.com/udai1931/neetob-temp/compare/v0.1.5...v0.1.6) (2023-02-27)
123
+
124
+
125
+ ### Bug Fixes
126
+
127
+ * Updated readme ([e2e18e6](https://www.github.com/udai1931/neetob-temp/commit/e2e18e6bbe47559d1d1f68ef34a805df3b54ff6e))
128
+
129
+ ### [0.1.5](https://www.github.com/udai1931/neetob-temp/compare/v0.1.4...v0.1.5) (2023-02-17)
130
+
131
+
132
+ ### Bug Fixes
133
+
134
+ * Added abc command ([90a3988](https://www.github.com/udai1931/neetob-temp/commit/90a398893d4770e05a8a44fe42ef27affcf84e70))
135
+
136
+ ### [0.1.4](https://www.github.com/udai1931/neetob-temp/compare/v0.1.3...v0.1.4) (2023-02-17)
137
+
138
+
139
+ ### Bug Fixes
140
+
141
+ * 27 ([6854aba](https://www.github.com/udai1931/neetob-temp/commit/6854aba85e60e5b0b60ebf08b7f10a358b826d10))
142
+
3
143
  ### [0.1.3](https://www.github.com/udai1931/neetob-temp/compare/v0.1.2...v0.1.3) (2023-02-17)
4
144
 
5
145
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- neetob-ud (0.2.5)
4
+ neetob-ud (0.2.8)
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.13.10-x86_64-darwin)
137
+ nokogiri (1.14.3-x86_64-darwin)
138
138
  racc (~> 1.4)
139
- nokogiri (1.13.10-x86_64-linux)
139
+ nokogiri (1.14.3-x86_64-linux)
140
140
  racc (~> 1.4)
141
141
  octokit (4.25.1)
142
142
  faraday (>= 1, < 3)
data/README.md CHANGED
@@ -1,8 +1,7 @@
1
- # neetob
2
-
1
+ # neetob temp
3
2
  The `neetob` gem gives different commands for interacting with Github and Heroku instances of existing neeto projects.
4
3
 
5
- ## Table of Contents
4
+ ## Table of Contentsss
6
5
 
7
6
  1. [Getting Started](#getting-started)
8
7
  1. [Installation](#installation)
@@ -32,12 +31,18 @@ The `neetob` gem gives different commands for interacting with Github and Heroku
32
31
 
33
32
  Clone the repository onto your system using the following command:
34
33
 
34
+
35
+
35
36
  ```sh
36
37
  git clone https://github.com/bigbinary/neetob.git
37
38
  ```
38
39
 
40
+
41
+
39
42
  Navigate to the root of the application directory.
40
43
 
44
+
45
+
41
46
  ```sh
42
47
  cd neetob
43
48
  ```
@@ -48,6 +53,8 @@ To set up `neetob`, execute the below command from the root of the application d
48
53
  bin/setup
49
54
  ```
50
55
 
56
+
57
+
51
58
  ## Usage
52
59
 
53
60
  Utilize the `help` keyword to access a comprehensive list of all the available commands and options.
@@ -162,6 +169,8 @@ For example, assume we have a file named `branch-protection-rules.json` on the `
162
169
  }
163
170
  ```
164
171
 
172
+
173
+
165
174
  To update the above-mentioned branch protection rules for the `main` branch of all the neeto products, use the following command:
166
175
 
167
176
  ```sh
@@ -237,14 +246,17 @@ neetob heroku config_vars audit --path ~/Desktop/config.json --apps "neeto-*-pro
237
246
  # `data/config-vars-upsert.json` file present at the root of installed `neetob` gem.
238
247
  neetob heroku config_vars upsert --apps "neeto-*-staging"
239
248
 
249
+
240
250
  # The `remove` command is used to delete `config_vars`.
241
251
  neetob heroku config_vars remove --keys=TEST_KEY_1 TEST_KEY_2 --apps "neeto-*-staging"
242
252
  ```
243
253
 
244
254
  We can use a custom JSON file with `upsert` command using the `path` option.
245
255
 
256
+
246
257
  For example, assume we have a file named `config.json` on the Desktop, like so:
247
258
 
259
+
248
260
  ```json
249
261
  {
250
262
  "NEETO_WIDGET_API_KEY": "jh4c1SC5cS5BvRbcBk4LD",
@@ -364,6 +376,8 @@ neeto-desk-web
364
376
  neeto-kb-web
365
377
  ```
366
378
 
379
+
380
+
367
381
  ## Working with local Repos
368
382
 
369
383
  Using the `local` command, we can interact with the local neeto repos.
@@ -393,4 +407,6 @@ For testing `github` commands use - [neeto-dummy](https://github.com/bigbinary/n
393
407
 
394
408
  For testing `heroku` commands use - [neeto-dummy](https://dashboard.heroku.com/apps/neeto-dummy) app.
395
409
 
410
+
411
+
396
412
  **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 neeto repos"
35
+ desc "make_repos_uptodate", "Uptodate all the 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.5"
4
+ VERSION = "0.2.8"
5
5
  end
data/neetob.gemspec ADDED
@@ -0,0 +1,50 @@
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
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.5
4
+ version: 0.2.8
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-02-17 00:00:00.000000000 Z
11
+ date: 2023-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -155,6 +155,7 @@ files:
155
155
  - lib/neetob/exception_handler.rb
156
156
  - lib/neetob/utils.rb
157
157
  - lib/neetob/version.rb
158
+ - neetob.gemspec
158
159
  - overcommit.yml
159
160
  - scripts/delete_unused_assets.rb
160
161
  homepage: https://github.com/bigbinary/neetob