tagen 0.2.1 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,32 @@
1
+ require "spec_helper"
2
+ require "tagen/yaml"
3
+ require "tagen/core"
4
+ require "tmpdir"
5
+ require "fileutils"
6
+
7
+ describe YAML do
8
+ before :all do
9
+ @curdir = Dir.pwd
10
+ @tmpdir = Dir.mktmpdir
11
+ Dir.chdir @tmpdir
12
+ end
13
+
14
+ after :all do
15
+ Dir.chdir @curdir
16
+ FileUtils.rm_r @tmpdir
17
+ end
18
+
19
+ describe ".dump" do
20
+ it "support Pa" do
21
+ YAML.dump("foo", Pa('a'))
22
+ File.read('a').should =~ /foo/
23
+ end
24
+ end
25
+
26
+ describe ".load" do
27
+ it "support Pa" do
28
+ YAML.dump('foo', open('b', 'w+'))
29
+ YAML.load(Pa('b')).should == 'foo'
30
+ end
31
+ end
32
+ end
data/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module VERSION
2
2
  MAJOR = 0
3
3
  MINOR = 2
4
- PATCH = 1
4
+ PATCH = 3
5
5
 
6
6
  IS = [MAJOR, MINOR, PATCH].join(".")
7
7
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: tagen
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.1
5
+ version: 0.2.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Guten
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-03-11 00:00:00 +08:00
13
+ date: 2011-03-19 00:00:00 +08:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -53,6 +53,7 @@ files:
53
53
  - LICENSE
54
54
  - README.md
55
55
  - Rakefile
56
+ - TODO
56
57
  - docs/Architecture.md
57
58
  - docs/CoreExtensions.md
58
59
  - docs/ExtraExtensions.md
@@ -61,6 +62,8 @@ files:
61
62
  - lib/tagen/core.rb
62
63
  - lib/tagen/core/array.rb
63
64
  - lib/tagen/core/array/extract_options.rb
65
+ - lib/tagen/core/enumerable.rb
66
+ - lib/tagen/core/enumerator.rb
64
67
  - lib/tagen/core/hash.rb
65
68
  - lib/tagen/core/io.rb
66
69
  - lib/tagen/core/kernel.rb
@@ -78,6 +81,7 @@ files:
78
81
  - lib/tagen/core/string.rb
79
82
  - lib/tagen/core/string/pyformat.rb
80
83
  - lib/tagen/core/time.rb
84
+ - lib/tagen/erb.rb
81
85
  - lib/tagen/gdk_pixbuf2.rb
82
86
  - lib/tagen/gtk2.rb
83
87
  - lib/tagen/magick.rb
@@ -90,12 +94,19 @@ files:
90
94
  - lib/tagen/vim.rb
91
95
  - lib/tagen/xmpp4r.rb
92
96
  - lib/tagen/xmpp4r/roster.rb
97
+ - lib/tagen/yaml.rb
93
98
  - spec/spec_helper.rb
94
99
  - spec/tagen/cairo_spec.rb
95
100
  - spec/tagen/core/array/extract_options_spec.rb
101
+ - spec/tagen/core/array_spec.rb
102
+ - spec/tagen/core/enumerator_spec.rb
96
103
  - spec/tagen/core/pa/cmd_spec.rb
97
104
  - spec/tagen/core/pa/dir_spec.rb
105
+ - spec/tagen/core/pa/path_spec.rb
106
+ - spec/tagen/core/pa/state_spec.rb
98
107
  - spec/tagen/core/string/pyformat_spec.rb
108
+ - spec/tagen/erb_spec.rb
109
+ - spec/tagen/yaml_spec.rb
99
110
  - tagen.gemspec
100
111
  - tagen.watchr
101
112
  - version.rb