motion-schemes 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- motion-schemes (0.0.1)
4
+ motion-schemes (0.0.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/Rakefile CHANGED
@@ -28,3 +28,8 @@ task :gem do
28
28
  sh "mkdir -p pkg"
29
29
  sh "mv *.gem pkg/"
30
30
  end
31
+
32
+ desc "Release the gem"
33
+ task :release => :gem do
34
+ sh "bundle exec gem push pkg/motion-schemes-#{Motion::Project::Schemes::VERSION}.gem"
35
+ end
@@ -3,4 +3,5 @@ unless defined?(Motion::Project::Config)
3
3
  end
4
4
 
5
5
  require File.join(File.dirname(__FILE__), "motion/project/config")
6
- require File.join(File.dirname(__FILE__), "motion/project/schemes")
6
+ require File.join(File.dirname(__FILE__), "motion/project/schemes")
7
+ require File.join(File.dirname(__FILE__), "motion/project/version")
@@ -0,0 +1,7 @@
1
+ module Motion
2
+ module Project
3
+ module Schemes
4
+ VERSION = "0.0.2"
5
+ end
6
+ end
7
+ end
@@ -1,3 +1,5 @@
1
+ require File.expand_path('../lib/motion/project/version', __FILE__)
2
+
1
3
  Gem::Specification.new do |gem|
2
4
  gem.authors = ["Francis Chong"]
3
5
  gem.email = ["francis@ignition.hk"]
@@ -9,7 +11,7 @@ Gem::Specification.new do |gem|
9
11
  gem.test_files = gem.files.grep(%r{^(test|spec|lib_spec|features)/})
10
12
  gem.name = "motion-schemes"
11
13
  gem.require_paths = ["lib"]
12
- gem.version = "0.0.1"
14
+ gem.version = Motion::Project::Schemes::VERSION
13
15
 
14
16
  gem.add_development_dependency 'rake'
15
17
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motion-schemes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -44,6 +44,7 @@ files:
44
44
  - lib/motion-schemes.rb
45
45
  - lib/motion/project/config.rb
46
46
  - lib/motion/project/schemes.rb
47
+ - lib/motion/project/version.rb
47
48
  - motion-schemes.gemspec
48
49
  - spec/main_spec.rb
49
50
  homepage: https://github.com/siuying/motion-schemes
@@ -60,7 +61,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
60
61
  version: '0'
61
62
  segments:
62
63
  - 0
63
- hash: -3469850448812175496
64
+ hash: -3533121039635263590
64
65
  required_rubygems_version: !ruby/object:Gem::Requirement
65
66
  none: false
66
67
  requirements:
@@ -69,7 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
70
  version: '0'
70
71
  segments:
71
72
  - 0
72
- hash: -3469850448812175496
73
+ hash: -3533121039635263590
73
74
  requirements: []
74
75
  rubyforge_project:
75
76
  rubygems_version: 1.8.23