falsework 3.1.0 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +4 -0
- data/doc/NEWS.rdoc +12 -2
- data/doc/template-tutorial.rdoc +3 -3
- data/falsework.gemspec +7 -5
- data/lib/falsework/meta.rb +1 -1
- data/templates/c-glib/test/test_utils.c +6 -6
- data/templates/coffee-chrome/#config.yaml +5 -0
- data/templates/coffee-chrome/.gitignore.#erb +8 -0
- data/templates/coffee-chrome/Makefile +45 -0
- data/templates/coffee-chrome/README.md +35 -0
- data/templates/coffee-chrome/chrome.mk +32 -0
- data/templates/coffee-chrome/manifest.m4 +10 -0
- data/templates/coffee-chrome/package.json +21 -0
- data/templates/coffee-chrome/src/.gitignore.#erb +1 -0
- data/templates/coffee-chrome/src/Makefile +38 -0
- data/templates/coffee-chrome/src/background.coffee +1 -0
- data/templates/coffee-chrome/test/foo.coffee +7 -0
- data/templates/coffee-chrome/zip2crx.sh +38 -0
- data/templates/ruby-cli/%%@project%%.gemspec +3 -3
- data/test/test_cli.rb +7 -6
- metadata +30 -33
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 20ae0076a14312e81259c7d4e78978d02afc62d8
|
4
|
+
data.tar.gz: 8f891593bfeaf377ffe5a2051f8cba3e32ff73f3
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 88aa196e56e9ca749db976f7dee047a8cedcc18e01dfb8f98014cf366ead9878b69f792e00d25abc6f00d632d9c3c416ed62a8bc994f22614eef4f9317e1e8f5
|
7
|
+
data.tar.gz: 835c2f9f6bb9512851dc519f68a440eccbf81da1291547688c0400ee7f7cade8776e82d248379879532625131f8fdc2bb4eea0176f033c9f3ddf078bc3cc81bd
|
data/.gitignore
CHANGED
data/doc/NEWS.rdoc
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
=== 3.2.0
|
2
|
+
|
3
|
+
Sun Apr 7 22:06:50 EEST 2013
|
4
|
+
|
5
|
+
* Add coffee-chrome template.
|
6
|
+
|
7
|
+
* Update deps version numbers.
|
8
|
+
|
9
|
+
* Ruby is not cool anymore. It's time to move on.
|
10
|
+
|
1
11
|
=== 3.1.0
|
2
12
|
|
3
13
|
Thu May 24 23:20:04 EEST 2012
|
@@ -71,11 +81,11 @@ Mon Nov 7 07:15:00 EET 2011
|
|
71
81
|
# Don't remove this: falsework/0.2.8/naive/2011-08-05T16:59:19+03:00
|
72
82
|
|
73
83
|
and replace it to:
|
74
|
-
|
84
|
+
|
75
85
|
# Don't remove this: falsework/0.2.8/ruby-naive/2011-08-05T16:59:19+03:00
|
76
86
|
|
77
87
|
Then run 'falsework upgrade' as usual.
|
78
|
-
|
88
|
+
|
79
89
|
* Added 'c-glib' template.
|
80
90
|
|
81
91
|
* '--no-git' CLO.
|
data/doc/template-tutorial.rdoc
CHANGED
@@ -84,7 +84,7 @@ When user types
|
|
84
84
|
|
85
85
|
falsework looks info <tt>#config.yaml</tt> file in the <tt>c-glib</tt>
|
86
86
|
template directory, searches for 'test' key and iterates on its value to
|
87
|
-
read some file in the template directory,
|
87
|
+
read some file in the template directory, write that file somewhere and
|
88
88
|
set it permission afterwards.
|
89
89
|
|
90
90
|
The default configuration is:
|
@@ -112,8 +112,8 @@ src:: A relative path to a file (that usually prefixed with
|
|
112
112
|
'#' & hidden from a generator). When +src+ is +null+, the
|
113
113
|
key is ignored and nothing is injected.
|
114
114
|
|
115
|
-
dest::
|
116
|
-
target value ('foobar' in the example above).
|
115
|
+
dest:: A sub-key can have <tt>%s</tt> in it which will be replaced with
|
116
|
+
a target value ('foobar' in the example above).
|
117
117
|
|
118
118
|
mode_int:: Permission bits.
|
119
119
|
|
data/falsework.gemspec
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
require File.expand_path('../lib/falsework/meta', __FILE__)
|
3
3
|
include Falsework
|
4
4
|
|
5
|
+
require 'yaml'
|
6
|
+
|
5
7
|
Gem::Specification.new do |gem|
|
6
8
|
gem.authors = [Meta::AUTHOR]
|
7
9
|
gem.email = [Meta::EMAIL]
|
@@ -11,7 +13,7 @@ Gem::Specification.new do |gem|
|
|
11
13
|
|
12
14
|
gem.files = `git ls-files`.split($\)
|
13
15
|
gem.files.concat YAML.load_file('dynamic.yaml').keys
|
14
|
-
|
16
|
+
|
15
17
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
16
18
|
gem.test_files = gem.files.grep(%r{^test/test_.+\.rb})
|
17
19
|
gem.name = Meta::NAME
|
@@ -27,11 +29,11 @@ of #config.yaml has changed.
|
|
27
29
|
|
28
30
|
See also doc/NEWS.rdoc file even if you don't have custom templates.
|
29
31
|
MESSAGE
|
30
|
-
|
32
|
+
|
31
33
|
gem.add_dependency "open4", "~> 1.3.0"
|
32
|
-
gem.add_dependency "rdoc", "~>
|
33
|
-
gem.add_dependency "bundler", "
|
34
|
+
gem.add_dependency "rdoc", "~> 4.0.1"
|
35
|
+
gem.add_dependency "bundler", ">= 1.3"
|
34
36
|
gem.add_dependency "git", "~>1.2.5"
|
35
37
|
|
36
|
-
gem.add_development_dependency "fakefs", "~> 0.4.
|
38
|
+
gem.add_development_dependency "fakefs", "~> 0.4.2"
|
37
39
|
end
|
data/lib/falsework/meta.rb
CHANGED
@@ -24,7 +24,7 @@ test_my_strstrip()
|
|
24
24
|
GString *s = g_string_new("");
|
25
25
|
|
26
26
|
g_assert(!my_strstrip(NULL));
|
27
|
-
|
27
|
+
|
28
28
|
char *t1[] = { "q", "\t q\t", "\t\n\n q\t\n\r", NULL };
|
29
29
|
char **p;
|
30
30
|
for (p = t1; *p; ++p) {
|
@@ -45,7 +45,7 @@ test_my_strstrip()
|
|
45
45
|
g_string_assign(s, "This is\na text & only text.");
|
46
46
|
my_strstrip(s);
|
47
47
|
g_assert_cmpstr("This is a text & only text.", ==, s->str);
|
48
|
-
|
48
|
+
|
49
49
|
g_string_free(s, TRUE);
|
50
50
|
}
|
51
51
|
|
@@ -79,15 +79,15 @@ test_chan_read()
|
|
79
79
|
{ "./mycat < semis/text/empty.txt", 0, "d41d8cd98f00b204e9800998ecf8427e" },
|
80
80
|
{ "./mycat < Makefile.test.mk", 2753, "f25fbc27b05cf7a33b6d01eb5a0bedb9" },
|
81
81
|
// delete this line if you don't have wordnet installed
|
82
|
-
{ "./mycat < /usr/
|
82
|
+
// { "./mycat < /usr/share/wordnet-3.0/dict/data.noun", 15300280, "a51f8a16db5be01db3ae95367469c6c7" },
|
83
83
|
{ NULL, -1, NULL }
|
84
84
|
};
|
85
|
-
|
85
|
+
|
86
86
|
struct Cmd *p;
|
87
87
|
for (p = cmd; p->c; ++p) {
|
88
88
|
FILE* f = popen(p->c, "r");
|
89
89
|
g_assert(f);
|
90
|
-
|
90
|
+
|
91
91
|
char buf[p->bytes];
|
92
92
|
gsize bytes = readn(fileno(f), buf, p->bytes);
|
93
93
|
pclose(f);
|
@@ -129,6 +129,6 @@ main (int argc, char **argv)
|
|
129
129
|
g_test_add_func("/utils/first", test_first);
|
130
130
|
g_test_add_func("/utils/chan_read", test_chan_read);
|
131
131
|
g_test_add_func("/utils/mylog_set", test_mylog_set);
|
132
|
-
|
132
|
+
|
133
133
|
return g_test_run();
|
134
134
|
}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
M4 := m4
|
2
|
+
JSON := json
|
3
|
+
MOCHA := node_modules/.bin/mocha
|
4
|
+
|
5
|
+
METADATA := package.json
|
6
|
+
PKG := $(shell $(JSON) -a -d- name version < $(METADATA))
|
7
|
+
PKG_FILES := $(shell $(JSON) files < $(METADATA) | $(JSON) -a)
|
8
|
+
|
9
|
+
OPTS :=
|
10
|
+
|
11
|
+
.PHONY: clobber clean manifest_clean compile_clean
|
12
|
+
|
13
|
+
all: test
|
14
|
+
|
15
|
+
test: compile
|
16
|
+
$(MOCHA) --compilers coffee:coffee-script -u tdd test $(OPTS)
|
17
|
+
|
18
|
+
compile: node_modules manifest.json
|
19
|
+
$(MAKE) -C src compile
|
20
|
+
|
21
|
+
include chrome.mk
|
22
|
+
|
23
|
+
compile_clean:
|
24
|
+
$(MAKE) -C src clean
|
25
|
+
|
26
|
+
node_modules: package.json
|
27
|
+
npm install
|
28
|
+
touch $@
|
29
|
+
|
30
|
+
manifest.json: manifest.m4 $(METADATA)
|
31
|
+
$(M4) $< > $@
|
32
|
+
|
33
|
+
manifest_clean:
|
34
|
+
rm -f manifest.json
|
35
|
+
|
36
|
+
clean: manifest_clean compile_clean chrome_clean
|
37
|
+
[ -r lib ] && rmdir lib; :
|
38
|
+
|
39
|
+
clobber: clean
|
40
|
+
rm -rf node_modules
|
41
|
+
|
42
|
+
# Debug. Use 'gmake p-obj' to print $(obj) variable.
|
43
|
+
p-%:
|
44
|
+
@echo $* = $($*)
|
45
|
+
@echo $*\'s origin is $(origin $*)
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# <%= @classy %>
|
2
|
+
|
3
|
+
Chrome 25+ extension.
|
4
|
+
|
5
|
+
TODO: write a description
|
6
|
+
|
7
|
+
## Build requirements:
|
8
|
+
|
9
|
+
* jsontool in global mode.
|
10
|
+
* GNU m4
|
11
|
+
* xxd utility.
|
12
|
+
* GNU make.
|
13
|
+
|
14
|
+
## Compilation
|
15
|
+
|
16
|
+
To compile, run
|
17
|
+
|
18
|
+
$ make compile
|
19
|
+
|
20
|
+
To make a .crx file, you'll need a private RSA key named `private.pem`
|
21
|
+
in the same directory where Makefile is. For testing purposes, generate
|
22
|
+
it with openssl:
|
23
|
+
|
24
|
+
$ openssl genrsa -out private.pem 1024
|
25
|
+
|
26
|
+
and run:
|
27
|
+
|
28
|
+
$ make crx
|
29
|
+
|
30
|
+
If everything was fine, `<%= @project %>-x.y.z.crx` file will
|
31
|
+
appear.
|
32
|
+
|
33
|
+
## License
|
34
|
+
|
35
|
+
MIT.
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# external 'compile' target required
|
2
|
+
|
3
|
+
required := PKG PKG_FILES
|
4
|
+
$(foreach idx,$(required),$(if $($(idx)),,$(error $(idx) variable is empty)))
|
5
|
+
|
6
|
+
ZIP := zip
|
7
|
+
ZIP2CRX:= ./zip2crx.sh
|
8
|
+
PRIVATE_KEY := private.pem
|
9
|
+
|
10
|
+
zipArchive := $(PKG).zip
|
11
|
+
extension := $(PKG).crx
|
12
|
+
|
13
|
+
.PHONY: zip zip_clean crx_clean crx chrome_clean
|
14
|
+
|
15
|
+
zip_clean:
|
16
|
+
rm -f $(zipArchive)
|
17
|
+
|
18
|
+
zip: zip_clean
|
19
|
+
$(ZIP) $(zipArchive) $(PKG_FILES)
|
20
|
+
|
21
|
+
crx_clean:
|
22
|
+
rm -f $(extension)
|
23
|
+
|
24
|
+
chrome_clean: zip_clean crx_clean
|
25
|
+
|
26
|
+
crx: crx_clean compile zip
|
27
|
+
@if [ -r $(PRIVATE_KEY) ] ; then \
|
28
|
+
$(ZIP2CRX) $(zipArchive) $(PRIVATE_KEY); \
|
29
|
+
else \
|
30
|
+
echo crx: $(PRIVATE_KEY) not found; \
|
31
|
+
exit 1 ; \
|
32
|
+
fi
|
@@ -0,0 +1,21 @@
|
|
1
|
+
{
|
2
|
+
"files": [
|
3
|
+
"lib/background.js",
|
4
|
+
"manifest.json"
|
5
|
+
],
|
6
|
+
"name": "<%= @project %>",
|
7
|
+
"version": "0.0.1",
|
8
|
+
"license": {
|
9
|
+
"type": "MIT",
|
10
|
+
"url": "http://www.opensource.org/licenses/mit-license.php"
|
11
|
+
},
|
12
|
+
"repository": {
|
13
|
+
"type": "git",
|
14
|
+
"url": "http://github.com/<%= @user %>/<%= @project %>"
|
15
|
+
},
|
16
|
+
"dependencies": {
|
17
|
+
"coffee-script": "~1.6.2",
|
18
|
+
"browserify": "~2.6.0",
|
19
|
+
"mocha": "~1.8.2"
|
20
|
+
}
|
21
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
*.js
|
@@ -0,0 +1,38 @@
|
|
1
|
+
BROWSERIFY := ../node_modules/.bin/browserify
|
2
|
+
COFFEE := ../node_modules/.bin/coffee
|
3
|
+
|
4
|
+
out := ../lib
|
5
|
+
html := $(wildcard *.html)
|
6
|
+
out_html := $(patsubst %.html,$(out)/%.html,$(html))
|
7
|
+
|
8
|
+
# compiled & bundled this will go to $(out)
|
9
|
+
coffee := background.coffee
|
10
|
+
|
11
|
+
out_js := $(patsubst %.coffee,$(out)/%.js,$(coffee))
|
12
|
+
temp_js := $(patsubst %.coffee,%.js,$(wildcard *.coffee))
|
13
|
+
|
14
|
+
.PHONY: compile clean
|
15
|
+
|
16
|
+
all: compile
|
17
|
+
|
18
|
+
#$(out)/background.js: foo.js
|
19
|
+
|
20
|
+
%.js: %.coffee
|
21
|
+
$(COFFEE) -c $<
|
22
|
+
|
23
|
+
$(out)/%.js: %.js
|
24
|
+
@mkdir -p `dirname $@`
|
25
|
+
$(BROWSERIFY) $< -o $@
|
26
|
+
|
27
|
+
$(out)/%.html: %.html
|
28
|
+
cp $< $@
|
29
|
+
|
30
|
+
compile: $(temp_js) $(out_js) $(out_html)
|
31
|
+
|
32
|
+
clean:
|
33
|
+
rm -f $(out_js) $(temp_js) $(out_html)
|
34
|
+
|
35
|
+
# Debug. Use 'gmake p-obj' to print $(obj) variable.
|
36
|
+
p-%:
|
37
|
+
@echo $* = $($*)
|
38
|
+
@echo $*\'s origin is $(origin $*)
|
@@ -0,0 +1 @@
|
|
1
|
+
console.log "loaded"
|
@@ -0,0 +1,38 @@
|
|
1
|
+
#!/bin/sh
|
2
|
+
|
3
|
+
# On Fedora, xxd is in vim-common package.
|
4
|
+
|
5
|
+
[ $# -ne 2 ] && {
|
6
|
+
echo "Usage: `basename $0` file.zip private_key" 1>&2
|
7
|
+
exit 1
|
8
|
+
}
|
9
|
+
|
10
|
+
zip=$1
|
11
|
+
key=$2
|
12
|
+
|
13
|
+
name=$(basename "$zip" .zip)
|
14
|
+
crx="$name.crx"
|
15
|
+
pub="$name.pub"
|
16
|
+
sig="$name.sig"
|
17
|
+
zip="$name.zip"
|
18
|
+
trap 'rm -f "$pub" "$sig"' EXIT
|
19
|
+
|
20
|
+
# signature
|
21
|
+
openssl sha1 -sha1 -binary -sign "$key" < "$zip" > "$sig"
|
22
|
+
|
23
|
+
# public key
|
24
|
+
openssl rsa -pubout -outform DER < "$key" > "$pub" 2>/dev/null
|
25
|
+
|
26
|
+
byte_swap() {
|
27
|
+
# Take "abcdefgh" and return it as "ghefcdab"
|
28
|
+
echo "${1:6:2}${1:4:2}${1:2:2}${1:0:2}"
|
29
|
+
}
|
30
|
+
|
31
|
+
crmagic_hex="4372 3234" # Cr24
|
32
|
+
version_hex="0200 0000" # 2
|
33
|
+
pub_len_hex=$(byte_swap $(printf '%08x\n' $(ls -l "$pub" | awk '{print $5}')))
|
34
|
+
sig_len_hex=$(byte_swap $(printf '%08x\n' $(ls -l "$sig" | awk '{print $5}')))
|
35
|
+
(
|
36
|
+
echo "$crmagic_hex $version_hex $pub_len_hex $sig_len_hex" | xxd -r -p
|
37
|
+
cat "$pub" "$sig" "$zip"
|
38
|
+
) > "$crx"
|
@@ -19,8 +19,8 @@ Gem::Specification.new do |gem|
|
|
19
19
|
gem.required_ruby_version = '>= 1.9.2'
|
20
20
|
gem.extra_rdoc_files = gem.files.grep(%r{^doc/})
|
21
21
|
gem.rdoc_options << '-m' << 'doc/README.rdoc'
|
22
|
-
|
22
|
+
|
23
23
|
gem.add_dependency "open4", "~> 1.3.0"
|
24
|
-
gem.add_dependency "rdoc", "~>
|
25
|
-
gem.add_dependency "bundler", "
|
24
|
+
gem.add_dependency "rdoc", "~> 4.0.1"
|
25
|
+
gem.add_dependency "bundler", ">= 1.3"
|
26
26
|
end
|
data/test/test_cli.rb
CHANGED
@@ -51,12 +51,13 @@ class TestCommandLine < MiniTest::Unit::TestCase
|
|
51
51
|
Dir.chdir('templates/foo') {
|
52
52
|
# check rake
|
53
53
|
r = CliUtils.exec "rake -T"
|
54
|
+
# pp r
|
54
55
|
assert_equal 0, r[0]
|
55
56
|
|
56
57
|
# bundler targets test
|
57
58
|
r = CliUtils.exec "rake build"
|
58
59
|
assert_equal 0, r[0]
|
59
|
-
|
60
|
+
|
60
61
|
# add files
|
61
62
|
r = CliUtils.exec "#{@cmd} exe qqq"
|
62
63
|
assert_equal(0, r[0])
|
@@ -75,10 +76,10 @@ class TestCommandLine < MiniTest::Unit::TestCase
|
|
75
76
|
# pp r
|
76
77
|
assert_equal 0, r[0]
|
77
78
|
rm ['test/helper_cliutils.rb']
|
78
|
-
|
79
|
+
|
79
80
|
r = CliUtils.exec "#{@cmd} upgrade -b"
|
80
81
|
assert_equal 0, r[0]
|
81
|
-
|
82
|
+
|
82
83
|
File.open('test/helper_cliutils.rb', 'w+') {|fp| fp.puts 'garbage' }
|
83
84
|
r = CliUtils.exec "#{@cmd} upgrade -b --save"
|
84
85
|
assert_equal 0, r[0]
|
@@ -90,7 +91,7 @@ class TestCommandLine < MiniTest::Unit::TestCase
|
|
90
91
|
# upgrade info
|
91
92
|
r = CliUtils.exec "#{@cmd} upgrade check"
|
92
93
|
assert_equal 0, r[0]
|
93
|
-
|
94
|
+
|
94
95
|
r = CliUtils.exec "#{@cmd} upgrade list"
|
95
96
|
assert_equal 0, r[0]
|
96
97
|
assert_operator 1, :<=, r[2].split("\n").size
|
@@ -121,7 +122,7 @@ class TestCommandLine < MiniTest::Unit::TestCase
|
|
121
122
|
r = CliUtils.exec "#{@cmd} -t c-glib test q-q-q"
|
122
123
|
assert_equal(0, r[0])
|
123
124
|
assert_equal(true, File.exist?('test/test_q_q_q.c'))
|
124
|
-
|
125
|
+
|
125
126
|
Dir.chdir('src') {
|
126
127
|
r = CliUtils.exec "gmake"
|
127
128
|
assert_equal 0, r[0]
|
@@ -144,7 +145,7 @@ class TestCommandLine < MiniTest::Unit::TestCase
|
|
144
145
|
r = CliUtils.exec "#{@cmd} --config /NO_SUCH_FILE.yaml list dirs"
|
145
146
|
assert_equal(0, r[0])
|
146
147
|
assert_equal(2, r[2].split("\n").size)
|
147
|
-
|
148
|
+
|
148
149
|
r = CliUtils.exec "#{@cmd} --config templates/config-01.yaml list dirs"
|
149
150
|
assert_equal(0, r[0])
|
150
151
|
assert_equal(3, r[2].split("\n").size)
|
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: falsework
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
5
|
-
prerelease:
|
4
|
+
version: 3.2.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Alexander Gromnitsky
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2013-04-07 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: open4
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ~>
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,39 +27,34 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: rdoc
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ~>
|
36
32
|
- !ruby/object:Gem::Version
|
37
|
-
version:
|
33
|
+
version: 4.0.1
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - ~>
|
44
39
|
- !ruby/object:Gem::Version
|
45
|
-
version:
|
40
|
+
version: 4.0.1
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: bundler
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - '>='
|
52
46
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.
|
47
|
+
version: '1.3'
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - '>='
|
60
53
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.
|
54
|
+
version: '1.3'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: git
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
59
|
- - ~>
|
68
60
|
- !ruby/object:Gem::Version
|
@@ -70,7 +62,6 @@ dependencies:
|
|
70
62
|
type: :runtime
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
66
|
- - ~>
|
76
67
|
- !ruby/object:Gem::Version
|
@@ -78,19 +69,17 @@ dependencies:
|
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: fakefs
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
73
|
- - ~>
|
84
74
|
- !ruby/object:Gem::Version
|
85
|
-
version: 0.4.
|
75
|
+
version: 0.4.2
|
86
76
|
type: :development
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
80
|
- - ~>
|
92
81
|
- !ruby/object:Gem::Version
|
93
|
-
version: 0.4.
|
82
|
+
version: 0.4.2
|
94
83
|
description: A primitive scaffold generator for writing CLI programs in Ruby
|
95
84
|
email:
|
96
85
|
- alexander.gromnitsky@gmail.com
|
@@ -144,6 +133,18 @@ files:
|
|
144
133
|
- templates/c-glib/test/mycat.c
|
145
134
|
- templates/c-glib/test/semis/text/empty.txt
|
146
135
|
- templates/c-glib/test/test_utils.c
|
136
|
+
- templates/coffee-chrome/#config.yaml
|
137
|
+
- templates/coffee-chrome/.gitignore.#erb
|
138
|
+
- templates/coffee-chrome/Makefile
|
139
|
+
- templates/coffee-chrome/README.md
|
140
|
+
- templates/coffee-chrome/chrome.mk
|
141
|
+
- templates/coffee-chrome/manifest.m4
|
142
|
+
- templates/coffee-chrome/package.json
|
143
|
+
- templates/coffee-chrome/src/.gitignore.#erb
|
144
|
+
- templates/coffee-chrome/src/Makefile
|
145
|
+
- templates/coffee-chrome/src/background.coffee
|
146
|
+
- templates/coffee-chrome/test/foo.coffee
|
147
|
+
- templates/coffee-chrome/zip2crx.sh
|
147
148
|
- templates/ruby-cli/#config.yaml
|
148
149
|
- templates/ruby-cli/%%@project%%.gemspec
|
149
150
|
- templates/ruby-cli/.gitignore
|
@@ -175,14 +176,12 @@ files:
|
|
175
176
|
- templates/ruby-cli/test/helper_cliutils.rb
|
176
177
|
homepage: http://github.com/gromnitsky/falsework
|
177
178
|
licenses: []
|
178
|
-
|
179
|
-
|
179
|
+
metadata: {}
|
180
|
+
post_install_message: |
|
181
|
+
Users of 2.x! Your custom templates must be updated--format
|
180
182
|
of #config.yaml has changed.
|
181
183
|
|
182
|
-
|
183
|
-
See also doc/NEWS.rdoc file even if you don''t have custom templates.
|
184
|
-
|
185
|
-
'
|
184
|
+
See also doc/NEWS.rdoc file even if you don't have custom templates.
|
186
185
|
rdoc_options:
|
187
186
|
- -m
|
188
187
|
- doc/README.rdoc
|
@@ -191,22 +190,20 @@ rdoc_options:
|
|
191
190
|
require_paths:
|
192
191
|
- lib
|
193
192
|
required_ruby_version: !ruby/object:Gem::Requirement
|
194
|
-
none: false
|
195
193
|
requirements:
|
196
|
-
- -
|
194
|
+
- - '>='
|
197
195
|
- !ruby/object:Gem::Version
|
198
196
|
version: 1.9.2
|
199
197
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
200
|
-
none: false
|
201
198
|
requirements:
|
202
|
-
- -
|
199
|
+
- - '>='
|
203
200
|
- !ruby/object:Gem::Version
|
204
201
|
version: '0'
|
205
202
|
requirements: []
|
206
203
|
rubyforge_project:
|
207
|
-
rubygems_version:
|
204
|
+
rubygems_version: 2.0.3
|
208
205
|
signing_key:
|
209
|
-
specification_version:
|
206
|
+
specification_version: 4
|
210
207
|
summary: A primitive scaffold generator for writing CLI programs in Ruby.
|
211
208
|
test_files:
|
212
209
|
- test/test_cli.rb
|