openmeta.rb 2.1.1 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- data.tar.gz: ee32f0638e875846c1730812753fe2ea5cb3d8eb
4
- metadata.gz: e5776ace6d1bef898a5892497313243f0c4df316
3
+ data.tar.gz: 09d5608e5e5a8eed9cbb6fde493cab6d9cb86f0a
4
+ metadata.gz: 39db983764ae308f2303867c3175814c65f93400
5
5
  SHA512:
6
- data.tar.gz: d96d7dc0367de083457e0f19ca6f9c4e170eaa5c5806f60de2574ce9a4b17aeb8d0b64fbe5ccfb08878b51529496fefd84524b6580cb9fc6c8072fe9ebdb5c45
7
- metadata.gz: 99f3f835afbf69194ff4adb2fac8f85d35782490eb2f61f894784dba6a4c6edef098e7f9ebc316b11ccec8acfd24c22e33b1bf2e171f2f0b7a5f7a4e84cdf983
6
+ data.tar.gz: 8bdded95be2f6c65986d5b83bb1460fb56099ea8090f0a709c824e5689539510e0aa085b00ae3251753edc92319a5aeb5aa2937160eac56a9c5dff347a43487a
7
+ metadata.gz: 4560a44f94921f153da84904933e140c59d88abe3fa34b574c377cbc0298a86ccf3b3f5821e0eadc25df90352d948203c49902265dfb637bf94afcf4cbfb9560
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- openmeta.rb (2.0.0.20130505143950)
4
+ openmeta.rb (2.1.1.20131024194128)
5
5
  thor (~> 0.18.0)
6
6
 
7
7
  GEM
@@ -9,17 +9,12 @@ Rakefile
9
9
  bin/tag
10
10
  lib/openmeta.rb
11
11
  lib/openmeta/cli.rb
12
- lib/openmeta/framework/OpenMeta.framework/OpenMeta
13
- lib/openmeta/framework/OpenMeta.framework/Resources
14
- lib/openmeta/framework/OpenMeta.framework/Versions/A/OpenMeta
15
- lib/openmeta/framework/OpenMeta.framework/Versions/A/Resources/Info.plist
16
- lib/openmeta/framework/OpenMeta.framework/Versions/A/Resources/en.lproj/InfoPlist.strings
17
- lib/openmeta/framework/OpenMeta.framework/Versions/Current
18
12
  lib/openmeta/friendly_errors.rb
19
13
  lib/openmeta/macruby.rb
20
14
  lib/openmeta/rubycocoa.rb
21
15
  lib/openmeta/ui.rb
22
16
  lib/openmeta/version.rb
23
17
  openmeta.rb.gemspec
18
+ resource/OpenMeta.framework.pkg
24
19
  spec/openmeta_spec.rb
25
20
  spec/spec_helper.rb
data/Rakefile CHANGED
@@ -19,15 +19,26 @@ Hoe.spec 'openmeta.rb' do
19
19
  # extra_deps << ['filetype', '~> 0.3.0']
20
20
 
21
21
 
22
-
23
-
24
-
25
22
  extra_dev_deps << ['rspec']
26
23
  extra_dev_deps << ['hoe'] << ['hoe-gemspec'] << ['hoe-git'] << ['hoe-version'] << ['hoe-bundler']
27
24
  extra_dev_deps << ['guard'] << ['guard-rspec'] << ['terminal-notifier-guard'] << ['growl']
25
+
26
+ post_install_message = %Q{
27
+ _ _ _ _
28
+ | \ | | ___ | |_ ___| |
29
+ | \| |/ _ \| __/ _ \ |
30
+ | |\ | (_) | || __/_|
31
+ |_| \_|\___/ \__\___(_)
32
+
33
+ You need to manually install OpenMeta.framework!
34
+
35
+ The package is installed to `gem which openmeta.rb`/resource/OpenMeta.framework.pkg
36
+
37
+ }
28
38
  end
29
39
 
30
- %w{major minor patch}.each { |v|
40
+
41
+ %w{major minor patch}.each { |v|
31
42
  desc "Bump #{v.capitalize} Version"
32
43
  task "bump:#{v}", [:message] => ["version:bump:#{v}"] do |t, args|
33
44
  m = args[:message] ? args[:message] : "Bump version to #{ENV["VERSION"]}"
@@ -1,18 +1,33 @@
1
1
  #!/usr/bin/env ruby
2
2
  # -*- coding: utf-8 -*-
3
3
 
4
- ($LOAD_PATH << File.expand_path("../openmeta/framework", __FILE__)).uniq!
5
-
6
4
  if defined? MACRUBY_VERSION
7
5
  framework "OpenMeta"
8
6
  require 'openmeta/macruby'
9
7
  elsif RUBY_VERSION < "1.9"
10
-
8
+
11
9
  require 'osx/cocoa'
12
10
  require 'rubygems'
13
11
  require 'openmeta/rubycocoa'
14
- openmeta_framework = File.expand_path("../openmeta/framework/OpenMeta.framework", __FILE__)
15
- OSX::require_framework openmeta_framework
12
+ begin
13
+ OSX::require_framework 'OpenMeta'
14
+ rescue ArgumentError => e
15
+ raise ArgumentError, %Q{
16
+ _ _ _ _
17
+ | \ | | ___ | |_ ___| |
18
+ | \| |/ _ \| __/ _ \ |
19
+ | |\ | (_) | || __/_|
20
+ |_| \_|\___/ \__\___(_)
21
+
22
+ You need to manually install OpenMeta.framework!
23
+
24
+ The package is installed to `gem which openmeta.rb`/resource/OpenMeta.framework.pkg
25
+
26
+
27
+ #{e.message}
28
+ #{e.backtrace.join("\n")}
29
+ }
30
+ end
16
31
  else
17
32
  raise NotImplementedError, "(openmeta.rb) only work with macruby or system ruby"
18
33
  end
@@ -1,4 +1,4 @@
1
1
  module Openmeta
2
- VERSION = '2.1.1'
2
+ VERSION = '2.2.0'
3
3
  end
4
4
 
@@ -2,17 +2,17 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "openmeta.rb"
5
- s.version = "2.0.0.20130505143950"
5
+ s.version = "2.1.1.20131024194128"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Zhao Cai"]
9
9
  s.cert_chain = ["/Users/zhaocai/.gem/gem-public_cert.pem"]
10
- s.date = "2013-05-05"
11
- s.description = "openMeta in Ruby (support mac system native ruby 1.8, and MacRuby). This gem ports [openmeta]( http://code.google.com/p/openmeta/ ) api to ruby using framework."
10
+ s.date = "2013-10-24"
11
+ s.description = "openMeta in Ruby (support mac system native ruby 1.8, and MacRuby). This gem ports [openmeta]( http://code.google.com/p/openmeta/ ) API to ruby using framework.\n\nIn OSX 10.9, the default support for rubycocoa is dropped. You can use /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby."
12
12
  s.email = ["caizhaoff@gmail.com"]
13
13
  s.executables = ["tag"]
14
14
  s.extra_rdoc_files = ["History.txt", "Manifest.txt", "README.md"]
15
- s.files = [".gemtest", ".ruby-version", "Gemfile", "Gemfile.lock", "Guardfile", "History.txt", "Manifest.txt", "README.md", "Rakefile", "bin/tag", "lib/openmeta.rb", "lib/openmeta/cli.rb", "lib/openmeta/framework/OpenMeta.framework/Headers", "lib/openmeta/framework/OpenMeta.framework/OpenMeta", "lib/openmeta/framework/OpenMeta.framework/Resources", "lib/openmeta/framework/OpenMeta.framework/Versions/A/Headers/OpenMeta.h", "lib/openmeta/framework/OpenMeta.framework/Versions/A/Headers/OpenMetaBackup.h", "lib/openmeta/framework/OpenMeta.framework/Versions/A/Headers/OpenMetaPrefs.h", "lib/openmeta/framework/OpenMeta.framework/Versions/A/OpenMeta", "lib/openmeta/framework/OpenMeta.framework/Versions/A/Resources/Info.plist", "lib/openmeta/framework/OpenMeta.framework/Versions/A/Resources/en.lproj/InfoPlist.strings", "lib/openmeta/framework/OpenMeta.framework/Versions/Current", "lib/openmeta/friendly_errors.rb", "lib/openmeta/macruby.rb", "lib/openmeta/rubycocoa.rb", "lib/openmeta/ui.rb", "lib/openmeta/version.rb", "openmeta.rb.gemspec", "spec/openmeta_spec.rb", "spec/spec_helper.rb"]
15
+ s.files = [".gemtest", "Gemfile", "Gemfile.lock", "Guardfile", "History.txt", "Manifest.txt", "README.md", "Rakefile", "bin/tag", "lib/openmeta.rb", "lib/openmeta/cli.rb", "lib/openmeta/friendly_errors.rb", "lib/openmeta/macruby.rb", "lib/openmeta/rubycocoa.rb", "lib/openmeta/ui.rb", "lib/openmeta/version.rb", "openmeta.rb.gemspec", "resource/OpenMeta.framework.pkg", "spec/openmeta_spec.rb", "spec/spec_helper.rb"]
16
16
  s.homepage = "http://zhaocai.github.com/openmeta.rb"
17
17
  s.licenses = ["GPL-3"]
18
18
  s.rdoc_options = ["--main", "README.md"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openmeta.rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zhao Cai
@@ -162,16 +162,13 @@ files:
162
162
  - bin/tag
163
163
  - lib/openmeta.rb
164
164
  - lib/openmeta/cli.rb
165
- - lib/openmeta/framework/OpenMeta.framework/OpenMeta
166
- - lib/openmeta/framework/OpenMeta.framework/Versions/A/OpenMeta
167
- - lib/openmeta/framework/OpenMeta.framework/Versions/A/Resources/Info.plist
168
- - lib/openmeta/framework/OpenMeta.framework/Versions/A/Resources/en.lproj/InfoPlist.strings
169
165
  - lib/openmeta/friendly_errors.rb
170
166
  - lib/openmeta/macruby.rb
171
167
  - lib/openmeta/rubycocoa.rb
172
168
  - lib/openmeta/ui.rb
173
169
  - lib/openmeta/version.rb
174
170
  - openmeta.rb.gemspec
171
+ - resource/OpenMeta.framework.pkg
175
172
  - spec/openmeta_spec.rb
176
173
  - spec/spec_helper.rb
177
174
  homepage: http://zhaocai.github.com/openmeta.rb
metadata.gz.sig CHANGED
Binary file
@@ -1,40 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>BuildMachineOSBuild</key>
6
- <string>13A603</string>
7
- <key>CFBundleDevelopmentRegion</key>
8
- <string>English</string>
9
- <key>CFBundleExecutable</key>
10
- <string>OpenMeta</string>
11
- <key>CFBundleIdentifier</key>
12
- <string>com.openmeta.OpenMeta</string>
13
- <key>CFBundleInfoDictionaryVersion</key>
14
- <string>6.0</string>
15
- <key>CFBundleName</key>
16
- <string>OpenMeta</string>
17
- <key>CFBundlePackageType</key>
18
- <string>FMWK</string>
19
- <key>CFBundleShortVersionString</key>
20
- <string>1.0</string>
21
- <key>CFBundleSignature</key>
22
- <string>OPME</string>
23
- <key>CFBundleVersion</key>
24
- <string>1</string>
25
- <key>DTCompiler</key>
26
- <string>com.apple.compilers.llvm.clang.1_0</string>
27
- <key>DTPlatformBuild</key>
28
- <string>5A2053</string>
29
- <key>DTPlatformVersion</key>
30
- <string>GM</string>
31
- <key>DTSDKBuild</key>
32
- <string>13A595</string>
33
- <key>DTSDKName</key>
34
- <string>macosx10.9</string>
35
- <key>DTXcode</key>
36
- <string>0501</string>
37
- <key>DTXcodeBuild</key>
38
- <string>5A2053</string>
39
- </dict>
40
- </plist>