developmentkit 0.1.0 → 0.1.1

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
  SHA1:
3
- metadata.gz: b83ef2fd41b2dc40d2cb3f87655d5973e6cafdf7
4
- data.tar.gz: 32e761ae70818faf7b894719e79c25b73c2c1f07
3
+ metadata.gz: bb246ddabb5341acfc12dba21226256a78111a68
4
+ data.tar.gz: 41ec0b416e8b189b5e48385a1ae0f724a64e1228
5
5
  SHA512:
6
- metadata.gz: 7d381497fc31f27fdb32a04adf1f038c7930c101494aa6dd0c8687faa6255a34164871692eb06f92f8cbb5bf4cef5a48b7a9ea4433c7d2a0ceadfc5c1b434fbf
7
- data.tar.gz: 8c20cc86f0cc6ac2adbb8af359b0c953f4b62b2891f4fa8e50d91323a7d0f6405a78e8a0f2038e5d61f4ea585a0bbd0146b373edc890c68c38ef994e3c9b4b18
6
+ metadata.gz: 7eb5e0321034405813d7387b2a77cd5719ece76a7c2a79efec49e39fa1377005cd5ed431b4d7ffca7a28ceaa24c4e7b9a196331b0be415269210bfbe89c12bd5
7
+ data.tar.gz: 1c678dac64643d33371aa01cf5ab2e657004ff44477b3a7ece5ab858c46495373b97e7fe6083afa992d5d0ba5de2942d00dcba2a26bb62708735936679213269
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- developmentkit (0.1.0)
4
+ developmentkit (0.1.1)
5
5
  bullet (~> 4.14.0)
6
6
  pry-byebug (~> 2.0.0)
7
7
  pry-rails (~> 0.3.2)
@@ -0,0 +1,15 @@
1
+ module Developmentkit
2
+ class Tool
3
+ class << self
4
+ def show_bundle_command
5
+ puts " *** Bundle Command ***"
6
+ puts "bundle update #{dependencies_map}"
7
+ end
8
+
9
+ def dependencies_map
10
+ spec = Gem::Specification.load 'developmentkit.gemspec'
11
+ spec.runtime_dependencies.map(&:name).join(' ')
12
+ end
13
+ end
14
+ end
15
+ end
@@ -1,3 +1,3 @@
1
1
  module Developmentkit
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -1,4 +1,5 @@
1
1
  require "developmentkit/version"
2
+ require "developmentkit/tool"
2
3
 
3
4
  module Developmentkit
4
5
  require 'developmentkit/railtie' if defined?(Rails)
@@ -3,14 +3,13 @@ desc 'bundle update developmentkit'
3
3
  namespace :develpmenkit do
4
4
  task :update do
5
5
  `bundle update developmentkit`
6
-
7
6
  end
8
7
 
9
8
  desc 'bundle update developmentkit dependency'
10
9
  namespace :update do
11
10
  task :dependency do
12
- spec = Gem::Specification.load 'developmentkit.gemspec'
13
- `bundle update #{spec.runtime_dependencies.map(&:name).join(' ')}`
11
+ require 'developmentkit'
12
+ `bundle update #{Developmentkit::Tool.dependencies_map}`
14
13
  end
15
14
  end
16
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: developmentkit
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
  - tetuyoko
@@ -195,6 +195,7 @@ files:
195
195
  - developmentkit.gemspec
196
196
  - lib/developmentkit.rb
197
197
  - lib/developmentkit/railtie.rb
198
+ - lib/developmentkit/tool.rb
198
199
  - lib/developmentkit/version.rb
199
200
  - lib/tasks/developmentkit.rake
200
201
  - test/minitest_helper.rb