fauxhai 0.0.4 → 0.1.1

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.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fauxhai
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.1.1
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-11-06 00:00:00.000000000 Z
12
+ date: 2013-01-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: chef
@@ -59,6 +59,22 @@ dependencies:
59
59
  - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: rake
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
62
78
  description: Easily mock out ohai data
63
79
  email:
64
80
  - svargo@customink.com
@@ -68,7 +84,7 @@ extensions: []
68
84
  extra_rdoc_files: []
69
85
  files:
70
86
  - .gitignore
71
- - .rvmrc
87
+ - .ruby-version
72
88
  - Gemfile
73
89
  - LICENSE
74
90
  - README.md
@@ -86,7 +102,9 @@ files:
86
102
  - lib/fauxhai/keys/id_rsa.pub
87
103
  - lib/fauxhai/mocker.rb
88
104
  - lib/fauxhai/platforms/amazon/2012.09.json
105
+ - lib/fauxhai/platforms/centos/5.8.json
89
106
  - lib/fauxhai/platforms/centos/6.0.json
107
+ - lib/fauxhai/platforms/centos/6.2.json
90
108
  - lib/fauxhai/platforms/centos/6.3.json
91
109
  - lib/fauxhai/platforms/centos/default.json
92
110
  - lib/fauxhai/platforms/chefspec/0.6.1.json
@@ -103,6 +121,7 @@ files:
103
121
  - lib/fauxhai/platforms/ubuntu/10.04.json
104
122
  - lib/fauxhai/platforms/ubuntu/12.04.json
105
123
  - lib/fauxhai/platforms/ubuntu/default.json
124
+ - lib/fauxhai/platforms/windows/2008R2.json
106
125
  - lib/fauxhai/runner.rb
107
126
  - tmp/.gitkeep
108
127
  homepage: https://github.com/customink/fauxhai
@@ -117,15 +136,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
117
136
  - - ! '>='
118
137
  - !ruby/object:Gem::Version
119
138
  version: '0'
139
+ segments:
140
+ - 0
141
+ hash: -3060028809304705134
120
142
  required_rubygems_version: !ruby/object:Gem::Requirement
121
143
  none: false
122
144
  requirements:
123
145
  - - ! '>='
124
146
  - !ruby/object:Gem::Version
125
147
  version: '0'
148
+ segments:
149
+ - 0
150
+ hash: -3060028809304705134
126
151
  requirements: []
127
152
  rubyforge_project:
128
- rubygems_version: 1.8.24
153
+ rubygems_version: 1.8.23
129
154
  signing_key:
130
155
  specification_version: 3
131
156
  summary: Fauxhai provides an easy way to mock out your ohai data for testing with
data/.rvmrc DELETED
@@ -1,48 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- # This is an RVM Project .rvmrc file, used to automatically load the ruby
4
- # development environment upon cd'ing into the directory
5
-
6
- # First we specify our desired <ruby>[@<gemset>], the @gemset name is optional,
7
- # Only full ruby name is supported here, for short names use:
8
- # echo "rvm use 1.9.3" > .rvmrc
9
- environment_id="ruby-1.9.3-p194@fauxhai"
10
-
11
- # Uncomment the following lines if you want to verify rvm version per project
12
- # rvmrc_rvm_version="1.14.3 (master)" # 1.10.1 seams as a safe start
13
- # eval "$(echo ${rvm_version}.${rvmrc_rvm_version} | awk -F. '{print "[[ "$1*65536+$2*256+$3" -ge "$4*65536+$5*256+$6" ]]"}' )" || {
14
- # echo "This .rvmrc file requires at least RVM ${rvmrc_rvm_version}, aborting loading."
15
- # return 1
16
- # }
17
-
18
- # First we attempt to load the desired environment directly from the environment
19
- # file. This is very fast and efficient compared to running through the entire
20
- # CLI and selector. If you want feedback on which environment was used then
21
- # insert the word 'use' after --create as this triggers verbose mode.
22
- if [[ -d "${rvm_path:-$HOME/.rvm}/environments"
23
- && -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]]
24
- then
25
- \. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"
26
- [[ -s "${rvm_path:-$HOME/.rvm}/hooks/after_use" ]] &&
27
- \. "${rvm_path:-$HOME/.rvm}/hooks/after_use" || true
28
- else
29
- # If the environment file has not yet been created, use the RVM CLI to select.
30
- rvm --create "$environment_id" || {
31
- echo "Failed to create RVM environment '${environment_id}'."
32
- return 1
33
- }
34
- fi
35
-
36
- # If you use bundler, this might be useful to you:
37
- # if [[ -s Gemfile ]] && {
38
- # ! builtin command -v bundle >/dev/null ||
39
- # builtin command -v bundle | GREP_OPTIONS= \grep $rvm_path/bin/bundle >/dev/null
40
- # }
41
- # then
42
- # printf "%b" "The rubygem 'bundler' is not installed. Installing it now.\n"
43
- # gem install bundler
44
- # fi
45
- # if [[ -s Gemfile ]] && builtin command -v bundle >/dev/null
46
- # then
47
- # bundle install | GREP_OPTIONS= \grep -vE '^Using|Your bundle is complete'
48
- # fi