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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/developmentkit/tool.rb +15 -0
- data/lib/developmentkit/version.rb +1 -1
- data/lib/developmentkit.rb +1 -0
- data/lib/tasks/developmentkit.rake +2 -3
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb246ddabb5341acfc12dba21226256a78111a68
|
4
|
+
data.tar.gz: 41ec0b416e8b189b5e48385a1ae0f724a64e1228
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7eb5e0321034405813d7387b2a77cd5719ece76a7c2a79efec49e39fa1377005cd5ed431b4d7ffca7a28ceaa24c4e7b9a196331b0be415269210bfbe89c12bd5
|
7
|
+
data.tar.gz: 1c678dac64643d33371aa01cf5ab2e657004ff44477b3a7ece5ab858c46495373b97e7fe6083afa992d5d0ba5de2942d00dcba2a26bb62708735936679213269
|
data/Gemfile.lock
CHANGED
@@ -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
|
data/lib/developmentkit.rb
CHANGED
@@ -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
|
-
|
13
|
-
`bundle update #{
|
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.
|
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
|