panops-core 0.0.1alpha → 0.0.1alpha1
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.
- data/Gemfile.lock +1 -1
- data/Rakefile +2 -0
- data/lib/panops.rb +5 -0
- data/lib/panops/core.rb +2 -0
- data/lib/panops/core/version.rb +25 -0
- data/panops-core.gemspec +3 -1
- data/spec/integration/integration_helper.rb +1 -0
- data/spec/spec_helper.rb +5 -0
- data/spec/unit/panops/core/version_spec.rb +17 -0
- data/spec/unit/unit_helper.rb +1 -0
- metadata +19 -18
- data/bin/panops +0 -1
data/Gemfile.lock
CHANGED
data/Rakefile
CHANGED
data/lib/panops.rb
ADDED
data/lib/panops/core.rb
CHANGED
@@ -0,0 +1,25 @@
|
|
1
|
+
module PanOps
|
2
|
+
module Core
|
3
|
+
|
4
|
+
#Release version for PanOps Core. This versioning scheme adheres
|
5
|
+
#to the [semantic versioning specification](http://semver.org).
|
6
|
+
module Version
|
7
|
+
|
8
|
+
# The Major Version Number
|
9
|
+
MAJOR = '0'
|
10
|
+
# The Minor Version Number
|
11
|
+
MINOR = '0'
|
12
|
+
# The Patch Version Number
|
13
|
+
PATCH = '1alpha1'
|
14
|
+
|
15
|
+
# Converts the information stored in the Version module into a standards compliant
|
16
|
+
# version identification string
|
17
|
+
# @return [String] The standard version string
|
18
|
+
def self.to_standard_version_s
|
19
|
+
[ MAJOR, MINOR, PATCH ].join '.'
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
23
|
+
|
24
|
+
end
|
25
|
+
end
|
data/panops-core.gemspec
CHANGED
@@ -1,7 +1,9 @@
|
|
1
|
+
require File.expand_path('./lib/panops/core/version')
|
2
|
+
|
1
3
|
# -*- encoding: utf-8 -*-
|
2
4
|
Gem::Specification.new do |gem|
|
3
5
|
gem.name = 'panops-core'
|
4
|
-
gem.version =
|
6
|
+
gem.version = PanOps::Core::Version.to_standard_version_s
|
5
7
|
|
6
8
|
gem.authors = ["PanOps Platform Contributors"]
|
7
9
|
gem.email = ["engineering@panops.org"]
|
@@ -0,0 +1 @@
|
|
1
|
+
require 'spec_helper'
|
data/spec/spec_helper.rb
CHANGED
@@ -0,0 +1,17 @@
|
|
1
|
+
require 'unit/unit_helper'
|
2
|
+
|
3
|
+
describe PanOps::Core::Version do
|
4
|
+
|
5
|
+
context "module method" do
|
6
|
+
|
7
|
+
context "to_standard_version_s" do
|
8
|
+
|
9
|
+
it 'returns a string of format MAJOR.MINOR.PATCH' do
|
10
|
+
subject.to_standard_version_s.should eql([subject::MAJOR, subject::MINOR, subject::PATCH].join('.'))
|
11
|
+
end
|
12
|
+
|
13
|
+
end
|
14
|
+
|
15
|
+
end
|
16
|
+
|
17
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
require 'spec_helper'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: panops-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.1alpha1
|
5
5
|
prerelease: 5
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-11-
|
12
|
+
date: 2011-11-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
16
|
-
requirement: &
|
16
|
+
requirement: &9769700 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.9.2
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *9769700
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: mocha
|
27
|
-
requirement: &
|
27
|
+
requirement: &9769240 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 0.10.0
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *9769240
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rspec
|
38
|
-
requirement: &
|
38
|
+
requirement: &9768780 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 2.7.0
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *9768780
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: yard
|
49
|
-
requirement: &
|
49
|
+
requirement: &9768280 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0.7'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *9768280
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: rdiscount
|
60
|
-
requirement: &
|
60
|
+
requirement: &9767820 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ~>
|
@@ -65,13 +65,12 @@ dependencies:
|
|
65
65
|
version: 1.6.8
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *9767820
|
69
69
|
description: ! 'This gem contains components absolutely required for interaction with
|
70
70
|
PanOps. For example: the PanOps domain object model/validations, etc.'
|
71
71
|
email:
|
72
72
|
- engineering@panops.org
|
73
|
-
executables:
|
74
|
-
- panops
|
73
|
+
executables: []
|
75
74
|
extensions: []
|
76
75
|
extra_rdoc_files: []
|
77
76
|
files:
|
@@ -82,11 +81,15 @@ files:
|
|
82
81
|
- LICENSE
|
83
82
|
- README.md
|
84
83
|
- Rakefile
|
85
|
-
-
|
84
|
+
- lib/panops.rb
|
86
85
|
- lib/panops/core.rb
|
86
|
+
- lib/panops/core/version.rb
|
87
87
|
- panops-core.gemspec
|
88
88
|
- spec/dependencies/development_dependencies_spec.rb
|
89
|
+
- spec/integration/integration_helper.rb
|
89
90
|
- spec/spec_helper.rb
|
91
|
+
- spec/unit/panops/core/version_spec.rb
|
92
|
+
- spec/unit/unit_helper.rb
|
90
93
|
homepage: http://www.panops.org/
|
91
94
|
licenses: []
|
92
95
|
post_install_message:
|
@@ -111,7 +114,5 @@ rubygems_version: 1.8.10
|
|
111
114
|
signing_key:
|
112
115
|
specification_version: 3
|
113
116
|
summary: This gem contains components absolutely required for interaction with PanOps.
|
114
|
-
test_files:
|
115
|
-
- spec/dependencies/development_dependencies_spec.rb
|
116
|
-
- spec/spec_helper.rb
|
117
|
+
test_files: []
|
117
118
|
has_rdoc:
|
data/bin/panops
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|