rcurse 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/rcurse +15 -0
  3. data/rcurse.gemspec +2 -1
  4. metadata +5 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c26d197807ffb34df4ef372293e0636708865057
4
- data.tar.gz: 05e62ada8b1954a4ee5bb326664fdeb199f2f232
3
+ metadata.gz: 170b6db184dd6e7179927e347cbd615f7388c494
4
+ data.tar.gz: 200b0db10151a10214ceb3bc4fab2516e085d1db
5
5
  SHA512:
6
- metadata.gz: c88ae712a7d591f8ff212d0296fb4c62a6dc74ddccbe1a0c37da0f4943698dec8f084e7f24edaa54b808d2fef9c574fa6168cecfea33612a42d4c6063e8be444
7
- data.tar.gz: 77122d9d2e900d5f4d98f2d0dfeba000d54aa7f0d7eeb7be7642f4ecad191e11616cc987bee345a977f5c5fca988f305c9cd7a794e2fd25d7d3a644eb3ef1e2c
6
+ metadata.gz: a3730771a339db49d5cba3de902ac72fa0f79fa3cc8715c5b07ac0d26db7f7e45e058cee342a5f1ae87f7a1b3e442082be6a6656f7d0c50e732565d9ae964334
7
+ data.tar.gz: ed7529da098310db75ed6e03689b10a1dc248960b285e94a2ce9bf5f1af145643cc25928bb51a29a2908d24dea07e4de4b04267d0f2771605ea626b1f2d522f6
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'rcurse'
4
+
5
+ def usage
6
+ puts "rcurse - Render a rcurse template
7
+ rcurse <file> <target>"
8
+ end
9
+
10
+ if ARGV[0] && ARGV[1]
11
+ Rcurse.render_file ARGV[0], ARGV[1]
12
+ else
13
+ usage
14
+ end
15
+
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'rcurse'
3
- s.version = '0.3.1'
3
+ s.version = '0.4.0'
4
4
  s.licenses = ['MIT']
5
5
  s.summary = "Super simple template engine."
6
6
  s.description = "Super simple template engine."
@@ -8,4 +8,5 @@ Gem::Specification.new do |s|
8
8
  s.email = 'captain@pirrate.me'
9
9
  s.files = `git ls-files`.split("\n")
10
10
  s.homepage = 'http://shvelo.github.io/rcurse'
11
+ s.executables << 'rcurse'
11
12
  end
metadata CHANGED
@@ -1,18 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rcurse
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Shvelidze
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-27 00:00:00.000000000 Z
11
+ date: 2014-01-28 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Super simple template engine.
14
14
  email: captain@pirrate.me
15
- executables: []
15
+ executables:
16
+ - rcurse
16
17
  extensions: []
17
18
  extra_rdoc_files: []
18
19
  files:
@@ -20,6 +21,7 @@ files:
20
21
  - Gemfile
21
22
  - LICENSE
22
23
  - README.md
24
+ - bin/rcurse
23
25
  - lib/rcurse.rb
24
26
  - lib/rcurse/engine.rb
25
27
  - lib/rcurse/helper.rb