fragrant 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Gemfile ADDED
@@ -0,0 +1,13 @@
1
+ source 'https://rubygems.org'
2
+ gemspec
3
+ gem 'grape', :git => 'https://github.com/intridea/grape.git'
4
+
5
+ group :development do
6
+ gem 'rake'
7
+ end
8
+
9
+ group :test do
10
+ gem 'rack-test'
11
+ gem 'rspec'
12
+ gem 'rake'
13
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,88 @@
1
+ GIT
2
+ remote: https://github.com/intridea/grape.git
3
+ revision: 746dbfb7c92ee6a887c6eee44a5a376f7e836fea
4
+ specs:
5
+ grape (0.2.1)
6
+ hashie (~> 1.2)
7
+ multi_json
8
+ multi_xml
9
+ rack
10
+ rack-mount
11
+ virtus
12
+
13
+ PATH
14
+ remote: .
15
+ specs:
16
+ fragrant (0.0.1)
17
+ grape (>= 0.2.1)
18
+ puma
19
+ uuid
20
+ vagrant
21
+ vegas
22
+
23
+ GEM
24
+ remote: https://rubygems.org/
25
+ specs:
26
+ archive-tar-minitar (0.5.2)
27
+ backports (2.6.3)
28
+ childprocess (0.3.5)
29
+ ffi (~> 1.0, >= 1.0.6)
30
+ diff-lcs (1.1.3)
31
+ erubis (2.7.0)
32
+ ffi (1.1.5)
33
+ hashie (1.2.0)
34
+ i18n (0.6.1)
35
+ json (1.5.4)
36
+ log4r (1.1.10)
37
+ macaddr (1.6.1)
38
+ systemu (~> 2.5.0)
39
+ multi_json (1.3.6)
40
+ multi_xml (0.5.1)
41
+ net-scp (1.0.4)
42
+ net-ssh (>= 1.99.1)
43
+ net-ssh (2.2.2)
44
+ puma (1.6.3)
45
+ rack (~> 1.2)
46
+ rack (1.4.1)
47
+ rack-mount (0.8.3)
48
+ rack (>= 1.0.0)
49
+ rack-test (0.6.1)
50
+ rack (>= 1.0)
51
+ rake (0.9.2.2)
52
+ rspec (2.11.0)
53
+ rspec-core (~> 2.11.0)
54
+ rspec-expectations (~> 2.11.0)
55
+ rspec-mocks (~> 2.11.0)
56
+ rspec-core (2.11.1)
57
+ rspec-expectations (2.11.2)
58
+ diff-lcs (~> 1.1.3)
59
+ rspec-mocks (2.11.2)
60
+ shotgun (0.9)
61
+ rack (>= 1.0)
62
+ systemu (2.5.2)
63
+ uuid (2.3.5)
64
+ macaddr (~> 1.0)
65
+ vagrant (1.0.3)
66
+ archive-tar-minitar (= 0.5.2)
67
+ childprocess (~> 0.3.1)
68
+ erubis (~> 2.7.0)
69
+ i18n (~> 0.6.0)
70
+ json (~> 1.5.1)
71
+ log4r (~> 1.1.9)
72
+ net-scp (~> 1.0.4)
73
+ net-ssh (~> 2.2.2)
74
+ vegas (0.1.11)
75
+ rack (>= 1.0.0)
76
+ virtus (0.5.1)
77
+ backports (~> 2.6.1)
78
+
79
+ PLATFORMS
80
+ ruby
81
+
82
+ DEPENDENCIES
83
+ fragrant!
84
+ grape!
85
+ rack-test
86
+ rake
87
+ rspec
88
+ shotgun
data/Rakefile ADDED
@@ -0,0 +1,3 @@
1
+ require 'rspec/core/rake_task'
2
+ RSpec::Core::RakeTask.new(:spec)
3
+ task :default => :spec
@@ -7,7 +7,7 @@ module Fragrant
7
7
  attr_accessor :addresses
8
8
 
9
9
  def self.template_path
10
- File.expand_path('../../templates/Vagrantfile', __FILE__)
10
+ File.expand_path('../../../templates/Vagrantfile', __FILE__)
11
11
  end
12
12
 
13
13
  def initialize(target_directory, opts={})
@@ -0,0 +1,19 @@
1
+ # -*- mode: ruby -*-
2
+ # vi: set ft=ruby :
3
+
4
+ # Generated with Fragrant. Mmm... tasty.
5
+ Vagrant::Config.run do |config|
6
+ config.vm.box = "<%= box_name %>"
7
+
8
+ # The url from where the 'config.vm.box' box will be fetched if it
9
+ # doesn't already exist on the user's system.
10
+ <% if box_url.nil? %># <% end %>config.vm.box_url = "<%= box_url || "http://domain.com/path/to/above.box" %>"
11
+
12
+ <% addresses.each do |address| %>
13
+ config.vm.network :hostonly, "<%= address %>"
14
+ <% end %>
15
+
16
+ <% provision_script_paths.each do |path| %>
17
+ config.vm.provision :shell, :path => "<%= path %>"
18
+ <% end %>
19
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fragrant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-12 00:00:00.000000000 Z
12
+ date: 2012-09-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: vagrant
@@ -195,12 +195,16 @@ files:
195
195
  - vendor/grape/lib/grape/version.rb
196
196
  - vendor/grape/lib/grape.rb
197
197
  - vendor/grape/LICENSE
198
+ - templates/Vagrantfile.erb
198
199
  - LICENSE
199
200
  - README.md
200
201
  - spec/fragrant/environments_spec.rb
201
202
  - spec/fragrant/vagrantfile_generator_spec.rb
202
203
  - spec/fragrant/vms_spec.rb
203
204
  - spec/spec_helper.rb
205
+ - Rakefile
206
+ - Gemfile
207
+ - Gemfile.lock
204
208
  homepage: http://github.com/engineyard/fragrant/
205
209
  licenses: []
206
210
  post_install_message:
@@ -230,3 +234,6 @@ test_files:
230
234
  - spec/fragrant/vagrantfile_generator_spec.rb
231
235
  - spec/fragrant/vms_spec.rb
232
236
  - spec/spec_helper.rb
237
+ - Rakefile
238
+ - Gemfile
239
+ - Gemfile.lock