beautycode 1.2.0 → 1.2.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: 5a82b17b57a02dc7bb913d48aafdee4a1decf4a2fa782ff02b2bacf229e67824
4
- data.tar.gz: c76daef03f636dfff65f159767b2ee5e0ad7680f472c8e1165653cad7f77228b
3
+ metadata.gz: 87fa469731e718df282530a586ff9008697cb5c7b4a914a28c72135ca58742a5
4
+ data.tar.gz: 62cd4390e90abeaca7539e50e155f620be71f8f4887a59877cee60039d15b7b3
5
5
  SHA512:
6
- metadata.gz: b9ef4cafd55bd401097799e89536315fa4bfa591f3ec3348c9e29f4ad29a3010641ef89a44e1b9452d0d4e8876fad0fdd54b45eab10a586e0358d49b580de0fd
7
- data.tar.gz: f0b7614f1b2799d5cdea08108e4dfed21968f3f193ab5a83265a2aeb396aa9c0e4444603b8b371acce84b383cdd91055eac33be7d8f3890af88cd31654afc7a4
6
+ metadata.gz: 8297a47ab7756ad45dd4e2d92cff9840717bf350eaeec7210eb159ec044d8f2266c423efa84ca83ceb52c7605f4855c3107286a1a97913542f07d4dc3de1e4aa
7
+ data.tar.gz: 7817d210d533587e3f81e5344e1c35f5cf7a5e2701174d715788448fdb5b6f5aadf289f986915df053e930dedad1980df449908990d102647089c897415673ce
data/.gitignore CHANGED
@@ -6,3 +6,4 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
+ /.github
data/Gemfile CHANGED
@@ -5,7 +5,6 @@ source "https://rubygems.org"
5
5
  # Specify your gem's dependencies in beautycode.gemspec
6
6
  gemspec
7
7
 
8
- # hiiii
9
- gem 'rake', "~> 13.0"
8
+ gem "rake", "~> 13.0"
10
9
 
11
10
  gem "minitest", "~> 5.0"
Binary file
Binary file
data/beautycode.gemspec CHANGED
@@ -1,23 +1,23 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # require_relative "lib/beautycode/version"
3
+ require_relative "lib/beautycode/version"
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "beautycode"
7
- spec.version = "1.2.0"
7
+ spec.version = Beautycode::VERSION
8
8
  spec.authors = ["lanhnth-1450"]
9
9
  spec.email = ["nguyen.thi.huyen.lanh@sun-asterisk.com"]
10
10
 
11
11
  spec.summary = "write beautycode"
12
12
  spec.description = "auto beautycode with 1 command line"
13
- spec.homepage = "https://github.com/lanhnth-1450"
13
+ spec.homepage = "https://github.com/lanhnth-1450/beautycode/"
14
14
  spec.license = "MIT"
15
15
  spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
16
16
 
17
17
  spec.metadata["allowed_push_host"] = "https://rubygems.org/"
18
18
 
19
19
  spec.metadata["homepage_uri"] = spec.homepage
20
- spec.metadata["source_code_uri"] = "https://github.com/lanhnth-1450"
20
+ spec.metadata["source_code_uri"] = "https://github.com/lanhnth-1450/beautycode/"
21
21
  spec.metadata["changelog_uri"] = "https://rubygems.org/"
22
22
 
23
23
  # Specify which files should be added to the gem when it is released.
data/bin/beautycode CHANGED
@@ -1,5 +1,3 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require "beautycode"
4
-
5
- Beautycode.process
data/exe/beautycode CHANGED
@@ -1,3 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require "beautycode"
4
+
5
+ Beautycode.process
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # module BeautyCode
4
- # VERSION = "1.1.0"
5
- # end
3
+ module Beautycode
4
+ VERSION = "1.2.1"
5
+ end
data/lib/beautycode.rb CHANGED
@@ -1,10 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative "beautycode/version"
4
-
5
- # module Beautycode
6
- # class Error < StandardError; end
7
-
8
3
  class Beautycode
9
4
  def self.process
10
5
  current_project = `pwd`
@@ -23,4 +18,3 @@ class Beautycode
23
18
  system "echo", "-e", "\e[91mMake sure you're in the right place!"
24
19
  end
25
20
  end
26
- # end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beautycode
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - lanhnth-1450
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-08-20 00:00:00.000000000 Z
11
+ date: 2021-08-25 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: auto beautycode with 1 command line
14
14
  email:
@@ -18,7 +18,6 @@ executables:
18
18
  extensions: []
19
19
  extra_rdoc_files: []
20
20
  files:
21
- - ".github/workflows/main.yml"
22
21
  - ".gitignore"
23
22
  - CODE_OF_CONDUCT.md
24
23
  - Gemfile
@@ -26,6 +25,8 @@ files:
26
25
  - README.md
27
26
  - Rakefile
28
27
  - beautycode-0.1.0.gem
28
+ - beautycode-1.1.0.gem
29
+ - beautycode-1.2.0.gem
29
30
  - beautycode.gemspec
30
31
  - bin/beautycode
31
32
  - bin/console
@@ -33,13 +34,13 @@ files:
33
34
  - exe/beautycode
34
35
  - lib/beautycode.rb
35
36
  - lib/beautycode/version.rb
36
- homepage: https://github.com/lanhnth-1450
37
+ homepage: https://github.com/lanhnth-1450/beautycode/
37
38
  licenses:
38
39
  - MIT
39
40
  metadata:
40
41
  allowed_push_host: https://rubygems.org/
41
- homepage_uri: https://github.com/lanhnth-1450
42
- source_code_uri: https://github.com/lanhnth-1450
42
+ homepage_uri: https://github.com/lanhnth-1450/beautycode/
43
+ source_code_uri: https://github.com/lanhnth-1450/beautycode/
43
44
  changelog_uri: https://rubygems.org/
44
45
  post_install_message:
45
46
  rdoc_options: []
@@ -1,18 +0,0 @@
1
- name: Ruby
2
-
3
- on: [push,pull_request]
4
-
5
- jobs:
6
- build:
7
- runs-on: ubuntu-latest
8
- steps:
9
- - uses: actions/checkout@v2
10
- - name: Set up Ruby
11
- uses: ruby/setup-ruby@v1
12
- with:
13
- ruby-version: 2.7.1
14
- - name: Run the default task
15
- run: |
16
- gem install bundler -v 2.2.15
17
- bundle install
18
- bundle exec rake