rcompile 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d774af0caa298bcd73ff5b12350bb7a710280f44
4
+ data.tar.gz: c575552f9e0459176c866b6ec7ccee49e126d391
5
+ SHA512:
6
+ metadata.gz: de0b5d65711158732cab2173b9a33a4e22388d57ebd7de7220f726683fea3ec9cdbcddbbcd101c674c09244c21de798036325d915d3acf3b674f51e29cf265f3
7
+ data.tar.gz: babec5abf8ff96dbcef3506c3f488bb2a159bc846969c27e3913104047cf798a892fa37d9b78d4d73914c8bfccdf624fee59789ec4d048d774ea43bd1ead4c65
data/.gitignore ADDED
@@ -0,0 +1,20 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ coverage
6
+ InstalledFiles
7
+ lib/bundler/man
8
+ pkg
9
+ rdoc
10
+ spec/reports
11
+ test/tmp
12
+ test/version_tmp
13
+ tmp
14
+
15
+ # YARD artifacts
16
+ .yardoc
17
+ _yardoc
18
+ doc/
19
+ coverage/
20
+ Gemfile.lock
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --format progress
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in rcompile.gemspec
4
+ gemspec
5
+
6
+ gem 'pry'
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2014 Mikael Henriksson
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
6
+ this software and associated documentation files (the "Software"), to deal in
7
+ the Software without restriction, including without limitation the rights to
8
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
+ the Software, and to permit persons to whom the Software is furnished to do so,
10
+ subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/LICENSE.txt ADDED
@@ -0,0 +1,7 @@
1
+ Copyright (c) 2014 YOUR NAME
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,29 @@
1
+ # RCompile
2
+
3
+ This gem is created to make it easy to download a whole rails site from localhost as pure html. This enables us to make full use of rails and stuff like slim etc for prototyping something quickly and send the html to a customer.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ gem 'rcompile'
10
+
11
+ And then execute:
12
+
13
+ $ bundle exec rcompile
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install rcompile
18
+
19
+ ## Usage
20
+
21
+ TODO: Write usage instructions here
22
+
23
+ ## Contributing
24
+
25
+ 1. Fork it ( http://github.com/<my-github-username>/rcompile/fork )
26
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
27
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
28
+ 4. Push to the branch (`git push origin my-new-feature`)
29
+ 5. Create new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,55 @@
1
+ def dump_load_path
2
+ puts $LOAD_PATH.join("\n")
3
+ found = nil
4
+ $LOAD_PATH.each do |path|
5
+ if File.exists?(File.join(path,"rspec"))
6
+ puts "Found rspec in #{path}"
7
+ if File.exists?(File.join(path,"rspec","core"))
8
+ puts "Found core"
9
+ if File.exists?(File.join(path,"rspec","core","rake_task"))
10
+ puts "Found rake_task"
11
+ found = path
12
+ else
13
+ puts "!! no rake_task"
14
+ end
15
+ else
16
+ puts "!!! no core"
17
+ end
18
+ end
19
+ end
20
+ if found.nil?
21
+ puts "Didn't find rspec/core/rake_task anywhere"
22
+ else
23
+ puts "Found in #{path}"
24
+ end
25
+ end
26
+ require 'bundler'
27
+ require 'rake/clean'
28
+
29
+ begin
30
+ require 'rspec/core/rake_task'
31
+ rescue LoadError
32
+ dump_load_path
33
+ raise
34
+ end
35
+
36
+ gem 'rdoc' # we need the installed RDoc gem, not the system one
37
+ require 'rdoc/task'
38
+
39
+ include Rake::DSL
40
+
41
+ Bundler::GemHelper.install_tasks
42
+
43
+ RSpec::Core::RakeTask.new do |t|
44
+ # Put spec opts in a file named .rspec in root
45
+ end
46
+
47
+ Rake::RDocTask.new do |rd|
48
+
49
+ rd.main = "README.rdoc"
50
+
51
+ rd.rdoc_files.include("README.rdoc","lib/**/*.rb","bin/**/*")
52
+ end
53
+
54
+ task :default => [:spec]
55
+
data/bin/rcompile ADDED
@@ -0,0 +1,28 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'optparse'
4
+ require 'methadone'
5
+ require 'rcompile.rb'
6
+
7
+ class App
8
+ include Methadone::Main
9
+ include Methadone::CLILogging
10
+
11
+ options = {
12
+ gems_with_fonts: [],
13
+ release_dir: File.join(Dir.pwd, 'html'),
14
+ asset_dir: File.join(Dir.pwd, 'public/assets'),
15
+ force: false
16
+ }
17
+ defaults_from_config_file(File.join(Dir.pwd,'.rcompile.rc'), options)
18
+
19
+ main do
20
+ RCompile::Compiler.new(options).compile
21
+ end
22
+
23
+ version RCompile::VERSION
24
+ use_log_level_option
25
+ on("--verbose", "Be verbose")
26
+ on("--fail_on_error", "Fail immediately on error")
27
+ go!
28
+ end
@@ -0,0 +1,184 @@
1
+ module RCompile
2
+ module Colorize
3
+ #
4
+ # Colorize String class extension.
5
+ #
6
+ refine String do
7
+
8
+ #
9
+ # Colors Hash
10
+ #
11
+ COLORS = {
12
+ :black => 0,
13
+ :red => 1,
14
+ :green => 2,
15
+ :yellow => 3,
16
+ :blue => 4,
17
+ :magenta => 5,
18
+ :cyan => 6,
19
+ :white => 7,
20
+ :default => 9,
21
+
22
+ :light_black => 10,
23
+ :light_red => 11,
24
+ :light_green => 12,
25
+ :light_yellow => 13,
26
+ :light_blue => 14,
27
+ :light_magenta => 15,
28
+ :light_cyan => 16,
29
+ :light_white => 17
30
+ }
31
+
32
+ #
33
+ # Modes Hash
34
+ #
35
+ MODES = {
36
+ :default => 0, # Turn off all attributes
37
+ :bold => 1, # Set bold mode
38
+ :underline => 4, # Set underline mode
39
+ :blink => 5, # Set blink mode
40
+ :swap => 7, # Exchange foreground and background colors
41
+ :hide => 8 # Hide text (foreground color would be the same as background)
42
+ }
43
+
44
+ protected
45
+
46
+ #
47
+ # Set color values in new string instance
48
+ #
49
+ def set_color_parameters(params)
50
+ if (params.instance_of?(Hash))
51
+ @color = params[:color]
52
+ @background = params[:background]
53
+ @mode = params[:mode]
54
+ @uncolorized = params[:uncolorized]
55
+ self
56
+ end
57
+ end
58
+
59
+ public
60
+
61
+ #
62
+ # Change color of string
63
+ #
64
+ # Examples:
65
+ #
66
+ # puts "This is blue".colorize(:blue)
67
+ # puts "This is light blue".colorize(:light_blue)
68
+ # puts "This is also blue".colorize(:color => :blue)
69
+ # puts "This is light blue with red background".colorize(:color => :light_blue, :background => :red)
70
+ # puts "This is light blue with red background".colorize(:light_blue ).colorize( :background => :red)
71
+ # puts "This is blue text on red".blue.on_red
72
+ # puts "This is red on blue".colorize(:red).on_blue
73
+ # puts "This is red on blue and underline".colorize(:red).on_blue.underline
74
+ # puts "This is blue text on red".blue.on_red.blink
75
+ # puts "This is uncolorized".blue.on_red.uncolorize
76
+ #
77
+ def colorize(params)
78
+ begin
79
+ require 'Win32/Console/ANSI' if RUBY_PLATFORM =~ /win32/
80
+ rescue LoadError
81
+ raise 'You must gem install win32console to use colorize on Windows'
82
+ end
83
+
84
+ color_parameters = {}
85
+
86
+ if (params.instance_of?(Hash))
87
+ color_parameters[:color] = COLORS[params[:color]]
88
+ color_parameters[:background] = COLORS[params[:background]]
89
+ color_parameters[:mode] = MODES[params[:mode]]
90
+ elsif (params.instance_of?(Symbol))
91
+ color_parameters[:color] = COLORS[params]
92
+ end
93
+
94
+ color_parameters[:color] ||= @color ||= COLORS[:default]
95
+ color_parameters[:background] ||= @background ||= COLORS[:default]
96
+ color_parameters[:mode] ||= @mode ||= MODES[:default]
97
+
98
+ color_parameters[:uncolorized] ||= @uncolorized ||= self.dup
99
+
100
+ # Calculate bright mode
101
+ color_parameters[:color] += 50 if color_parameters[:color] > 10
102
+
103
+ color_parameters[:background] += 50 if color_parameters[:background] > 10
104
+
105
+ "\033[#{color_parameters[:mode]};#{color_parameters[:color]+30};#{color_parameters[:background]+40}m#{color_parameters[:uncolorized]}\033[0m".set_color_parameters(color_parameters)
106
+ end
107
+
108
+ #
109
+ # Return uncolorized string
110
+ #
111
+ def uncolorize
112
+ @uncolorized || self
113
+ end
114
+
115
+ #
116
+ # Return true if string is colorized
117
+ #
118
+ def colorized?
119
+ !!@uncolorized
120
+ end
121
+
122
+ #
123
+ # Make some color and on_color methods
124
+ #
125
+ COLORS.each_key do |key|
126
+ next if key == :default
127
+
128
+ define_method key do
129
+ self.colorize(:color => key)
130
+ end
131
+
132
+ define_method "on_#{key}" do
133
+ self.colorize(:background => key)
134
+ end
135
+ end
136
+
137
+ #
138
+ # Methods for modes
139
+ #
140
+ MODES.each_key do |key|
141
+ next if key == :default
142
+
143
+ define_method key do
144
+ self.colorize(:mode => key)
145
+ end
146
+ end
147
+
148
+ class << self
149
+
150
+ #
151
+ # Return array of available modes used by colorize method
152
+ #
153
+ def modes
154
+ MODES.keys
155
+ end
156
+
157
+ #
158
+ # Return array of available colors used by colorize method
159
+ #
160
+ def colors
161
+ COLORS.keys
162
+ end
163
+
164
+ #
165
+ # Display color matrix with color names
166
+ #
167
+ def color_matrix(txt = '[X]')
168
+ size = String.colors.length
169
+ String.colors.each do |color|
170
+ String.colors.each do |back|
171
+ print txt.colorize(:color => color, :background => back)
172
+ end
173
+ puts " < #{color}"
174
+ end
175
+ String.colors.reverse.each_with_index do |back, index|
176
+ puts "#{"|".rjust(txt.length)*(size-index)} < #{back}"
177
+ end
178
+ ''
179
+ end
180
+
181
+ end
182
+ end
183
+ end
184
+ end
@@ -0,0 +1,166 @@
1
+ require 'methadone'
2
+ require 'nokogiri'
3
+
4
+ module RCompile
5
+ using RCompile::Colorize
6
+
7
+ class Compiler
8
+ XSL = <<-EOXSL
9
+ <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
10
+ <xsl:param name="indent-increment" select="' '"/>
11
+ <xsl:template name="newline">
12
+ <xsl:text disable-output-escaping="yes">
13
+ </xsl:text>
14
+ </xsl:template>
15
+ <xsl:template match="comment() | processing-instruction()">
16
+ <xsl:param name="indent" select="''"/>
17
+ <xsl:call-template name="newline"/>
18
+ <xsl:value-of select="$indent"/>
19
+ <xsl:copy />
20
+ </xsl:template>
21
+ <xsl:template match="text()">
22
+ <xsl:param name="indent" select="''"/>
23
+ <xsl:call-template name="newline"/>
24
+ <xsl:value-of select="$indent"/>
25
+ <xsl:value-of select="normalize-space(.)"/>
26
+ </xsl:template>
27
+ <xsl:template match="text()[normalize-space(.)='']"/>
28
+ <xsl:template match="*">
29
+ <xsl:param name="indent" select="''"/>
30
+ <xsl:call-template name="newline"/>
31
+ <xsl:value-of select="$indent"/>
32
+ <xsl:choose>
33
+ <xsl:when test="count(child::*) > 0">
34
+ <xsl:copy>
35
+ <xsl:copy-of select="@*"/>
36
+ <xsl:apply-templates select="*|text()">
37
+ <xsl:with-param name="indent" select="concat ($indent, $indent-increment)"/>
38
+ </xsl:apply-templates>
39
+ <xsl:call-template name="newline"/>
40
+ <xsl:value-of select="$indent"/>
41
+ </xsl:copy>
42
+ </xsl:when>
43
+ <xsl:otherwise>
44
+ <xsl:copy-of select="."/>
45
+ </xsl:otherwise>
46
+ </xsl:choose>
47
+ </xsl:template>
48
+ </xsl:stylesheet>
49
+ EOXSL
50
+
51
+ include Methadone::CLILogging
52
+ include Methadone::SH
53
+
54
+ attr_reader :options
55
+
56
+ def initialize(options = {})
57
+ @options = options
58
+ set_sh_logger nil
59
+ end
60
+
61
+ def exec(command)
62
+ command_name = parse_caller(caller(1).first)
63
+ begin
64
+ success = sh(command) == 0
65
+ puts command.green if success && options[:verbose]
66
+ rescue
67
+ puts "#{command_name} failed to run".red
68
+ end
69
+
70
+ if options[:fail_on_error] && !success
71
+ $stderr.puts "#{command} failed"
72
+ exit $?.exitstatus
73
+ end
74
+ end
75
+
76
+ def parse_caller(at)
77
+ if /^(.+?):(\d+)(?::in `(.*)')?/ =~ at
78
+ Regexp.last_match[3]
79
+ end
80
+ end
81
+
82
+ def compile
83
+ stop_rails_server
84
+ prepare
85
+
86
+ start_rails_server
87
+ download_html
88
+
89
+ stop_rails_server
90
+
91
+ prettify
92
+
93
+ path = options[:release_dir].to_s.bold.green
94
+ puts "Saved a version of the website into: #{path}".green
95
+ end
96
+
97
+ def stop_rails_server
98
+ exec "ps -eo pid,command | grep 'rails' | grep -v grep | awk '{print $1}' | xargs kill"
99
+ end
100
+
101
+ def prepare
102
+ clean_directories
103
+ clean_rails_assets
104
+ precompile_rails_assets
105
+ create_font_directory
106
+ copy_gem_fonts
107
+ end
108
+
109
+ def clean_directories
110
+ exec "rm -rf #{options[:release_dir]} #{options[:asset_dir]}"
111
+ end
112
+
113
+ def clean_rails_assets
114
+ exec 'bundle exec rake assets:clean'
115
+ end
116
+
117
+ def precompile_rails_assets
118
+ exec 'bundle exec rake assets:precompile'
119
+ end
120
+
121
+ def create_font_directory
122
+ exec 'mkdir -p public/fonts'
123
+ end
124
+
125
+ def copy_gem_fonts
126
+ exec 'cp -r $(bundle show bootstrap-sass-rails)/app/assets/fonts/* public/assets/'
127
+ end
128
+
129
+ def start_rails_server
130
+ exec 'bundle exec rails s -p 3311 -d -e production'
131
+ end
132
+
133
+ def download_html
134
+ exec 'wget -H -r -l 10 -k -p -P html -nH localhost:3311'
135
+ end
136
+
137
+ def prettify
138
+ prettify_html
139
+ prettify_css
140
+ end
141
+
142
+ def prettify_html
143
+ html_files_to_prettify.each do |file_name|
144
+ xsl = Nokogiri::XSLT(XSL)
145
+ xml = Nokogiri(File.open(file_name))
146
+ File.open(file_name, 'w') do |f|
147
+ f.write xsl.apply_to(xml).to_s
148
+ end
149
+ end
150
+ end
151
+
152
+ def prettify_css
153
+
154
+ end
155
+
156
+ private
157
+
158
+ def html_files_to_prettify
159
+ Dir[ "#{options[:release_dir]}/**/*.html" ].sort.map(&:shellescape)
160
+ end
161
+
162
+ def css_files_to_prettify
163
+ Dir[ "#{options[:release_dir]}/**/*.css" ].sort.map(&:shellescape)
164
+ end
165
+ end
166
+ end
@@ -0,0 +1,3 @@
1
+ module RCompile
2
+ VERSION = "0.0.3"
3
+ end
data/lib/rcompile.rb ADDED
@@ -0,0 +1,8 @@
1
+ require "rcompile/version"
2
+ require "rcompile/colorize"
3
+ require "rcompile/compiler"
4
+ require "pry"
5
+
6
+ module RCompile
7
+
8
+ end
data/rcompile.gemspec ADDED
@@ -0,0 +1,28 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'rcompile/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "rcompile"
8
+ spec.version = RCompile::VERSION
9
+ spec.authors = ["Mikael Henriksson"]
10
+ spec.email = ["mikael@zoolutions.se"]
11
+ spec.summary = %q{This gem contains a little helper to compile an entire rails app into pure html/css}
12
+ spec.description = %q{}
13
+ spec.homepage = "https://github.com/mhenrixon/rcompile"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_dependency('methadone', '~> 1.3.1')
22
+ spec.add_dependency('nokogiri')
23
+
24
+ spec.add_development_dependency "bundler", "~> 1.5"
25
+ spec.add_development_dependency "rake"
26
+ spec.add_development_dependency 'rdoc'
27
+ spec.add_development_dependency 'rspec'
28
+ end
@@ -0,0 +1,7 @@
1
+ RSpec.configure do |config|
2
+ config.treat_symbols_as_metadata_keys_with_true_values = true
3
+ config.run_all_when_everything_filtered = true
4
+ config.filter_run :focus
5
+
6
+ config.order = 'random'
7
+ end
metadata ADDED
@@ -0,0 +1,146 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rcompile
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.3
5
+ platform: ruby
6
+ authors:
7
+ - Mikael Henriksson
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-02-01 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: methadone
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 1.3.1
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 1.3.1
27
+ - !ruby/object:Gem::Dependency
28
+ name: nokogiri
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.5'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.5'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rdoc
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rspec
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ description: ''
98
+ email:
99
+ - mikael@zoolutions.se
100
+ executables:
101
+ - rcompile
102
+ extensions: []
103
+ extra_rdoc_files: []
104
+ files:
105
+ - ".gitignore"
106
+ - ".rspec"
107
+ - Gemfile
108
+ - LICENSE
109
+ - LICENSE.txt
110
+ - README.md
111
+ - Rakefile
112
+ - bin/rcompile
113
+ - lib/rcompile.rb
114
+ - lib/rcompile/colorize.rb
115
+ - lib/rcompile/compiler.rb
116
+ - lib/rcompile/version.rb
117
+ - rcompile.gemspec
118
+ - spec/spec_helper.rb
119
+ homepage: https://github.com/mhenrixon/rcompile
120
+ licenses:
121
+ - MIT
122
+ metadata: {}
123
+ post_install_message:
124
+ rdoc_options: []
125
+ require_paths:
126
+ - lib
127
+ required_ruby_version: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ required_rubygems_version: !ruby/object:Gem::Requirement
133
+ requirements:
134
+ - - ">="
135
+ - !ruby/object:Gem::Version
136
+ version: '0'
137
+ requirements: []
138
+ rubyforge_project:
139
+ rubygems_version: 2.2.1
140
+ signing_key:
141
+ specification_version: 4
142
+ summary: This gem contains a little helper to compile an entire rails app into pure
143
+ html/css
144
+ test_files:
145
+ - spec/spec_helper.rb
146
+ has_rdoc: