itamae-plugin-recipe-ros 0.1.2 → 0.1.3

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: e78b88e239cb61917ea28f829e040056d108b710
4
- data.tar.gz: 84024a8cb095e34f2dd879ef804e587e4da318d7
3
+ metadata.gz: ebef3a12e47502802c43bbe4ed81117c2001679f
4
+ data.tar.gz: 6687c5186f3c2b71cdadae7d90ee140bdd2b9cd1
5
5
  SHA512:
6
- metadata.gz: cb721e473f34ca752817441f810ffcbc95638c89b46ba14229e00d5ca8243776924935f43a4451b4a9acd86be98985134e1329a55bfd8adbd30751e250c6dc3d
7
- data.tar.gz: 2d1abfe99c7b53006b3d2ff0c05e1869a29b64fc499dabe58e15702429fd1cebc230df135a5d875fd2f8b6f1ff32c245736753fd8715570c8f2b0268aed5cec2
6
+ metadata.gz: 0aff2a79caba47cb46a5dfd1b534b0861d282756afe1ae2fef0278396aeaa54794497e9d0d31c79890910ed3631c44ad647479659a4b3edb989ea0cf4e31cca1
7
+ data.tar.gz: 5f101019d657078d4786044d48f79c9d07b2deb364cc74466cbc00e0397b030e1b8a1efef087a6ed59a5ba0522dd14a74e78054e19491387b98202c84844a597
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # itamae-plugin-recipe-ros
1
+ # Itamae::Plugin::Recipe::Ros
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/itamae-plugin-recipe-ros.svg)](http://badge.fury.io/rb/itamae-plugin-recipe-ros)
4
4
 
@@ -6,8 +6,6 @@ itamae plugin to install ros on each platform.
6
6
 
7
7
  ## Installation
8
8
 
9
- Add this line to your application's Gemfile:
10
-
11
9
  ```ruby
12
10
  gem 'itamae-plugin-recipe-ros'
13
11
  ```
@@ -39,15 +37,9 @@ ros:
39
37
  install-target: desktop-full
40
38
  ```
41
39
 
42
- ## Development
43
-
44
- After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
45
-
46
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
47
-
48
40
  ## Contributing
49
41
 
50
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/itamae-plugin-recipe-ros. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
42
+ Bug reports and pull requests are welcome on GitHub at https://github.com/DaikiMaekawa/itamae-plugin-recipe-ros. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
51
43
 
52
44
 
53
45
  ## License
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ File.open("itamae_ros_node.yaml", "w") do |file|
4
+ file.puts("ros:")
5
+ file.puts(" distribution: jade")
6
+ file.puts(" install-target: desktop-full")
7
+ end
8
+
9
+ File.open("itamae_ros_recipe.rb", "w") do |file|
10
+ file.puts("include_recipe \"ros::install\"")
11
+ end
@@ -28,8 +28,8 @@ when "debian", "ubuntu"
28
28
  command 'echo "%s" >> ~/.bashrc && source ~/.bashrc' % add_cmd
29
29
  end
30
30
 
31
- execute 'source setup.bash' do
32
- command 'source /opt/ros/%s/setup.bash' % node[:'ros']['distribution']
31
+ execute 'Load setup script' do
32
+ command '. /opt/ros/%s/setup.sh' % node[:'ros']['distribution']
33
33
  end
34
34
 
35
35
  when "redhat", "fedora"
@@ -2,7 +2,7 @@ module Itamae
2
2
  module Plugin
3
3
  module Recipe
4
4
  module Ros
5
- VERSION = "0.1.2"
5
+ VERSION = "0.1.3"
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itamae-plugin-recipe-ros
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daiki Maekawa
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-08-14 00:00:00.000000000 Z
11
+ date: 2015-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -41,7 +41,8 @@ dependencies:
41
41
  description: Itamae plugin to install ros on each platform.
42
42
  email:
43
43
  - d.maekawa@rapyuta-robotics.com
44
- executables: []
44
+ executables:
45
+ - create_itamae_ros_templates
45
46
  extensions: []
46
47
  extra_rdoc_files: []
47
48
  files:
@@ -50,6 +51,7 @@ files:
50
51
  - LICENSE
51
52
  - README.md
52
53
  - Rakefile
54
+ - exe/create_itamae_ros_templates
53
55
  - itamae-plugin-recipe-ros.gemspec
54
56
  - lib/itamae/plugin/recipe/ros.rb
55
57
  - lib/itamae/plugin/recipe/ros/install.rb
@@ -74,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
74
76
  version: '0'
75
77
  requirements: []
76
78
  rubyforge_project:
77
- rubygems_version: 2.4.5
79
+ rubygems_version: 2.4.8
78
80
  signing_key:
79
81
  specification_version: 4
80
82
  summary: Itamae plugin to install ros on each platform.