app-version-git 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
@@ -0,0 +1,70 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "app-version-git"
8
+ s.version = "0.0.2"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Ondrej Bartas"]
12
+ s.date = "2012-03-20"
13
+ s.description = "Show version number based on git commit counts and enable to show change log from commit messages"
14
+ s.email = "ondrej@bartas.cz"
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ "Gemfile",
22
+ "LICENSE.txt",
23
+ "README.rdoc",
24
+ "Rakefile",
25
+ "VERSION",
26
+ "app-version-git.gemspec",
27
+ "lib/app-version-git.rb",
28
+ "test/helper.rb",
29
+ "test/test_app-version-git.rb"
30
+ ]
31
+ s.homepage = "http://github.com/ondrejbartas/app-version-git"
32
+ s.licenses = ["MIT"]
33
+ s.require_paths = ["lib"]
34
+ s.rubygems_version = "1.8.10"
35
+ s.summary = "Version number for application based on git commits"
36
+
37
+ if s.respond_to? :specification_version then
38
+ s.specification_version = 3
39
+
40
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
41
+ s.add_runtime_dependency(%q<git>, [">= 0"])
42
+ s.add_development_dependency(%q<shoulda>, [">= 0"])
43
+ s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
44
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
45
+ s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
46
+ s.add_development_dependency(%q<rcov>, [">= 0"])
47
+ s.add_development_dependency(%q<turn>, ["~> 0.8.2"])
48
+ s.add_development_dependency(%q<ansi>, ["~> 1.2.5"])
49
+ else
50
+ s.add_dependency(%q<git>, [">= 0"])
51
+ s.add_dependency(%q<shoulda>, [">= 0"])
52
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
53
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
54
+ s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
55
+ s.add_dependency(%q<rcov>, [">= 0"])
56
+ s.add_dependency(%q<turn>, ["~> 0.8.2"])
57
+ s.add_dependency(%q<ansi>, ["~> 1.2.5"])
58
+ end
59
+ else
60
+ s.add_dependency(%q<git>, [">= 0"])
61
+ s.add_dependency(%q<shoulda>, [">= 0"])
62
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
63
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
64
+ s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
65
+ s.add_dependency(%q<rcov>, [">= 0"])
66
+ s.add_dependency(%q<turn>, ["~> 0.8.2"])
67
+ s.add_dependency(%q<ansi>, ["~> 1.2.5"])
68
+ end
69
+ end
70
+
@@ -5,7 +5,7 @@ require 'git'
5
5
 
6
6
  class AppVersion
7
7
  def initialize path
8
- path = File.expand_path(File.join(File.dirname(path),".."))
8
+ path = File.expand_path(File.dirname(path))
9
9
  @git = Git.open(path)
10
10
  end
11
11
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: app-version-git
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:
@@ -13,7 +13,7 @@ date: 2012-03-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: git
16
- requirement: &70118059289360 !ruby/object:Gem::Requirement
16
+ requirement: &70272875308000 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70118059289360
24
+ version_requirements: *70272875308000
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: shoulda
27
- requirement: &70118059285840 !ruby/object:Gem::Requirement
27
+ requirement: &70272875307180 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70118059285840
35
+ version_requirements: *70272875307180
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rdoc
38
- requirement: &70118059283180 !ruby/object:Gem::Requirement
38
+ requirement: &70272875305640 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '3.12'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70118059283180
46
+ version_requirements: *70272875305640
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: bundler
49
- requirement: &70118059205000 !ruby/object:Gem::Requirement
49
+ requirement: &70272875318920 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 1.0.0
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70118059205000
57
+ version_requirements: *70272875318920
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: jeweler
60
- requirement: &70118059201680 !ruby/object:Gem::Requirement
60
+ requirement: &70272875318000 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 1.8.3
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70118059201680
68
+ version_requirements: *70272875318000
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rcov
71
- requirement: &70118059198880 !ruby/object:Gem::Requirement
71
+ requirement: &70272875316320 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *70118059198880
79
+ version_requirements: *70272875316320
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: turn
82
- requirement: &70118059193740 !ruby/object:Gem::Requirement
82
+ requirement: &70272875314000 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ~>
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: 0.8.2
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *70118059193740
90
+ version_requirements: *70272875314000
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: ansi
93
- requirement: &70118059119860 !ruby/object:Gem::Requirement
93
+ requirement: &70272875326280 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ~>
@@ -98,7 +98,7 @@ dependencies:
98
98
  version: 1.2.5
99
99
  type: :development
100
100
  prerelease: false
101
- version_requirements: *70118059119860
101
+ version_requirements: *70272875326280
102
102
  description: Show version number based on git commit counts and enable to show change
103
103
  log from commit messages
104
104
  email: ondrej@bartas.cz
@@ -114,6 +114,7 @@ files:
114
114
  - README.rdoc
115
115
  - Rakefile
116
116
  - VERSION
117
+ - app-version-git.gemspec
117
118
  - lib/app-version-git.rb
118
119
  - test/helper.rb
119
120
  - test/test_app-version-git.rb
@@ -132,7 +133,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
132
133
  version: '0'
133
134
  segments:
134
135
  - 0
135
- hash: 3692916874404658459
136
+ hash: -204927702877568417
136
137
  required_rubygems_version: !ruby/object:Gem::Requirement
137
138
  none: false
138
139
  requirements: