hw 1.2.0.beta1 → 1.2.0.beta2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.md +3 -25
  2. data/lib/hw/actions.rb +1 -1
  3. data/lib/hw/version.rb +1 -1
  4. metadata +2 -2
data/README.md CHANGED
@@ -4,30 +4,8 @@
4
4
 
5
5
  # HW (Hemingway)
6
6
 
7
- Package manager for miscellaneous tasks.
7
+ Hemingway is a tool to easily create, manage, run, and collaborate on miscellaneous tasks.
8
8
 
9
- ## Installation
9
+ ### Documentation
10
10
 
11
- Add this line to your application's Gemfile:
12
-
13
- gem 'hw'
14
-
15
- And then execute:
16
-
17
- $ bundle
18
-
19
- Or install it yourself as:
20
-
21
- $ gem install hw
22
-
23
- ## Usage
24
-
25
- $ hw system update
26
-
27
- ## Contributing
28
-
29
- 1. Fork it
30
- 2. Create your feature branch (`git checkout -b my-new-feature`)
31
- 3. Commit your changes (`git commit -am 'Added some feature'`)
32
- 4. Push to the branch (`git push origin my-new-feature`)
33
- 5. Create new Pull Request
11
+ Please visit [hemingway.in](http://hemingway.in/) for more information.
data/lib/hw/actions.rb CHANGED
@@ -13,7 +13,7 @@ class HW
13
13
 
14
14
  def replace_file(destination, data = nil, config = {}, &block)
15
15
  remove_file(destination)
16
- create_file(destination, data, config, block)
16
+ create_file(destination, (data || block.call()), config)
17
17
  end
18
18
 
19
19
  def bundle
data/lib/hw/version.rb CHANGED
@@ -2,7 +2,7 @@ class HW
2
2
  MAJOR = 1
3
3
  MINOR = 2
4
4
  TINY = 0
5
- PRE = 'beta1'
5
+ PRE = 'beta2'
6
6
 
7
7
  VERSION = [MAJOR, MINOR, TINY, PRE].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hw
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0.beta1
4
+ version: 1.2.0.beta2
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -115,7 +115,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
115
115
  version: '0'
116
116
  segments:
117
117
  - 0
118
- hash: 1439307660487760693
118
+ hash: -1259823547237976343
119
119
  required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  none: false
121
121
  requirements: