shop 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/Gemfile +2 -0
- data/Gemfile.lock +17 -0
- data/README.md +5 -3
- data/Rakefile +27 -0
- data/lib/shop.rb +1 -1
- data/shop.gemspec +6 -1
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MWFhY2Y5ZDhhYmViYTA4Zjc2NGY0YTljZGU5ZWM1MjE3NThjNTJiMg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YTZlM2Q3YWE1ZDNmMTBjZjdhZThjZTM1YWY4YjA0NDE0YTViNTFmMA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Nzk2NzFmOTFlZGRlMDE5MmVmMDNmN2NmM2NkOWJmZDdmNGYyYmYyMjkyZDk3
|
10
|
+
ZGYzZmUyYzFlZjczMjFmYjZmMzZkZGQ3YTBjMDg5M2QzYWJkZGQ5NWEyMWVj
|
11
|
+
YzE5Y2I5YzdhMDJlYmRjM2ZiNGUzYmZmYWJiYzQzMWZlZmE2ZTI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YTAyMzNhNTc3ZjNiNTk1NjNiYjU5NDFkYWJjMTRhZWUxMThjZGVkNzUzYTEz
|
14
|
+
OWU5YThmZmQ0OWQzZjMxMTAxZTlhYjBmMjA5ODI2NjM3OTQwYjI1Yjg4MmI1
|
15
|
+
MmZmYzkyY2Y4MWI4MTdhYThlZWNjNWY5ZDJiNTJhMGNkZGY4NzE=
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
data/README.md
CHANGED
@@ -8,8 +8,6 @@ I always use Rakefiles and Makefiles for lots of tasks. With this gem you can us
|
|
8
8
|
|
9
9
|
gem install shop
|
10
10
|
|
11
|
-
Shop has been developed tested on OSX. I have no idea if this works on other platforms.
|
12
|
-
|
13
11
|
## Usage
|
14
12
|
|
15
13
|
### New project
|
@@ -142,7 +140,11 @@ You can get a list of the available commands with the help:
|
|
142
140
|
|
143
141
|
shop help
|
144
142
|
|
145
|
-
|
143
|
+
## Compatibility
|
144
|
+
|
145
|
+
Shop has been developed and tested on osx. It may not work on platforms other than *nix, particularly the `new` command that uses the unix `unzip` command. I plan on working on rewriting this part with only Ruby so it could work everywhere.
|
146
|
+
|
147
|
+
## Who
|
146
148
|
|
147
149
|
By [Romain Berger](http://romainberger.com).
|
148
150
|
Ping me at [@romain__berger](http://twitter.com/romain__berger) if you're having issues or create an issue.
|
data/Rakefile
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
|
2
|
+
# Helper functions
|
3
|
+
|
4
|
+
def name
|
5
|
+
@name ||= Dir['*.gemspec'].first.split('.').first
|
6
|
+
end
|
7
|
+
|
8
|
+
def version
|
9
|
+
line = File.read("lib/#{name}.rb")[/^\s*VERSION\s*=\s*.*/]
|
10
|
+
line.match(/.*VERSION\s*=\s*['"](.*)['"]/)[1]
|
11
|
+
end
|
12
|
+
|
13
|
+
# Tasks
|
14
|
+
|
15
|
+
task :build do
|
16
|
+
system "gem build #{name}.gemspec"
|
17
|
+
end
|
18
|
+
|
19
|
+
task :install do
|
20
|
+
system "gem install #{name}-#{version}.gem"
|
21
|
+
end
|
22
|
+
|
23
|
+
task :inst => [:build, :install]
|
24
|
+
|
25
|
+
task :publish do
|
26
|
+
system "gem push #{name}-#{version}.gem"
|
27
|
+
end
|
data/lib/shop.rb
CHANGED
data/shop.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
## If your rubyforge_project name is different, then edit it and comment out
|
14
14
|
## the sub! line in the Rakefile
|
15
15
|
s.name = 'shop'
|
16
|
-
s.version = '0.1.
|
16
|
+
s.version = '0.1.3'
|
17
17
|
s.date = '2013-03-18'
|
18
18
|
s.rubyforge_project = 'shop'
|
19
19
|
|
@@ -59,6 +59,11 @@ Gem::Specification.new do |s|
|
|
59
59
|
## THE MANIFEST COMMENTS, they are used as delimiters by the task.
|
60
60
|
# = MANIFEST =
|
61
61
|
s.files = %w[
|
62
|
+
Gemfile
|
63
|
+
Gemfile.lock
|
64
|
+
LICENSE.md
|
65
|
+
README.md
|
66
|
+
Rakefile
|
62
67
|
bin/shop
|
63
68
|
shop.gemspec
|
64
69
|
lib/shop.rb
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Romain Berger
|
@@ -33,14 +33,17 @@ extra_rdoc_files:
|
|
33
33
|
- README.md
|
34
34
|
- LICENSE.md
|
35
35
|
files:
|
36
|
+
- Gemfile
|
37
|
+
- Gemfile.lock
|
38
|
+
- LICENSE.md
|
39
|
+
- README.md
|
40
|
+
- Rakefile
|
36
41
|
- bin/shop
|
37
42
|
- shop.gemspec
|
38
43
|
- lib/shop.rb
|
39
44
|
- lib/shop/command.rb
|
40
45
|
- templates/Makefile
|
41
46
|
- templates/module.php
|
42
|
-
- README.md
|
43
|
-
- LICENSE.md
|
44
47
|
homepage: https://github.com/romainberger/shop
|
45
48
|
licenses:
|
46
49
|
- MIT
|