Skip to content

Commit

Permalink
Version 0.1.7 - add sprintf to default mrbgems
Browse files Browse the repository at this point in the history
  • Loading branch information
bovi committed Mar 4, 2013
1 parent 4958beb commit 0e51bde
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = 'mgem'
s.version = '0.1.6'
s.version = '0.1.7'
s.summary = 'A program to manage GEMs for mruby.'
s.description = 'mgem helps you search and find GEMs specifically written for mruby. It also supports by creating a mruby build configuration.'
s.author = 'Daniel Bovensiepen'
Expand Down
9 changes: 5 additions & 4 deletions bin/mgem
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,10 @@ def get_binaries
end

DEFAULT_GEMS = {
'Math' => 'mrbgems/mruby-math',
'Struct' => 'mrbgems/mruby-struct',
'Time' => 'mrbgems/mruby-time'
'Math' => 'math',
'Struct' => 'struct',
'Time' => 'time',
'sprintf' => 'sprintf'
}

def get_default_gems
Expand Down Expand Up @@ -145,7 +146,7 @@ elsif ARGV[0] == 'config'
end

default_gem_command = default_gems.map do |g|
" conf.gem '#{g}'"
" conf.gem 'mrbgems/mruby-#{g}'"
end.join("\n")
if default_gem_command == ''
default_gem_command = ' # No GEMs activated'
Expand Down
2 changes: 1 addition & 1 deletion lib/mgem.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
require 'fileutils'
require "stringio"

MGEM_VERSION = '0.1.6'
MGEM_VERSION = '0.1.7'

MGEM_DIR = '.mgem'
GEMS_ACTIVE = 'GEMS_ACTIVE.lst'
Expand Down

0 comments on commit 0e51bde

Please sign in to comment.