File tree Expand file tree Collapse file tree 5 files changed +54
-20
lines changed Expand file tree Collapse file tree 5 files changed +54
-20
lines changed Original file line number Diff line number Diff line change
1
+ --color
2
+ --format documentation
Original file line number Diff line number Diff line change
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ lambchop (0.2.0 )
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ diff-lcs (1.2.5 )
10
+ rspec (2.14.1 )
11
+ rspec-core (~> 2.14.0 )
12
+ rspec-expectations (~> 2.14.0 )
13
+ rspec-mocks (~> 2.14.0 )
14
+ rspec-core (2.14.8 )
15
+ rspec-expectations (2.14.5 )
16
+ diff-lcs (>= 1.1.3 , < 2.0 )
17
+ rspec-mocks (2.14.6 )
18
+
19
+ PLATFORMS
20
+ ruby
21
+
22
+ DEPENDENCIES
23
+ lambchop !
24
+ rspec
Original file line number Diff line number Diff line change 1
- require 'rubygems'
2
- require 'rubygems/package_task'
3
-
4
1
Gem ::Specification . new do |s |
5
- s . platform = Gem ::Platform ::RUBY
6
- s . name = 'lambchop'
7
- s . version = PKG_VERSION
8
- s . summary = "Create puppet DSL from arbitrary files."
9
- s . description = "You shouldn't have to learn Puppet's DSL just to generate a manifest for a single config file. Lambchop automates that for you."
10
- s . authors = [ "Erik M Jacobs" ]
11
-
12
- s . homepage = 'https://github.com/thoraxe/lambchop'
13
- s . files = PKG_FILES
14
- s . license = 'GPL-3.0'
2
+ s . name = 'lambchop'
3
+ s . version = '0.2.0'
4
+ s . summary = "Create puppet DSL from arbitrary files."
5
+ s . description = "You shouldn't have to learn Puppet's DSL just to generate a manifest for a single config file. Lambchop automates that for you."
6
+ s . authors = [ "Erik M Jacobs" ]
7
+
8
+ s . homepage = 'https://github.com/thoraxe/lambchop'
9
+ s . files = [ "lib/lambchop.rb" , "lib/util/parser.rb" ]
10
+ s . license = 'GPL-3.0'
15
11
s . require_path = 'lib'
16
- s . autorequire = 'rake'
17
-
18
12
s . add_development_dependency "rspec"
19
13
end
20
-
21
- Gem ::PackageTask . new ( spec ) do |pkg |
22
- pkg . need_zip = true
23
- pkg . need_tar = true
24
- end
Original file line number Diff line number Diff line change
1
+ require 'spec_helper'
2
+
3
+ describe Lambchop do
4
+ it "should return the correct dsl when selinux is not required" do
5
+ pending
6
+ end
7
+
8
+ it "should return the correct dsl when selinux is required" do
9
+ pending
10
+ end
11
+ end
Original file line number Diff line number Diff line change
1
+ require 'bundler/setup'
2
+ Bundler . setup
3
+
4
+ require 'lambchop'
5
+
6
+ RSpec . configure do |config |
7
+ # some (optional) config here
8
+ end
You can’t perform that action at this time.
0 commit comments