copperegg 0.6.1.pre4 → 0.6.1

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.
@@ -1,9 +1,16 @@
1
+ ## 0.6.1 (January 17, 2013)
2
+
3
+ Changes:
4
+
5
+ - Existing metric groups are used rather than automatically versioning metric group name upon creation.
6
+
7
+
1
8
  ## 0.6.0 (January 3, 2013)
2
9
 
3
10
  Changes:
4
11
 
5
- - Substantial changes to syntax. API resources now represented by Ruby classes. See README for details.
6
- - Replaced multi_json requirement with json_pure.
12
+ - Substantial changes to syntax. API resources now represented by Ruby classes. See README for details.
13
+ - Replaced multi_json requirement with json_pure.
7
14
 
8
15
  Features:
9
16
 
@@ -14,10 +21,36 @@ Features:
14
21
 
15
22
  Bugfixes:
16
23
 
17
- - Metric group versioning is encorporated and recognized.
24
+ - Metric group versioning is encorporated and recognized.
25
+
18
26
 
19
- ## 0.6.1 (January 14, 2013)
27
+ ## 0.5.3 (Dec 21, 2012)
20
28
 
21
29
  Changes:
22
30
 
23
- - Existing metric groups are used rather than automatically versioning metric group name upon creation.
31
+ - Remove Gemfile.lock from git tracking
32
+
33
+ Bugfixes:
34
+
35
+ - format to match changes in CopperEgg API
36
+
37
+
38
+ ## 0.5.2 (Dec 3, 2012)
39
+
40
+ Bugfixes:
41
+
42
+ - add explicit requires to make 1.8.7 work
43
+
44
+
45
+ ## 0.5.1 (Nov 5, 2012)
46
+
47
+ Changes:
48
+
49
+ - Use SSL
50
+ - updated gemspec and variable names
51
+
52
+
53
+ ## 0.5.0 (Nov 5, 2012)
54
+
55
+ Initial commit
56
+
Binary file
@@ -1,3 +1,3 @@
1
1
  module CopperEgg
2
- GEM_VERSION = '0.6.1.pre4'
2
+ GEM_VERSION = "0.6.1"
3
3
  end
@@ -0,0 +1,79 @@
1
+ #!/bin/bash
2
+ # Used by Hudson in deploy process
3
+ # Uses git-flow to create a release and commit version number changes
4
+
5
+ CheckExitCode()
6
+ {
7
+ rc=$?
8
+ if [ $rc != 0 ] ; then
9
+ echo "Release Failed"
10
+ exit $rc
11
+ fi
12
+ }
13
+
14
+ echo '--- Releasing a new version ----------------'
15
+
16
+ echo '--- Make sure everything is up-to-date -----'
17
+ git checkout -f master
18
+ git pull origin master
19
+ git checkout -f develop
20
+ git pull origin develop
21
+
22
+ # get version number from version file
23
+ VERSION_LINE=`grep 'VERSION =' < lib/copperegg/ver.rb`
24
+ MAJOR_VERSION=`echo ${VERSION_LINE} | sed 's/\(.*VERSION = "\)\([0-9]*\).\([0-9]*\).\([0-9]*\)\(.pre[0-9]*"\)/\2/'`
25
+ MINOR_VERSION=`echo ${VERSION_LINE} | sed 's/\(.*VERSION = "\)\([0-9]*\).\([0-9]*\).\([0-9]*\)\(.pre[0-9]*"\)/\3/'`
26
+ RELEASE_VERSION=`echo ${VERSION_LINE} | sed 's/\(.*VERSION = "\)\([0-9]*\).\([0-9]*\).\([0-9]*\)\(.pre[0-9]*"\)/\4/'`
27
+ NEXT_RELEASE_VERSION=$(($RELEASE_VERSION+1))
28
+ CURRENT_VERSION="${MAJOR_VERSION}.${MINOR_VERSION}.${RELEASE_VERSION}"
29
+ NEXT_VERSION="${MAJOR_VERSION}.${MINOR_VERSION}.${NEXT_RELEASE_VERSION}"
30
+
31
+ echo VERSION_LINE=$VERSION_LINE
32
+ echo MAJOR_VERSION=$MAJOR_VERSION
33
+ echo MINOR_VERSION=$MINOR_VERSION
34
+ echo RELEASE_VERSION=$RELEASE_VERSION
35
+ echo NEXT_RELEASE_VERSION=$NEXT_RELEASE_VERSION
36
+ echo CURRENT_VERSION=$CURRENT_VERSION
37
+ echo NEXT_VERSION=$NEXT_VERSION
38
+ echo
39
+
40
+ echo '--- Start release branch -------------------'
41
+ # start release branch
42
+ git flow release start $CURRENT_VERSION
43
+ CheckExitCode
44
+
45
+ echo '--- Update version file --------------------'
46
+ # update version file and commit
47
+ sed 's/\(.*VERSION = "\)\([0-9][0-9.-]*\)\(.pre[0-9]*\)\("\)/\1\2\4/' < lib/copperegg/ver.rb > lib/copperegg/ver.rb.new
48
+ rm lib/copperegg/ver.rb
49
+ mv lib/copperegg/ver.rb.new lib/copperegg/ver.rb
50
+ git commit -m "Deploying version ${CURRENT_VERSION}" lib/copperegg/ver.rb
51
+ CheckExitCode
52
+
53
+ echo '--- Finish release branch ------------------'
54
+ # finish release branch
55
+ git flow release finish -m "${CURRENT_VERSION}" $CURRENT_VERSION
56
+ CheckExitCode
57
+ git pull origin develop
58
+ CheckExitCode
59
+ git push
60
+ CheckExitCode
61
+
62
+ echo '--- Bump dev version -----------------------'
63
+ # bump version on develop branch
64
+ CheckExitCode
65
+ SED_CMD='s/'"${CURRENT_VERSION}"'/'"${NEXT_VERSION}"'.pre/'
66
+ sed $SED_CMD < lib/copperegg/ver.rb > lib/copperegg/ver.rb.new
67
+ rm lib/copperegg/ver.rb
68
+ mv lib/copperegg/ver.rb.new lib/copperegg/ver.rb
69
+ git commit -m "Bumped development version to ${NEXT_VERSION}.pre" lib/copperegg/ver.rb
70
+ CheckExitCode
71
+ git push
72
+ CheckExitCode
73
+
74
+ echo
75
+ echo
76
+ echo Remember to push to rubygems:
77
+ echo gem build copperegg.gemspec
78
+ echo gem push copperegg-$NEXT_VERSION.gem
79
+ echo
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: copperegg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1.pre4
5
- prerelease: 6
4
+ version: 0.6.1
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Eric Anderson
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-15 00:00:00.000000000 Z
12
+ date: 2013-01-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json_pure
@@ -34,9 +34,12 @@ extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
36
  - ./CHANGELOG.md
37
- - ./copperegg.gemspec
38
37
  - ./Gemfile
39
- - ./Gemfile.lock
38
+ - ./LICENSE
39
+ - ./README.md
40
+ - ./Rakefile
41
+ - ./copperegg-0.6.0.gem
42
+ - ./copperegg.gemspec
40
43
  - ./lib/copperegg/api.rb
41
44
  - ./lib/copperegg/custom_dashboard.rb
42
45
  - ./lib/copperegg/metric_group.rb
@@ -44,9 +47,7 @@ files:
44
47
  - ./lib/copperegg/mixins/persistence.rb
45
48
  - ./lib/copperegg/ver.rb
46
49
  - ./lib/copperegg.rb
47
- - ./LICENSE
48
- - ./Rakefile
49
- - ./README.md
50
+ - ./supplemental/release_version.sh
50
51
  - ./test/custom_dashboard_test.rb
51
52
  - ./test/metric_group_test.rb
52
53
  - ./test/metric_sample_test.rb
@@ -75,9 +76,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
75
76
  required_rubygems_version: !ruby/object:Gem::Requirement
76
77
  none: false
77
78
  requirements:
78
- - - ! '>'
79
+ - - ! '>='
79
80
  - !ruby/object:Gem::Version
80
- version: 1.3.1
81
+ version: '0'
81
82
  requirements: []
82
83
  rubyforge_project:
83
84
  rubygems_version: 1.8.24
@@ -1,16 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- copperegg (0.6.0.pre)
5
- json_pure (~> 1.7.6)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- json_pure (1.7.6)
11
-
12
- PLATFORMS
13
- ruby
14
-
15
- DEPENDENCIES
16
- copperegg!