bin_script 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bin_script (0.1.3)
4
+ bin_script (0.1.5)
5
5
  activesupport (>= 2.3.2)
6
6
 
7
7
  GEM
@@ -236,6 +236,8 @@ class BinScript
236
236
 
237
237
  # Print usage and exit if asked
238
238
  usage_exit if params(:h)
239
+
240
+ info "====================="
239
241
 
240
242
  # Create and check lock file if enabled
241
243
  if self.class.enable_locking
@@ -1,4 +1,4 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  class BinScript
3
- VERSION = "0.1.4"
3
+ VERSION = "0.1.5"
4
4
  end
@@ -7,6 +7,6 @@ APP_ROOT = File.dirname(path)
7
7
  ENV['BUNDLE_GEMFILE'] ||= path
8
8
 
9
9
  require 'rubygems'
10
- require 'bundler/setup'
10
+ require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
11
11
 
12
12
  load Gem.bin_path('bin_script', 'bin_helper')
metadata CHANGED
@@ -1,47 +1,63 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: bin_script
3
- version: !ruby/object:Gem::Version
4
- version: 0.1.4
5
- prerelease:
3
+ version: !ruby/object:Gem::Version
4
+ hash: 17
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 5
10
+ version: 0.1.5
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Lifshits Dmitry
9
14
  - Makarchev Konstantin
10
15
  autorequire: init
11
16
  bindir: bin
12
17
  cert_chain: []
13
- date: 2012-04-07 00:00:00.000000000 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
18
+
19
+ date: 2012-04-08 00:00:00 +04:00
20
+ default_executable:
21
+ dependencies:
22
+ - !ruby/object:Gem::Dependency
16
23
  name: activesupport
17
- requirement: &84826530 !ruby/object:Gem::Requirement
24
+ prerelease: false
25
+ requirement: &id001 !ruby/object:Gem::Requirement
18
26
  none: false
19
- requirements:
20
- - - ! '>='
21
- - !ruby/object:Gem::Version
27
+ requirements:
28
+ - - ">="
29
+ - !ruby/object:Gem::Version
30
+ hash: 7
31
+ segments:
32
+ - 2
33
+ - 3
34
+ - 2
22
35
  version: 2.3.2
23
36
  type: :runtime
24
- prerelease: false
25
- version_requirements: *84826530
26
- - !ruby/object:Gem::Dependency
37
+ version_requirements: *id001
38
+ - !ruby/object:Gem::Dependency
27
39
  name: rspec
28
- requirement: &84826330 !ruby/object:Gem::Requirement
40
+ prerelease: false
41
+ requirement: &id002 !ruby/object:Gem::Requirement
29
42
  none: false
30
- requirements:
31
- - - ! '>='
32
- - !ruby/object:Gem::Version
33
- version: '0'
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ hash: 3
47
+ segments:
48
+ - 0
49
+ version: "0"
34
50
  type: :development
35
- prerelease: false
36
- version_requirements: *84826330
37
- description: Easy writing and executing bins(executable scripts) in Rails Application
38
- (especially for crontab or god)
51
+ version_requirements: *id002
52
+ description: Easy writing and executing bins(executable scripts) in Rails Application (especially for crontab or god)
39
53
  email: kostya27@gmail.com
40
- executables:
54
+ executables:
41
55
  - bin_helper
42
56
  extensions: []
57
+
43
58
  extra_rdoc_files: []
44
- files:
59
+
60
+ files:
45
61
  - .gitignore
46
62
  - Gemfile
47
63
  - Gemfile.lock
@@ -64,30 +80,39 @@ files:
64
80
  - lib/generators/bin/templates/spec.rb
65
81
  - spec/bin_script_spec.rb
66
82
  - spec/spec_helper.rb
83
+ has_rdoc: true
67
84
  homepage: http://github.com/kostya/bin_script
68
85
  licenses: []
86
+
69
87
  post_install_message:
70
88
  rdoc_options: []
71
- require_paths:
89
+
90
+ require_paths:
72
91
  - lib
73
- required_ruby_version: !ruby/object:Gem::Requirement
92
+ required_ruby_version: !ruby/object:Gem::Requirement
74
93
  none: false
75
- requirements:
76
- - - ! '>='
77
- - !ruby/object:Gem::Version
78
- version: '0'
79
- required_rubygems_version: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ hash: 3
98
+ segments:
99
+ - 0
100
+ version: "0"
101
+ required_rubygems_version: !ruby/object:Gem::Requirement
80
102
  none: false
81
- requirements:
82
- - - ! '>='
83
- - !ruby/object:Gem::Version
84
- version: '0'
103
+ requirements:
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ hash: 3
107
+ segments:
108
+ - 0
109
+ version: "0"
85
110
  requirements: []
111
+
86
112
  rubyforge_project:
87
- rubygems_version: 1.8.16
113
+ rubygems_version: 1.3.7
88
114
  signing_key:
89
115
  specification_version: 3
90
- summary: Easy writing and executing bins(executable scripts) in Rails Application
91
- (especially for crontab or god). For my purposes much better than Rake, Thor and
92
- Rails Runner.
116
+ summary: Easy writing and executing bins(executable scripts) in Rails Application (especially for crontab or god). For my purposes much better than Rake, Thor and Rails Runner.
93
117
  test_files: []
118
+