justpushit 0.0.2 → 1.0.snapshot

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: 5bff1e9474d19634f66e659b218daeef893af35486c986424e5f7bf6ed16e940
4
- data.tar.gz: 8310071b89e2f2632a7b5cf660c5cc3bc96242dc1977fc8341192eda3352acf1
3
+ metadata.gz: 8a9a77e07e6fc8e8e5be94a38a0406de693d8b9459a8c0a22a73f242e3bc6c4e
4
+ data.tar.gz: 7e93b13be06cd3399749431e946c7df423e8a37a665539c82f55883a97efd7a6
5
5
  SHA512:
6
- metadata.gz: fd4f7179f091c5b2821ece3f253776cd58f6ef344bb545d87d4d920401de5de38dc01279dafb7497c8a81e0099fff4f2e3a724ecb2e4c937357e47cdff1ebbc2
7
- data.tar.gz: 36cbf1b43da71a3af66a0d935d4fcc590e70f5313b8cd394d2c78e5d29c7ba29188e227a58fa0675df89a3f29d2ecf0ba14ac3637159efecf259b5ef2f394e96
6
+ metadata.gz: 1df68bdc106548c8c99d3a68eb79e992befb20596b63a6aef806dfae527a4b64a9a40191f40497d5e203e54e3e6a08e6306b5e8a3a5067ddbe8221968842699a
7
+ data.tar.gz: 3a4ded11eddfc31f245c442af92b98f2bc00784700e56e6bc4ae1e27b1368821200b7528f1997c12967594242379949ba04059da126d67daab554dae44a43003
@@ -0,0 +1,59 @@
1
+ *.gem
2
+ *.rbc
3
+ /.config
4
+ /coverage/
5
+ /InstalledFiles
6
+ /pkg/
7
+ /spec/reports/
8
+ /spec/examples.txt
9
+ /test/tmp/
10
+ /test/version_tmp/
11
+ /tmp/
12
+
13
+ # Used by dotenv library to load environment variables.
14
+ # .env
15
+
16
+ # Ignore Byebug command history file.
17
+ .byebug_history
18
+
19
+ ## Specific to RubyMotion:
20
+ .dat*
21
+ .repl_history
22
+ build/
23
+ *.bridgesupport
24
+ build-iPhoneOS/
25
+ build-iPhoneSimulator/
26
+
27
+ ## Specific to RubyMotion (use of CocoaPods):
28
+ #
29
+ # We recommend against adding the Pods directory to your .gitignore. However
30
+ # you should judge for yourself, the pros and cons are mentioned at:
31
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
32
+ #
33
+ # vendor/Pods/
34
+
35
+ ## Documentation cache and generated files:
36
+ /.yardoc/
37
+ /_yardoc/
38
+ /doc/
39
+ /rdoc/
40
+
41
+ ## Environment normalization:
42
+ /.bundle/
43
+ /vendor/bundle
44
+ /lib/bundler/man/
45
+
46
+ # for a library or gem, you might want to ignore these files since the code is
47
+ # intended to run in multiple environments; otherwise, check them in:
48
+ # Gemfile.lock
49
+ # .ruby-version
50
+ # .ruby-gemset
51
+
52
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
53
+ .rvmrc
54
+
55
+ # Used by RuboCop. Remote config files pulled in from inherit_from directive.
56
+ # .rubocop-https?--*
57
+
58
+ # Idea Files/Directories
59
+ .idea/
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2020 Hasan Demirtaş
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,25 @@
1
+ # justpushit
2
+ Just push it is a project that helps you to push your git project just one line of command.
3
+
4
+ ## Installation
5
+ ```
6
+ $ gem install justpushit
7
+ ```
8
+
9
+ ## Usage
10
+ Senerio 1
11
+ ```
12
+ $ justpushit "your commit message should be here with quotes or not :)"
13
+ ```
14
+ Senerio 2
15
+ ```
16
+ $ justpushit
17
+ Enter a commit message
18
+ your commit message and enter.
19
+ ```
20
+
21
+ Both of them will run
22
+ ```
23
+ git commit -am your_commit_message
24
+ git push
25
+ ```
@@ -0,0 +1,9 @@
1
+ inspect = ARGV.join(' ')
2
+ if inspect.empty?
3
+ puts 'Enter your commit message...'
4
+ commit_message = gets
5
+ else
6
+ commit_message = inspect
7
+ end
8
+ system('git commit -am "' + commit_message + '"')
9
+ system('git push')
@@ -0,0 +1,25 @@
1
+ lib = File.expand_path('lib', __dir__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require_relative 'lib/justpushit/version'
4
+
5
+ Gem::Specification.new do |s|
6
+ s.specification_version = 2 if s.respond_to? :specification_version=
7
+ if s.respond_to? :required_rubygems_version=
8
+ s.required_rubygems_version = Gem::Requirement.new('>= 0')
9
+ end
10
+ s.rubygems_version = '2.2'
11
+ s.required_ruby_version = '>= 2.3'
12
+ s.name = 'justpushit'
13
+ s.version = JustPushIt::VERSION
14
+ s.date = '2020-07-13'
15
+ s.summary = "Just push it!"
16
+ s.description = "Helps you to push your git project just one line of command"
17
+ s.authors = ["Hasan Demirtaş"]
18
+ s.email = 'hasan@infumia.com.tr'
19
+ s.homepage = 'https://github.com/portlek/justpushit'
20
+ s.license = 'MIT'
21
+ s.files = `git ls-files`.split($RS)
22
+ s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
23
+ s.rdoc_options = ['--charset=UTF-8']
24
+ s.extra_rdoc_files = ['README.md', 'LICENSE']
25
+ end
@@ -1,9 +1 @@
1
- inspect = ARGV.join(' ')
2
- if inspect.empty?
3
- puts 'Enter your commit message...'
4
- commit_message = gets
5
- else
6
- commit_message = inspect
7
- end
8
- system('git commit -am "' + commit_message + '"')
9
- system('git push')
1
+ require_relative 'version/it/version'
@@ -0,0 +1,3 @@
1
+ class JustPushIt
2
+ VERSION = '1.0.snapshot'
3
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: justpushit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 1.0.snapshot
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hasan Demirtaş
@@ -12,32 +12,42 @@ date: 2020-07-13 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Helps you to push your git project just one line of command
14
14
  email: hasan@infumia.com.tr
15
- executables: []
15
+ executables:
16
+ - justpushit
16
17
  extensions: []
17
- extra_rdoc_files: []
18
+ extra_rdoc_files:
19
+ - README.md
20
+ - LICENSE
18
21
  files:
22
+ - ".gitignore"
23
+ - LICENSE
24
+ - README.md
25
+ - bin/justpushit
26
+ - justpushit.gemspec
19
27
  - lib/justpushit.rb
28
+ - lib/justpushit/version.rb
20
29
  homepage: https://github.com/portlek/justpushit
21
30
  licenses:
22
31
  - MIT
23
32
  metadata: {}
24
33
  post_install_message:
25
- rdoc_options: []
34
+ rdoc_options:
35
+ - "--charset=UTF-8"
26
36
  require_paths:
27
37
  - lib
28
38
  required_ruby_version: !ruby/object:Gem::Requirement
29
39
  requirements:
30
40
  - - ">="
31
41
  - !ruby/object:Gem::Version
32
- version: '0'
42
+ version: '2.3'
33
43
  required_rubygems_version: !ruby/object:Gem::Requirement
34
44
  requirements:
35
- - - ">="
45
+ - - ">"
36
46
  - !ruby/object:Gem::Version
37
- version: '0'
47
+ version: 1.3.1
38
48
  requirements: []
39
- rubygems_version: 3.1.2
49
+ rubygems_version: 3.1.4
40
50
  signing_key:
41
- specification_version: 4
51
+ specification_version: 2
42
52
  summary: Just push it!
43
53
  test_files: []