rails-interactive 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: 4a3eefcd62749530970bcfff3078ba4b9e4010b0c208257300c46769c1a04a4b
4
- data.tar.gz: 960fca5ebaa337545cb4dbdb87d3b7b412c8fabe61a62c63678dff008e17e72d
3
+ metadata.gz: 50088150a63a91cf9047bca00afd9c07c6457be67f78f8a8b505756aa7beef7e
4
+ data.tar.gz: b39b595b7255aee9668aea8e1b9596bd871039f7aa87da18d83db5aed435ad95
5
5
  SHA512:
6
- metadata.gz: 8dbac906ae3e1caffd7a94d4fc4719a1e6d9a82b829bfc2225f5cfb8a318e81d17624fc83f86332715136f2318d5a37064f5639701a80b4e7800d4535115be8c
7
- data.tar.gz: 9c45447661d104ac5432f2b3fe6dc0de3765b12cc65df199c957460917bf029e00481b94404b8b4e78a7f6a12395c424d5b9c75f0b435b8d08780ad0be7ed9ff
6
+ metadata.gz: 627e7dbeaf32ea190062944dac3079090d70bd9d91dfc7974472e22551026ebffc38c7db1d51df34e0188a772c6b1e7ad2a3968b5f42291f588e57ba886cab10
7
+ data.tar.gz: 531b13de9240ec1a84416a6d56fbf32e47cd8fd80a4c1d3bc8398289c1febdeb046e07b4df6167d129324fbf9c5fcc57346adf530d55b6ab178b43682449abea
data/.gitignore CHANGED
@@ -7,6 +7,12 @@
7
7
  /spec/reports/
8
8
  /tmp/
9
9
  .DS_Store
10
-
10
+ /Gemfile.lock
11
+ *.bundle
12
+ *.so
13
+ *.o
14
+ *.a
15
+ mkmf.log
16
+ *.gem
11
17
  # rspec failure tracking
12
18
  .rspec_status
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rails-interactive (0.1.0)
4
+ rails-interactive (0.1.1)
5
5
  tty-prompt
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -1,28 +1,19 @@
1
- # Rails::Interactive
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/rails/interactive`. To experiment with that code, run `bin/console` for an interactive prompt.
1
+ ![render1647134864886](https://user-images.githubusercontent.com/15168877/158041125-2ba863cf-ab17-4c8e-a603-7ccb0494938b.gif)
4
2
 
5
- TODO: Delete this and the text above, and describe your gem
3
+ # Rails::Interactive
4
+ [![Gem Version](https://badge.fury.io/rb/rails-interactive.svg)](https://badge.fury.io/rb/rails-interactive)
6
5
 
7
6
  ## Installation
8
7
 
9
- Add this line to your application's Gemfile:
10
-
11
- ```ruby
12
- gem 'rails-interactive'
8
+ ```bash
9
+ $ gem install rails-interactive
13
10
  ```
14
11
 
15
- And then execute:
16
-
17
- $ bundle install
18
-
19
- Or install it yourself as:
20
-
21
- $ gem install rails-interactive
22
-
23
12
  ## Usage
24
13
 
25
- TODO: Write usage instructions here
14
+ ```bash
15
+ $ interactive new
16
+ ```
26
17
 
27
18
  ## Development
28
19
 
@@ -32,7 +23,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
32
23
 
33
24
  ## Contributing
34
25
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/rails-interactive. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/rails-interactive/blob/master/CODE_OF_CONDUCT.md).
26
+ Bug reports and pull requests are welcome on GitHub at https://github.com/oguzsh/rails-interactive. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/oguzsh/rails-interactive/blob/master/CODE_OF_CONDUCT.md).
36
27
 
37
28
  ## License
38
29
 
@@ -40,4 +31,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
40
31
 
41
32
  ## Code of Conduct
42
33
 
43
- Everyone interacting in the Rails::Interactive project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/rails-interactive/blob/master/CODE_OF_CONDUCT.md).
34
+ Everyone interacting in the Rails::Interactive project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/oguzsh/rails-interactive/blob/master/CODE_OF_CONDUCT.md).
@@ -7,7 +7,7 @@ module Interactive
7
7
  class Message
8
8
  def self.greet
9
9
  render_ascii
10
- puts "Welcome to Rails Interactive CLI - #{Interactive::VERSION}".colorize(:yellow)
10
+ puts "Welcome to Rails Interactive CLI".colorize(:yellow)
11
11
  end
12
12
 
13
13
  def self.help
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Interactive
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
@@ -17,21 +17,23 @@ Gem::Specification.new do |spec|
17
17
  spec.metadata["source_code_uri"] = "https://github.com/oguzsh/rails-interactive"
18
18
  spec.metadata["changelog_uri"] = "https://github.com/oguzsh/rails-interactive/blob/main/CHANGELOG.md"
19
19
 
20
+ # Specify which files should be added to the gem when it is released.
21
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
20
22
  spec.files = Dir.chdir(File.expand_path(__dir__)) do
21
23
  `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
22
24
  end
23
- spec.executables << "interactive"
25
+ spec.executables = spec.files.grep(%r{\Abin/}) { |f| File.basename(f) }
24
26
  spec.require_paths = ["lib"]
25
27
 
26
28
  # Uncomment to register a new dependency of your gem
27
- spec.add_development_dependency "bundler", "~> 2.3.9"
29
+ spec.add_development_dependency "bundler"
28
30
  spec.add_development_dependency "byebug", "~> 11.1.2"
29
- spec.add_development_dependency "colorize", "~> 0.8.1"
30
- spec.add_development_dependency "rake", "~> 13.0"
31
- spec.add_development_dependency "rspec", "~> 3.0"
32
- spec.add_development_dependency "rubocop", "~> 1.7"
31
+ spec.add_development_dependency "colorize"
32
+ spec.add_development_dependency "rake"
33
+ spec.add_development_dependency "rspec"
34
+ spec.add_development_dependency "rubocop"
33
35
 
34
- spec.add_dependency "tty-prompt", "~> 0.23.1"
36
+ spec.add_dependency "tty-prompt"
35
37
 
36
38
  # For more information and examples about making a new gem, checkout our
37
39
  # guide at: https://bundler.io/guides/creating_gem.html
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-interactive
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
  - Oguzhan Ince
@@ -14,16 +14,16 @@ dependencies:
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 2.3.9
19
+ version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 2.3.9
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -42,77 +42,79 @@ dependencies:
42
42
  name: colorize
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 0.8.1
47
+ version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 0.8.1
54
+ version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: '13.0'
61
+ version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: '13.0'
68
+ version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: '3.0'
75
+ version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: '3.0'
82
+ version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rubocop
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: '1.7'
89
+ version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
- version: '1.7'
96
+ version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: tty-prompt
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
- version: 0.23.1
103
+ version: '0'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - "~>"
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
- version: 0.23.1
110
+ version: '0'
111
111
  description:
112
112
  email:
113
113
  - oguzhan824@gmail.com
114
114
  executables:
115
+ - console
115
116
  - interactive
117
+ - setup
116
118
  extensions: []
117
119
  extra_rdoc_files: []
118
120
  files: