smallcage 0.2.3 → 0.2.4
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.
- checksums.yaml +7 -0
- data/.gitignore +1 -1
- data/Gemfile +4 -1
- data/Gemfile.lock +32 -0
- data/History.rdoc +5 -0
- data/README.rdoc +1 -0
- data/Rakefile +8 -1
- data/ext/mkrf_conf.rb +26 -0
- data/lib/smallcage.rb +1 -0
- data/lib/smallcage/version.rb +1 -1
- data/smallcage.gemspec +1 -0
- data/spec/spec_helper.rb +10 -0
- metadata +10 -13
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: f24d43ad677982a42a7f5907c8546df0cb653642
|
4
|
+
data.tar.gz: 7f9356084a5e6a3c4e68883e3be78ba7374a6c39
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: dc9e6a097c1156d80cdbfb07950a4d3f7811f9255ce2b366aef604fbf2065a5483979498d4fbc21716aa067df124a2eca2daeb5f99af214d49403f820522ad41
|
7
|
+
data.tar.gz: 4798d0500f6281ebc18a0a6ac0f1af91adb03971c785ed759fa57b7526bea722775c0e75c8179e793f1b904f038aabc9f63108360add07cc25c0c5779692d75c
|
data/.gitignore
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
GEM
|
2
|
+
remote: https://rubygems.org/
|
3
|
+
specs:
|
4
|
+
diff-lcs (1.2.5)
|
5
|
+
docile (1.1.1)
|
6
|
+
multi_json (1.8.2)
|
7
|
+
rake (10.1.1)
|
8
|
+
rcov (1.0.0)
|
9
|
+
rspec (2.14.1)
|
10
|
+
rspec-core (~> 2.14.0)
|
11
|
+
rspec-expectations (~> 2.14.0)
|
12
|
+
rspec-mocks (~> 2.14.0)
|
13
|
+
rspec-core (2.14.7)
|
14
|
+
rspec-expectations (2.14.4)
|
15
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
16
|
+
rspec-mocks (2.14.4)
|
17
|
+
simplecov (0.8.2)
|
18
|
+
docile (~> 1.1.0)
|
19
|
+
multi_json
|
20
|
+
simplecov-html (~> 0.8.0)
|
21
|
+
simplecov-html (0.8.0)
|
22
|
+
syck (1.0.1)
|
23
|
+
|
24
|
+
PLATFORMS
|
25
|
+
ruby
|
26
|
+
|
27
|
+
DEPENDENCIES
|
28
|
+
rake
|
29
|
+
rcov
|
30
|
+
rspec
|
31
|
+
simplecov
|
32
|
+
syck
|
data/History.rdoc
CHANGED
data/README.rdoc
CHANGED
data/Rakefile
CHANGED
@@ -3,10 +3,17 @@
|
|
3
3
|
require "bundler/gem_tasks"
|
4
4
|
require "rspec/core/rake_task"
|
5
5
|
|
6
|
-
RSpec::Core::RakeTask.new
|
6
|
+
RSpec::Core::RakeTask.new(:spec)
|
7
7
|
|
8
8
|
desc "-> spec"
|
9
9
|
task :default => :spec
|
10
10
|
|
11
11
|
desc "-> spec"
|
12
12
|
task :test => :spec
|
13
|
+
|
14
|
+
|
15
|
+
desc "Run all specs with rcov"
|
16
|
+
RSpec::Core::RakeTask.new(:rcov) do |t|
|
17
|
+
t.rcov = true
|
18
|
+
t.rcov_opts = %w{--exclude gems,spec,pkg}
|
19
|
+
end
|
data/ext/mkrf_conf.rb
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
# Install syck gem only when the RUBY_VERSION >= "2.0"
|
2
|
+
# http://stackoverflow.com/questions/4596606/rubygems-how-do-i-add-platform-specific-dependency
|
3
|
+
# http://en.wikibooks.org/wiki/Ruby_Programming/RubyGems#How_to_install_different_versions_of_gems_depending_on_which_version_of_ruby_the_installee_is_using
|
4
|
+
|
5
|
+
require 'rubygems'
|
6
|
+
require 'rubygems/command.rb'
|
7
|
+
require 'rubygems/dependency_installer.rb'
|
8
|
+
|
9
|
+
begin
|
10
|
+
Gem::Command.build_args = ARGV
|
11
|
+
rescue NoMethodError
|
12
|
+
end
|
13
|
+
|
14
|
+
inst = Gem::DependencyInstaller.new
|
15
|
+
begin
|
16
|
+
if RUBY_VERSION >= '2.0'
|
17
|
+
inst.install 'syck'
|
18
|
+
end
|
19
|
+
rescue
|
20
|
+
exit(1)
|
21
|
+
end
|
22
|
+
|
23
|
+
# create dummy rakefile to indicate success
|
24
|
+
f = File.open(File.join(File.dirname(__FILE__), 'Rakefile'), 'w')
|
25
|
+
f.write("task :default\n")
|
26
|
+
f.close
|
data/lib/smallcage.rb
CHANGED
data/lib/smallcage/version.rb
CHANGED
data/smallcage.gemspec
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smallcage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
5
|
-
prerelease:
|
4
|
+
version: 0.2.4
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- SAITO Toshihiro
|
@@ -11,7 +10,7 @@ authors:
|
|
11
10
|
autorequire:
|
12
11
|
bindir: bin
|
13
12
|
cert_chain: []
|
14
|
-
date:
|
13
|
+
date: 2014-01-06 00:00:00.000000000 Z
|
15
14
|
dependencies: []
|
16
15
|
description: SmallCage is a simple, but powerful website generator. It converts content
|
17
16
|
and template files, which has common elements in a website, to a plain, static website.
|
@@ -21,7 +20,8 @@ email:
|
|
21
20
|
- smallcage@googlegroups.com
|
22
21
|
executables:
|
23
22
|
- smc
|
24
|
-
extensions:
|
23
|
+
extensions:
|
24
|
+
- ext/mkrf_conf.rb
|
25
25
|
extra_rdoc_files: []
|
26
26
|
files:
|
27
27
|
- .gitignore
|
@@ -34,6 +34,7 @@ files:
|
|
34
34
|
- README.rdoc
|
35
35
|
- Rakefile
|
36
36
|
- bin/smc
|
37
|
+
- ext/mkrf_conf.rb
|
37
38
|
- lib/smallcage.rb
|
38
39
|
- lib/smallcage/application.rb
|
39
40
|
- lib/smallcage/commands/auto.rb
|
@@ -157,30 +158,26 @@ files:
|
|
157
158
|
- spec/uri_spec.rb
|
158
159
|
homepage: http://www.smallcage.org
|
159
160
|
licenses: []
|
161
|
+
metadata: {}
|
160
162
|
post_install_message:
|
161
163
|
rdoc_options: []
|
162
164
|
require_paths:
|
163
165
|
- lib
|
164
166
|
required_ruby_version: !ruby/object:Gem::Requirement
|
165
|
-
none: false
|
166
167
|
requirements:
|
167
|
-
- -
|
168
|
+
- - '>='
|
168
169
|
- !ruby/object:Gem::Version
|
169
170
|
version: '0'
|
170
|
-
segments:
|
171
|
-
- 0
|
172
|
-
hash: -3079300471336458698
|
173
171
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
174
|
-
none: false
|
175
172
|
requirements:
|
176
|
-
- -
|
173
|
+
- - '>='
|
177
174
|
- !ruby/object:Gem::Version
|
178
175
|
version: '0'
|
179
176
|
requirements: []
|
180
177
|
rubyforge_project:
|
181
|
-
rubygems_version:
|
178
|
+
rubygems_version: 2.0.14
|
182
179
|
signing_key:
|
183
|
-
specification_version:
|
180
|
+
specification_version: 4
|
184
181
|
summary: a simple website generator
|
185
182
|
test_files:
|
186
183
|
- spec/data/htdocs1/_dir.smc
|