rouge-lang 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +6 -4
- data/lib/boot.rg +1 -1
- data/lib/rouge/version.rb +1 -1
- data/rouge-lang.gemspec +2 -2
- data/spec/core_spec.rg +1 -1
- data/spec/printer_spec.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c3477d91e21d8d26685e338a41dda6d7f9cb34e
|
4
|
+
data.tar.gz: 708cb7a658925a76058d450c93310883103730e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 907e28352c162e5d684be6e6f69756c29cfe6c8d5c34659b9b9ac9e3d4a72299424a1d3f535a1fb2f2fb8e34838c0277841a49657dd0847bebdcc19e912c7b93
|
7
|
+
data.tar.gz: 1a16a02a7e33675320ffeeb27b2bba480095542e8ce989072e4424470a93c67cfe4cf3f0e39a2c6961847821702ebcb9a2ccbbd84a8d35afe8dadc0ce4dc9fdc
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -8,7 +8,9 @@ Why?
|
|
8
8
|
* Quick boot time (currently around 0.1s).
|
9
9
|
* Ruby's gems tend to be modern with decent APIs.
|
10
10
|
|
11
|
-
You can try a Rouge REPL online at **[Try Rouge](http://try.rouge.io)**, or
|
11
|
+
<!-- You can try a Rouge REPL online at **[Try Rouge](http://try.rouge.io)**, or -->
|
12
|
+
|
13
|
+
Install the gem to get the local REPL:
|
12
14
|
|
13
15
|
``` bash
|
14
16
|
gem install rouge-lang
|
@@ -51,7 +53,7 @@ What about in Rails?
|
|
51
53
|
```
|
52
54
|
$ rails console -- -rrouge
|
53
55
|
Loading development environment (Rails 3.2.6)
|
54
|
-
1.9.3p194 :002 > Rouge
|
56
|
+
1.9.3p194 :002 > Rouge.repl
|
55
57
|
user=> (.where ruby/Content {:id 1})
|
56
58
|
Content Load (0.7ms) SELECT "contents".* FROM "contents" WHERE "contents"."id" = 1
|
57
59
|
[#<Content id: 1, content_group_id: 1, name: "welcome", content: "blah blah", created_at: "2012-08-26 11:30:50", updated_at: "2012-08-26 11:50:27", order: nil>]
|
@@ -80,7 +82,7 @@ include:
|
|
80
82
|
|
81
83
|
## authorship
|
82
84
|
|
83
|
-
Original author: [
|
85
|
+
Original author: [Yuki Izumi](https://github.com/kivikakk).
|
84
86
|
|
85
87
|
Committers:
|
86
88
|
|
@@ -96,7 +98,7 @@ Unreserved thanks to the following people for their contributions.
|
|
96
98
|
|
97
99
|
The [MIT license](http://opensource.org/licenses/MIT).
|
98
100
|
|
99
|
-
Copyright © 2012
|
101
|
+
Copyright © 2012–2013 Yuki Izumi
|
100
102
|
|
101
103
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
102
104
|
this software and associated documentation files (the "Software"), to deal in
|
data/lib/boot.rg
CHANGED
data/lib/rouge/version.rb
CHANGED
data/rouge-lang.gemspec
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
require File.expand_path('../lib/rouge/version', __FILE__)
|
4
4
|
|
5
5
|
Gem::Specification.new do |gem|
|
6
|
-
gem.authors = ["
|
7
|
-
gem.email = ["
|
6
|
+
gem.authors = ["Yuki Izumi"]
|
7
|
+
gem.email = ["rubygems@kivikakk.ee"]
|
8
8
|
gem.description = %q{Ruby + Clojure = Rouge.}
|
9
9
|
gem.summary = %q{An implementation of Clojure for Ruby.}
|
10
10
|
gem.homepage = "https://github.com/rouge-lang/rouge"
|
data/spec/core_spec.rg
CHANGED
data/spec/printer_spec.rb
CHANGED
@@ -142,14 +142,14 @@ describe Rouge::Printer do
|
|
142
142
|
end
|
143
143
|
|
144
144
|
context "multiple-element maps" do
|
145
|
-
# XXX(
|
145
|
+
# XXX(kivikakk): these tests rely on stable-ish Hash order
|
146
146
|
it { Rouge.print({:a => 1, :b => 2}, "").should eq "{:a 1, :b 2}" }
|
147
147
|
it { Rouge.print({:f => :f, :y => :y, :z => :z}, "").
|
148
148
|
should eq "{:f :f, :y :y, :z :z}" }
|
149
149
|
end
|
150
150
|
|
151
151
|
context "nested maps" do
|
152
|
-
# XXX(
|
152
|
+
# XXX(kivikakk): this test relies on stable-ish Hash order
|
153
153
|
it { Rouge.print({:a => {:z => 9},
|
154
154
|
:b => {:q => Rouge::Symbol[:q]}}, "").
|
155
155
|
should eq "{:a {:z 9}, :b {:q q}}" }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rouge-lang
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Yuki Izumi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -110,7 +110,7 @@ dependencies:
|
|
110
110
|
version: '0'
|
111
111
|
description: Ruby + Clojure = Rouge.
|
112
112
|
email:
|
113
|
-
-
|
113
|
+
- rubygems@kivikakk.ee
|
114
114
|
executables:
|
115
115
|
- rouge
|
116
116
|
extensions: []
|