version_deploy 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md ADDED
@@ -0,0 +1,61 @@
1
+ VersionDeploy
2
+ =============
3
+
4
+ Version Deploy is simply a convenient set of rake tasks designed to simplify the deployment process of a rails app.
5
+
6
+ This gem currently depends on the user having [git-flow](https://github.com/nvie/gitflow/) and a git-flow enabled repository, as well as [heroku](https://github.com/heroku/heroku/) -- `gem install heroku` with two remotes set up called "staging" and "production"
7
+
8
+
9
+
10
+ Usage
11
+ -----
12
+
13
+ rake deploy # Deploy your local devlop branch to staging
14
+ rake deploy:production # Bump the version by one revision and then deploy your local master branch to production
15
+ rake deploy:production:major # Bump the version by one major version and then deploy your local master branch to production
16
+ rake deploy:production:minor # Bump the version by one minor version and then deploy your local master branch to production
17
+ rake deploy:production:push # Deploy your local master branch to production
18
+ rake deploy:production:revision # Bump the version by one revision and then deploy your local master branch to production
19
+ rake deploy:staging # Deploy your local devlop branch to staging
20
+
21
+ You shouldn't ever need to directly change the version, but you may do so with these commands:
22
+
23
+ rake app_version # Return Current Version
24
+ rake app_version:bump # Bump current version by one revision
25
+ rake app_version:bump:major # Bump current version by one major version
26
+ rake app_version:bump:minor # Bump current version by one minor version
27
+ rake app_version:bump:revision # Bump current version by one revision
28
+ rake app_version:create # Create Version file at 0.0.0
29
+ rake app_version:current # Return Current Version
30
+
31
+
32
+ Installation
33
+ ------------
34
+
35
+ `gem install version_deploy`
36
+
37
+ or with bundler
38
+
39
+ #In your Gemfile:
40
+ gem 'version_deploy'
41
+
42
+ $ bundle install
43
+
44
+ Once the gem is installed and added to your project you will need to create a version.yml file. This can be done automatically by running
45
+ rake app_version:create
46
+
47
+ ### Contributing to version_deploy
48
+
49
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
50
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
51
+ * Fork the project.
52
+ * Start a feature/bugfix branch.
53
+ * Commit and push until you are happy with your contribution.
54
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
55
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
56
+
57
+ ### Copyright
58
+
59
+ Copyright (c) 2012 Ben McFadden. See LICENSE.txt for
60
+ further details.
61
+
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
@@ -64,6 +64,7 @@ namespace :app_version do
64
64
  fail "Unable to finish release. There was likely merge conflicts. Resolve this, then run 'git flow release finish #{new_version[:major]}.#{new_version[:minor]}.#{new_version[:revision]}'" if !response
65
65
  puts "Pushing release to github"
66
66
  puts `git push origin master`
67
+ puts `git push origin develop`
67
68
  puts `git push --tags`
68
69
  puts "Version #{new_version[:major]}.#{new_version[:minor]}.#{new_version[:revision]} complete"
69
70
  end
@@ -5,23 +5,23 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "version_deploy"
8
- s.version = "0.0.1"
8
+ s.version = "0.0.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ben McFadden"]
12
- s.date = "2012-08-03"
12
+ s.date = "2012-11-12"
13
13
  s.description = "Integrating with git-flow for versioning and heroku for deployment, this makes releasing to staging and production a one-line command "
14
14
  s.email = "ben.mcfadden@gmail.com"
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE.txt",
17
- "README.rdoc"
17
+ "README.md"
18
18
  ]
19
19
  s.files = [
20
20
  ".document",
21
21
  "Gemfile",
22
22
  "Gemfile.lock",
23
23
  "LICENSE.txt",
24
- "README.rdoc",
24
+ "README.md",
25
25
  "Rakefile",
26
26
  "VERSION",
27
27
  "lib/rake/version_deploy_task.rb",
@@ -33,7 +33,7 @@ Gem::Specification.new do |s|
33
33
  s.homepage = "http://github.com/mcfadden/version_deploy"
34
34
  s.licenses = ["MIT"]
35
35
  s.require_paths = ["lib"]
36
- s.rubygems_version = "1.8.24"
36
+ s.rubygems_version = "1.8.23"
37
37
  s.summary = "A simplified versionion and deployment system for rails apps using git-flow and heroku"
38
38
 
39
39
  if s.respond_to? :specification_version then
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: version_deploy
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:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-03 00:00:00.000000000 Z
12
+ date: 2012-11-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: shoulda
@@ -98,13 +98,13 @@ executables: []
98
98
  extensions: []
99
99
  extra_rdoc_files:
100
100
  - LICENSE.txt
101
- - README.rdoc
101
+ - README.md
102
102
  files:
103
103
  - .document
104
104
  - Gemfile
105
105
  - Gemfile.lock
106
106
  - LICENSE.txt
107
- - README.rdoc
107
+ - README.md
108
108
  - Rakefile
109
109
  - VERSION
110
110
  - lib/rake/version_deploy_task.rb
@@ -127,7 +127,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
127
127
  version: '0'
128
128
  segments:
129
129
  - 0
130
- hash: 4280244778254751830
130
+ hash: -4576270911180590005
131
131
  required_rubygems_version: !ruby/object:Gem::Requirement
132
132
  none: false
133
133
  requirements:
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  version: '0'
137
137
  requirements: []
138
138
  rubyforge_project:
139
- rubygems_version: 1.8.24
139
+ rubygems_version: 1.8.23
140
140
  signing_key:
141
141
  specification_version: 3
142
142
  summary: A simplified versionion and deployment system for rails apps using git-flow
data/README.rdoc DELETED
@@ -1,19 +0,0 @@
1
- = version_deploy
2
-
3
- Description goes here.
4
-
5
- == Contributing to version_deploy
6
-
7
- * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
8
- * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
9
- * Fork the project.
10
- * Start a feature/bugfix branch.
11
- * Commit and push until you are happy with your contribution.
12
- * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
13
- * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
14
-
15
- == Copyright
16
-
17
- Copyright (c) 2012 Ben McFadden. See LICENSE.txt for
18
- further details.
19
-