rubinius-toolset 2.3.0 → 2.3.1
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 +4 -4
- data/lib/rubinius/toolset.rb +1 -1
- data/lib/rubinius/toolset/version.rb +1 -1
- data/spec/toolset_spec.rb +7 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 350de5697d9de82b3379636706d56f159e53b818
|
|
4
|
+
data.tar.gz: 853c0f7193b04b1f92228ed4c387afcdbddf0086
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b7864cd5b951b8a8f69ebaa50cd7e1a74410e97810a34b8166d2f055befaed40ccedfc875df30b58ea562042a091416599a61313aa6c9ed516745cb3f0012eaa
|
|
7
|
+
data.tar.gz: 26f7a83b977dafc9e5c43f4777693ef4baee4af5a9b92509f5942940842c5f0886e81532a592ed3f0f57865a4455fe82d768b6ae49f45667a7bcbc8b332a7228
|
data/lib/rubinius/toolset.rb
CHANGED
data/spec/toolset_spec.rb
CHANGED
|
@@ -31,6 +31,13 @@ describe "Rubinius::ToolSets.create" do
|
|
|
31
31
|
end
|
|
32
32
|
end
|
|
33
33
|
|
|
34
|
+
it "restores the original set of $LOADED_FEATURES after running the block" do
|
|
35
|
+
$LOADED_FEATURES.should_not be_empty
|
|
36
|
+
previously_loaded_features = $LOADED_FEATURES.dup
|
|
37
|
+
Rubinius::ToolSets.create do end
|
|
38
|
+
$LOADED_FEATURES.should == previously_loaded_features
|
|
39
|
+
end
|
|
40
|
+
|
|
34
41
|
it "sets the 'ToolSet' constant on the yielded ToolSet to refer to itself" do
|
|
35
42
|
Rubinius::ToolSets.create :spec do |ts|
|
|
36
43
|
ts.should equal(ts::ToolSet)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubinius-toolset
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.3.
|
|
4
|
+
version: 2.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brian Shirai
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-10-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|