excel-rb-appscript 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@
3
3
  Gem::Specification.new do |gem|
4
4
  gem.authors = ["Peter Wu"]
5
5
  gem.email = ["peter.wu@xbridge.com"]
6
- gem.description = %q{rb-appscript excel extension}
6
+ gem.description = %q{simplified rb-appscript for excel}
7
7
  gem.summary = %q{with basic excel dictionary}
8
8
  gem.homepage = ""
9
9
 
@@ -11,7 +11,7 @@ Gem::Specification.new do |gem|
11
11
  # gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
12
12
  gem.name = "excel-rb-appscript"
13
13
  gem.require_paths = ["lib"]
14
- gem.version = "0.0.6"
14
+ gem.version = "0.0.7"
15
15
 
16
16
 
17
17
  gem.add_runtime_dependency "rb-appscript"
data/lib/Excel/app.rb CHANGED
@@ -47,5 +47,9 @@ module Excel
47
47
  app_object.workbooks.close
48
48
  app_object.quit
49
49
  end
50
+
51
+ def self.save_all
52
+ app_object.save
53
+ end
50
54
  end
51
55
  end
@@ -32,5 +32,9 @@ module Excel
32
32
  # raise "Worksheet not found" if !(worksheets.include? ws)
33
33
  WorkSheet.new(self, ws)
34
34
  end
35
+
36
+ def self.save
37
+ app_object.workbooks[workbook_name].save
38
+ end
35
39
  end
36
40
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: excel-rb-appscript
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-21 00:00:00.000000000 Z
12
+ date: 2012-06-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rb-appscript
@@ -27,7 +27,7 @@ dependencies:
27
27
  - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
29
  version: '0'
30
- description: rb-appscript excel extension
30
+ description: simplified rb-appscript for excel
31
31
  email:
32
32
  - peter.wu@xbridge.com
33
33
  executables: []