plus2_version 0.0.2
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/Readme.md +28 -0
- data/lib/plus2_version/routes.rb +7 -0
- data/lib/plus2_version/version.rb +3 -0
- data/lib/plus2_version.rb +12 -0
- metadata +73 -0
data/Readme.md
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
# Plus2 version
|
2
|
+
|
3
|
+
A Rails engine for exposing git version info.
|
4
|
+
|
5
|
+
## installation
|
6
|
+
|
7
|
+
In your Gemfile
|
8
|
+
|
9
|
+
gem 'plus2_version'
|
10
|
+
|
11
|
+
then
|
12
|
+
|
13
|
+
bundle install
|
14
|
+
|
15
|
+
In config/routes.rb
|
16
|
+
|
17
|
+
add_plus2_version_routes
|
18
|
+
|
19
|
+
And run your app. The version page is at
|
20
|
+
|
21
|
+
http://yourapp.com/plus2-version
|
22
|
+
|
23
|
+
|
24
|
+
## TODO
|
25
|
+
|
26
|
+
* Get the engine to take an "impression" of the git version present when the app's started.
|
27
|
+
* This highlights the scenario when the code's been updated but the app hasn't been restarted.
|
28
|
+
* Make the route configurable.
|
metadata
ADDED
@@ -0,0 +1,73 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: plus2_version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 27
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Lachie Cox
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2011-01-13 00:00:00 +11:00
|
19
|
+
default_executable:
|
20
|
+
dependencies: []
|
21
|
+
|
22
|
+
description: Adds a page to your app for verifying the version of the code currently running. It displays the log of the last git commit.
|
23
|
+
email:
|
24
|
+
- lachie.cox@plus2.com.au
|
25
|
+
executables: []
|
26
|
+
|
27
|
+
extensions: []
|
28
|
+
|
29
|
+
extra_rdoc_files: []
|
30
|
+
|
31
|
+
files:
|
32
|
+
- lib/plus2_version/routes.rb
|
33
|
+
- lib/plus2_version/version.rb
|
34
|
+
- lib/plus2_version.rb
|
35
|
+
- Readme.md
|
36
|
+
has_rdoc: true
|
37
|
+
homepage: http://github.com/plustwo/plus2_version
|
38
|
+
licenses: []
|
39
|
+
|
40
|
+
post_install_message:
|
41
|
+
rdoc_options: []
|
42
|
+
|
43
|
+
require_paths:
|
44
|
+
- lib
|
45
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
46
|
+
none: false
|
47
|
+
requirements:
|
48
|
+
- - ">="
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
hash: 3
|
51
|
+
segments:
|
52
|
+
- 0
|
53
|
+
version: "0"
|
54
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
55
|
+
none: false
|
56
|
+
requirements:
|
57
|
+
- - ">="
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
hash: 23
|
60
|
+
segments:
|
61
|
+
- 1
|
62
|
+
- 3
|
63
|
+
- 6
|
64
|
+
version: 1.3.6
|
65
|
+
requirements: []
|
66
|
+
|
67
|
+
rubyforge_project: plus2_version
|
68
|
+
rubygems_version: 1.4.2
|
69
|
+
signing_key:
|
70
|
+
specification_version: 3
|
71
|
+
summary: A rails engine for exposing git version info.
|
72
|
+
test_files: []
|
73
|
+
|