openmeta.rb 2.1.1 → 2.2.0
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
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/Gemfile.lock +1 -1
- data/Manifest.txt +1 -6
- data/Rakefile +15 -4
- data/lib/openmeta.rb +20 -5
- data/lib/openmeta/version.rb +1 -1
- data/openmeta.rb.gemspec +4 -4
- data/resource/OpenMeta.framework.pkg +0 -0
- metadata +2 -5
- metadata.gz.sig +0 -0
- data/lib/openmeta/framework/OpenMeta.framework/OpenMeta +0 -0
- data/lib/openmeta/framework/OpenMeta.framework/Versions/A/OpenMeta +0 -0
- data/lib/openmeta/framework/OpenMeta.framework/Versions/A/Resources/Info.plist +0 -40
- data/lib/openmeta/framework/OpenMeta.framework/Versions/A/Resources/en.lproj/InfoPlist.strings +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
data.tar.gz:
|
4
|
-
metadata.gz:
|
3
|
+
data.tar.gz: 09d5608e5e5a8eed9cbb6fde493cab6d9cb86f0a
|
4
|
+
metadata.gz: 39db983764ae308f2303867c3175814c65f93400
|
5
5
|
SHA512:
|
6
|
-
data.tar.gz:
|
7
|
-
metadata.gz:
|
6
|
+
data.tar.gz: 8bdded95be2f6c65986d5b83bb1460fb56099ea8090f0a709c824e5689539510e0aa085b00ae3251753edc92319a5aeb5aa2937160eac56a9c5dff347a43487a
|
7
|
+
metadata.gz: 4560a44f94921f153da84904933e140c59d88abe3fa34b574c377cbc0298a86ccf3b3f5821e0eadc25df90352d948203c49902265dfb637bf94afcf4cbfb9560
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/Gemfile.lock
CHANGED
data/Manifest.txt
CHANGED
@@ -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
|
-
|
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"]}"
|
data/lib/openmeta.rb
CHANGED
@@ -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
|
-
|
15
|
-
|
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
|
data/lib/openmeta/version.rb
CHANGED
data/openmeta.rb.gemspec
CHANGED
@@ -2,17 +2,17 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "openmeta.rb"
|
5
|
-
s.version = "2.
|
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-
|
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/ )
|
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", "
|
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"]
|
Binary file
|
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.
|
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
|
Binary file
|
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>
|