namer 0.0.2 → 0.0.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7431a136f0186b985ed5385a62e94963c7fbe4a1
4
- data.tar.gz: fac65f4bf4ac9a9e7bb0c9a0d8bc6264050b2feb
3
+ metadata.gz: 2cf6e536f8c5143a849c242891bd1f515cb24a83
4
+ data.tar.gz: 78f4ba0b5a2edf96da4619798570a4c1987538ef
5
5
  SHA512:
6
- metadata.gz: 46582a68c19fd1dd3829f96b572e71616d952c78d770d8f8fbb50ea0b8d1516ebfe7f399af8553010b5f47f788f1bba08c683c59fe8f5ab88a731e435c9c16fd
7
- data.tar.gz: 3855136a11c65f0bbe6dfd297883bf8ed360a0cf9467f5c6a62198e490af98d8a42a59a43d1c92985f41dcac06b86bc68cbf513607843f88e3725d41f9cf17d6
6
+ metadata.gz: c8378d1be273cae9bae51ad4cc7faf6fc72f3d85467144342ec65fe91da9d8b1c1e0192fd509a9590c0860293d0dd5adb2641ad29c9213c1c2188c5d767e207a
7
+ data.tar.gz: d43e9e334300e2300c2939bd9efac6ac82ccf3466fc41627b93e4221c364c65c07191625de7f91a4fb3f8c6fe43180171d1b1817fdd8588b9c725883b505f833
data/.travis.yml ADDED
@@ -0,0 +1,9 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.8.7
4
+ - 1.9.2
5
+ - 1.9.3
6
+ - 2.0.0
7
+ before_script:
8
+ - "git config --global user.email 'you@example.com'"
9
+ - "git config --global user.name 'Your Name'"
data/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  Rename your project with a single command.
4
4
 
5
+ [![Build Status](https://secure.travis-ci.org/winton/namer.png)](http://travis-ci.org/winton/namer)
6
+
5
7
  ###Install
6
8
 
7
9
  gem install namer
data/lib/namer.rb CHANGED
@@ -29,7 +29,7 @@ class Namer
29
29
 
30
30
  def inline_gsub(str)
31
31
  return str unless split_str = str.split(/# -- replace\n/)[1]
32
- split_str.gsub(/^\s*# /, '')
32
+ split_str.gsub(/^\s*#\s?/, '')
33
33
  end
34
34
 
35
35
  def rename_remote
data/namer.gemspec CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "namer"
7
- spec.version = "0.0.2"
7
+ spec.version = "0.0.3"
8
8
  spec.authors = ["Winton Welsh"]
9
9
  spec.email = ["mail@wintoni.us"]
10
10
  spec.description = %q{Project template manager}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: namer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Winton Welsh
@@ -77,6 +77,7 @@ files:
77
77
  - .gitignore
78
78
  - .ruby-gemset
79
79
  - .ruby-version
80
+ - .travis.yml
80
81
  - Gemfile
81
82
  - LICENSE
82
83
  - README.md