bin_install 0.0.30 → 0.0.31

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c05710eb4026993f528746680406a2dc7311d7ee92e3adb5d59f2b97d1116b60
4
- data.tar.gz: 886e1649aa643b097e9091f3eb19c71cfb0d6a6bd500618db88a35fdd67ddbc8
3
+ metadata.gz: 5f1b55cfd879b0e355bbd308276d926aa905f9434fdc8ba4f21ab08e277a1ca7
4
+ data.tar.gz: 18e14e305685fc4488fde22b43b428dfe74ced4272c0ed4896218dc872b8ccd6
5
5
  SHA512:
6
- metadata.gz: 285fd0592bfd140e1739eb611b28c12bbe611478afdbc4d09bd9ab6cf0d9b4384804bc76124484bbe1a2d5e6b913d4032f870ad46b6bcee3b77bace9f0aa2e39
7
- data.tar.gz: a1f353f7ee496bec56965880152edab042efd0dbabe5a7e24909a4d2e858ad04d69e13d1e225a9dddccbc6af0f175813dc0291ab8afb3d3c5a04ea3882bb97cb
6
+ metadata.gz: e94f481695fe1a71e461d6b9edf74080dfb828178460a2122c23aba4707da026907e20e2f190db85f465f9a7ff4a2b2b91050941a4caafc06b4d3af92407d132
7
+ data.tar.gz: 83713a84d78c110d0d09be838dc2c6c229ecb7efd484a68c555bafe4110b6ed7ce2bbe39d1ce51e1158ea14046b880b441d1243a2625ff23454d6f17f922968e
data/bin/build CHANGED
@@ -4,8 +4,12 @@ require 'bundler/setup'
4
4
  require 'awesome_print'
5
5
  require 'bin_install'
6
6
 
7
- puts "Building bin_install #{BinInstall::VERSION}.".white
8
- system('git pull origin master')
9
- system('gem build bin_install.gemspec')
10
- system("gem install bin_install-#{BinInstall::VERSION}.gem")
11
- puts 'Done.'.green
7
+ APP_ROOT = File.expand_path('..', __dir__)
8
+
9
+ Dir.chdir(APP_ROOT) do
10
+ puts "Building bin_install #{BinInstall::VERSION}.".white
11
+ system('git pull origin master')
12
+ system('gem build bin_install.gemspec')
13
+ system("gem install bin_install-#{BinInstall::VERSION}.gem")
14
+ puts 'Done.'.green
15
+ end
data/bin/release CHANGED
@@ -4,12 +4,16 @@ require 'bundler/setup'
4
4
  require 'awesome_print'
5
5
  require 'bin_install'
6
6
 
7
- puts "Releasing bin_install #{BinInstall::VERSION}.".white
8
- system('git pull origin master')
9
- system('git add --all')
10
- system(%(git commit -am 'Releasing #{BinInstall::VERSION}'))
11
- system('git push origin master')
12
- system('gem build bin_install.gemspec')
13
- system("gem install bin_install-#{BinInstall::VERSION}.gem")
14
- system("gem push bin_install-#{BinInstall::VERSION}.gem")
15
- puts "Done. bin_install #{BinInstall::VERSION} has been released.".green
7
+ APP_ROOT = File.expand_path('..', __dir__)
8
+
9
+ Dir.chdir(APP_ROOT) do
10
+ puts "Releasing bin_install #{BinInstall::VERSION}.".white
11
+ system('git pull origin master')
12
+ system('git add --all')
13
+ system(%(git commit -am 'Releasing #{BinInstall::VERSION}'))
14
+ system('git push origin master')
15
+ system('gem build bin_install.gemspec')
16
+ system("gem install bin_install-#{BinInstall::VERSION}.gem")
17
+ system("gem push bin_install-#{BinInstall::VERSION}.gem")
18
+ puts "Done. bin_install #{BinInstall::VERSION} has been released.".green
19
+ end
data/bin_install.gemspec CHANGED
@@ -23,9 +23,9 @@ Gem::Specification.new do |spec|
23
23
 
24
24
  spec.add_runtime_dependency 'awesome_print', '~> 1.8'
25
25
 
26
- spec.add_development_dependency 'bundler', '~> 1.16'
26
+ spec.add_development_dependency 'bundler', '~> 2'
27
27
  spec.add_development_dependency 'pry', '~> 0.11'
28
28
  spec.add_development_dependency 'rake', '~> 12'
29
- spec.add_development_dependency 'rspec', '~> 3.6'
29
+ spec.add_development_dependency 'rspec', '~> 3.8'
30
30
  spec.add_development_dependency 'rubocop', '~> 0.56.0'
31
31
  end
@@ -11,7 +11,7 @@ module BinInstall
11
11
  end
12
12
 
13
13
  def self.create_superuser(username = 'postgres')
14
- puts 'Creating superuser postgres for postgresqlSQL...'.whtie
14
+ puts 'Creating superuser postgres for postgresqlSQL...'.white
15
15
  system("createuser --superuser #{username}")
16
16
  end
17
17
 
@@ -1,3 +1,3 @@
1
1
  module BinInstall
2
- VERSION = '0.0.30'.freeze
2
+ VERSION = '0.0.31'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bin_install
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.30
4
+ version: 0.0.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Singer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-06-11 00:00:00.000000000 Z
11
+ date: 2019-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.16'
33
+ version: '2'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.16'
40
+ version: '2'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: pry
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '3.6'
75
+ version: '3.8'
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.6'
82
+ version: '3.8'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rubocop
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -163,8 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
163
163
  - !ruby/object:Gem::Version
164
164
  version: '0'
165
165
  requirements: []
166
- rubyforge_project:
167
- rubygems_version: 2.7.6
166
+ rubygems_version: 3.0.2
168
167
  signing_key:
169
168
  specification_version: 4
170
169
  summary: Simple DSL for creating install scripts.