projectr 0.1.7 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d0b1bb1b81fa0920fcd3907c68ff9f520d90e9d9
4
- data.tar.gz: d155ebebcff710409d1f0c67d1e69206f2a2b3b8
3
+ metadata.gz: d5e84ee17c2b1f323e96d20a83c26db08d9f6434
4
+ data.tar.gz: de38243c59bca3633d7f0a4a4bd71fc508284ed7
5
5
  SHA512:
6
- metadata.gz: 12a5a6eef851a4a96a9d4b1637b201e572a144b7d0223b83f4aae2adfa93178623589686bdd3cead787c7fcba1b606f0299b995526506b7135a63bb432db3ea0
7
- data.tar.gz: b93630a17bfbcc8b73516528642be1f905b7e1168c0f4f78b514b620d864350f4cb9d4e17557cb28817c76d8fae4f485aa82ece8ac70fa5190d9ae6265e87171
6
+ metadata.gz: 7daaec9380da13e271ac98030eccc420d1e3000a21b8880fedb65cef83daaa1988760c2615ee7e31b7a074bb0af7b09a8830d38bbf084cbfce222f413f3ff485
7
+ data.tar.gz: 7f10afdc5943e647d95e77f43f60d4bb1cebed951224b788c48019042c7302bb567788703be5ae4f12011b64ff0e40c124b3933a199b2ec34bd3a9ebbaa622c8
data/.gitignore CHANGED
@@ -1,9 +1,40 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
1
+ # Created by https://www.gitignore.io/api/ruby
2
+
3
+ ### Ruby ###
4
+ *.gem
5
+ *.rbc
6
+ /.config
5
7
  /coverage/
6
- /doc/
8
+ /InstalledFiles
7
9
  /pkg/
8
10
  /spec/reports/
11
+ /spec/examples.txt
12
+ /test/tmp/
13
+ /test/version_tmp/
9
14
  /tmp/
15
+
16
+ ## Specific to RubyMotion:
17
+ .dat*
18
+ .repl_history
19
+ build/
20
+
21
+ ## Documentation cache and generated files:
22
+ /.yardoc/
23
+ /_yardoc/
24
+ /doc/
25
+ /rdoc/
26
+
27
+ ## Environment normalisation:
28
+ /.bundle/
29
+ /vendor/bundle
30
+ /lib/bundler/man/
31
+
32
+ # for a library or gem, you might want to ignore these files since the code is
33
+ # intended to run in multiple environments; otherwise, check them in:
34
+ # Gemfile.lock
35
+ # .ruby-version
36
+ # .ruby-gemset
37
+
38
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
39
+ .rvmrc
40
+
data/README.md CHANGED
@@ -4,19 +4,7 @@ Project templating tool for quickly starting and updating new projects.
4
4
 
5
5
  ## Installation
6
6
 
7
- Add this line to your application's Gemfile:
8
-
9
- ```ruby
10
- gem 'projectr'
11
- ```
12
-
13
- And then execute:
14
-
15
- $ bundle
16
-
17
- Or install it yourself as:
18
-
19
- $ gem install projectr
7
+ $ gem install projectr
20
8
 
21
9
  ## Usage
22
10
 
data/Rakefile CHANGED
@@ -0,0 +1,33 @@
1
+ lib = File.expand_path('../lib', __FILE__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require 'projectr/version'
4
+
5
+ GEM_NAME = 'projectr'
6
+
7
+ task :build do
8
+ `gem build #{GEM_NAME}.gemspec`
9
+ end
10
+
11
+ task :install => [:build] do
12
+ `gem install #{GEM_NAME}-#{Projectr::VERSION}.gem`
13
+ end
14
+
15
+ task :release => [:build] do
16
+ `gem push #{GEM_NAME}-#{Projectr::VERSION}.gem`
17
+ end
18
+
19
+ task :bump do
20
+ version_file_path = "./lib/#{GEM_NAME}/version.rb"
21
+ version_file_text = File.read(version_file_path)
22
+ new_text = version_file_text.gsub(/VERSION = \"(\d+).(\d+).(\d+)\"/) {
23
+ old_version = "#{$1}.#{$2}.#{$3}"
24
+ new_version = "#{$1}.#{$2}.#{$3.to_i + 1}"
25
+ puts "#{old_version} -> #{new_version}"
26
+ "VERSION = \"#{new_version}\""
27
+ }
28
+ File.write(version_file_path, new_text)
29
+ end
30
+
31
+ task :clean do
32
+ `rm *.gem`
33
+ end
@@ -1,3 +1,3 @@
1
1
  module Projectr
2
- VERSION = "0.1.7"
2
+ VERSION = "0.2.0"
3
3
  end
data/projectr.gemspec CHANGED
@@ -10,7 +10,6 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["joshglendenning@gmail.com"]
11
11
 
12
12
  spec.summary = %q{Project templating tool for quickly starting and updating new projects.}
13
- spec.description = %q{Project templating tool for quickly starting and updating new projects.}
14
13
  spec.homepage = "https://github.com/joshglendenning/projectr"
15
14
  spec.license = "MIT"
16
15
 
@@ -20,5 +19,5 @@ Gem::Specification.new do |spec|
20
19
  spec.bindir = 'bin'
21
20
  spec.executables = ['projectr']
22
21
 
23
- spec.add_dependency 'commander'
22
+ spec.add_dependency 'commander', '~> 4.3'
24
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: projectr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Glendenning
@@ -14,17 +14,17 @@ dependencies:
14
14
  name: commander
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '4.3'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
27
- description: Project templating tool for quickly starting and updating new projects.
26
+ version: '4.3'
27
+ description:
28
28
  email:
29
29
  - joshglendenning@gmail.com
30
30
  executables:
@@ -40,7 +40,6 @@ files:
40
40
  - bin/projectr
41
41
  - lib/projectr.rb
42
42
  - lib/projectr/version.rb
43
- - projectr-0.1.6.gem
44
43
  - projectr.gemspec
45
44
  homepage: https://github.com/joshglendenning/projectr
46
45
  licenses:
data/projectr-0.1.6.gem DELETED
Binary file