openmeta.rb 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
- ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- ODJjMjYwNDc2NjczYWI5NjdkN2JmZThiNzFlMWY4ZDI1OTEwMzRlMg==
5
- data.tar.gz: !binary |-
6
- YzkxNjBjOTg0NzhjZjMxMWQyYmI2NTg0ZDQwNWE3OGU1OTAwM2Q4ZA==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- Y2UzYTI2MDU1MmNmNGY2MWJmZjBmM2ZmNmU3NTJiOWNiZDQ2YjQxZmRiNGI4
10
- N2QwNzA5YmQzOTI5YzcyOGQwYzRhNzE3YTk4MDU3YTM4ZmY3MjhhMDdlNzc5
11
- MjJhM2JkYTBkOTkwNDU5OTUzOTdhY2Y1NDBmNjJmMmIyOWM0MGM=
12
- data.tar.gz: !binary |-
13
- MmNkYzc1ZWQ0NjczNmM1MDc5ODQ2YjQyZjE0MTZjMTUyMDEyYTU3OGM4M2Rk
14
- ZDk2YTlmYzEyN2MyM2VkODMzZDJmNGM4YjIyMGZlYjk1NTA5ZmYwYzMwNWRh
15
- YWI4ZTcxZjNmOTM1MjkwMWVjMTJjMGI1MmI2YmQ5NDdlN2YzMGY=
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 10a3d8f7c8578f7ac3e59eccf18cd104fef1baf1
4
+ data.tar.gz: 369d2b267e3fa6185b3971f547911be161e7b894
5
+ SHA512:
6
+ metadata.gz: ecf6b15d8ffcc7003458583e4201cce9f467c41bd3a9f0e535c0c1c236f1bf7ac335ad2171e4a4f9c715129a17dedd5b689849599c4fcd6ccc7b55557b9dcd95
7
+ data.tar.gz: 903cdbbe30a18a13cbc61df1c84701b53264d17c75908e3a505f6c0b9500eb24f29ee229a5095c7ca1699876a17cfee0a290dd7f7d162d6978e2162d637e8264
@@ -0,0 +1 @@
1
+ system
data/Gemfile ADDED
@@ -0,0 +1,12 @@
1
+ # -*- ruby -*-
2
+
3
+ # DO NOT EDIT THIS FILE. Instead, edit Rakefile, and run `rake bundler:gemfile`.
4
+
5
+ source "https://rubygems.org/"
6
+
7
+ gem "thor", "~>0.17.0"
8
+
9
+ gem "rdoc", "~>3.10", :group => [:development, :test]
10
+ gem "hoe", "~>3.5", :group => [:development, :test]
11
+
12
+ # vim: syntax=ruby
@@ -0,0 +1,13 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ hoe (3.5.2)
5
+ rake (>= 0.8, < 11.0)
6
+
7
+ PLATFORMS
8
+ ruby
9
+
10
+ DEPENDENCIES
11
+ hoe (~> 3.5)
12
+ rdoc (~> 3.10)
13
+ thor (~> 0.17.0)
@@ -1,3 +1,6 @@
1
+ .ruby-version
2
+ Gemfile
3
+ Gemfile.lock
1
4
  History.txt
2
5
  Manifest.txt
3
6
  README.md
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # openmeta.rb
2
2
 
3
- * home :: https://github.com/zhaocai/openmeta.rb
3
+ * home :: http://zhaocai.github.com/openmeta.rb
4
4
  * rdoc :: http://rubydoc.info/gems/openmeta.rb/
5
5
  * code :: https://github.com/zhaocai/openmeta.rb
6
6
  * bugs :: https://github.com/zhaocai/openmeta.rb/issues
data/Rakefile CHANGED
@@ -16,5 +16,12 @@ Hoe.spec 'openmeta.rb' do
16
16
  extra_deps << ['thor', '~> 0.17.0']
17
17
  end
18
18
 
19
+ %w{major minor patch}.each { |v|
20
+ desc "Bump #{v.capitalize} Version and Commit"
21
+ task "bump:#{v}", [:message] => ["version:bump:#{v}"] do |t, args|
22
+ m = args[:message] ? args[:message] : "Bump version to #{ENV["VERSION"]}"
23
+ sh "git commit -am '#{m}'"
24
+ end
25
+ }
19
26
 
20
27
  # vim: syntax=ruby
@@ -31,6 +31,7 @@ module Openmeta
31
31
  :type => :string,
32
32
  :desc => "clone openmeta tags and rating from the FILE [required]"
33
33
  def clone(*files)
34
+ from_file = options[:from]
34
35
  unless File.exist?(from_file)
35
36
  raise Openmeta::PathError, "#{from_file} does not exist!"
36
37
  end
@@ -1,4 +1,4 @@
1
1
  module Openmeta
2
- VERSION = '1.1.1'
2
+ VERSION = '1.1.2'
3
3
  end
4
4
 
metadata CHANGED
@@ -1,68 +1,60 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: openmeta.rb
3
- version: !ruby/object:Gem::Version
4
- version: 1.1.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.1.2
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - Zhao Cai
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-03-27 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
11
+
12
+ date: 2013-03-31 00:00:00 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
14
15
  name: thor
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ~>
18
- - !ruby/object:Gem::Version
19
- version: 0.17.0
20
- type: :runtime
21
16
  prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
17
+ requirement: &id001 !ruby/object:Gem::Requirement
18
+ requirements:
24
19
  - - ~>
25
- - !ruby/object:Gem::Version
20
+ - !ruby/object:Gem::Version
26
21
  version: 0.17.0
27
- - !ruby/object:Gem::Dependency
22
+ type: :runtime
23
+ version_requirements: *id001
24
+ - !ruby/object:Gem::Dependency
28
25
  name: rdoc
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ~>
32
- - !ruby/object:Gem::Version
33
- version: '3.10'
34
- type: :development
35
26
  prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ~>
39
- - !ruby/object:Gem::Version
40
- version: '3.10'
41
- - !ruby/object:Gem::Dependency
42
- name: hoe
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
27
+ requirement: &id002 !ruby/object:Gem::Requirement
28
+ requirements:
45
29
  - - ~>
46
- - !ruby/object:Gem::Version
47
- version: '3.5'
30
+ - !ruby/object:Gem::Version
31
+ version: "3.10"
48
32
  type: :development
33
+ version_requirements: *id002
34
+ - !ruby/object:Gem::Dependency
35
+ name: hoe
49
36
  prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
37
+ requirement: &id003 !ruby/object:Gem::Requirement
38
+ requirements:
52
39
  - - ~>
53
- - !ruby/object:Gem::Version
54
- version: '3.5'
55
- description: openMeta in Ruby (MacRuby, more exactly!). This gem ports [openmeta](
56
- http://code.google.com/p/openmeta/ ) api to macruby using framework.
57
- email:
40
+ - !ruby/object:Gem::Version
41
+ version: "3.5"
42
+ type: :development
43
+ version_requirements: *id003
44
+ description: openMeta in Ruby (MacRuby, more exactly!). This gem ports [openmeta]( http://code.google.com/p/openmeta/ ) api to macruby using framework.
45
+ email:
58
46
  - caizhaoff@gmail.com
59
- executables:
47
+ executables:
60
48
  - tag
61
49
  extensions: []
62
- extra_rdoc_files:
50
+
51
+ extra_rdoc_files:
63
52
  - History.txt
64
53
  - Manifest.txt
65
- files:
54
+ files:
55
+ - .ruby-version
56
+ - Gemfile
57
+ - Gemfile.lock
66
58
  - History.txt
67
59
  - Manifest.txt
68
60
  - README.md
@@ -80,29 +72,32 @@ files:
80
72
  - lib/openmeta/friendly_errors.rb
81
73
  - lib/openmeta/ui.rb
82
74
  - lib/openmeta/version.rb
83
- homepage: https://github.com/zhaocai/openmeta.rb
75
+ homepage: http://zhaocai.github.com/openmeta.rb
84
76
  licenses: []
77
+
85
78
  metadata: {}
79
+
86
80
  post_install_message:
87
- rdoc_options:
81
+ rdoc_options:
88
82
  - --main
89
83
  - README.md
90
- require_paths:
84
+ require_paths:
91
85
  - lib
92
- required_ruby_version: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ! '>='
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
- required_rubygems_version: !ruby/object:Gem::Requirement
98
- requirements:
99
- - - ! '>='
100
- - !ruby/object:Gem::Version
101
- version: '0'
86
+ required_ruby_version: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - &id004
89
+ - ">="
90
+ - !ruby/object:Gem::Version
91
+ version: "0"
92
+ required_rubygems_version: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - *id004
102
95
  requirements: []
96
+
103
97
  rubyforge_project: openmeta.rb
104
98
  rubygems_version: 2.0.3
105
99
  signing_key:
106
100
  specification_version: 4
107
101
  summary: openMeta in Ruby (MacRuby, more exactly!)
108
102
  test_files: []
103
+