shop 0.1.2 → 0.1.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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YjlkODEzZjNiMWNhODcxMGU3NDBmM2Q1M2M5NGJhZjgwMzZmZDU1NA==
4
+ MWFhY2Y5ZDhhYmViYTA4Zjc2NGY0YTljZGU5ZWM1MjE3NThjNTJiMg==
5
5
  data.tar.gz: !binary |-
6
- MDBjOTEwYzQ5MDI2NmNkODM4MzUzNDUwOTEwNDYyYjFmMTRhYTYxNA==
6
+ YTZlM2Q3YWE1ZDNmMTBjZjdhZThjZTM1YWY4YjA0NDE0YTViNTFmMA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NTRmNzBhM2JiOTQ4NjJlM2Q1OTFhMDFmOWFkNDgyOTM2MGQ4NWVhMzg4MzU5
10
- MTI2YmU0NzQ3MmE3OTZiODdjMWIwZTljOTAxMzA1YTczNmQyNTZmYmQ5MGY0
11
- YzNhZDYwNzQzMmMzMzc0NDc5NTI1YmMxMjVmYjFkMzIyMTI2ODA=
9
+ Nzk2NzFmOTFlZGRlMDE5MmVmMDNmN2NmM2NkOWJmZDdmNGYyYmYyMjkyZDk3
10
+ ZGYzZmUyYzFlZjczMjFmYjZmMzZkZGQ3YTBjMDg5M2QzYWJkZGQ5NWEyMWVj
11
+ YzE5Y2I5YzdhMDJlYmRjM2ZiNGUzYmZmYWJiYzQzMWZlZmE2ZTI=
12
12
  data.tar.gz: !binary |-
13
- ODIyZTg3Y2MxYmU5NDc2ZDc5MjI4ZDdmYzg5ZTFlZWVkZTAxZmRjNTk4NDU4
14
- ZjlkNmY0MTAyZTg1Mjg2OGFiNzZlYWJjODY2M2E4NTdhZGQ0NjgxNjlmZGFm
15
- YjRjYzg5MjFkZWUwNzE3YjM3ZTBhZjZlMzZhNDk0ZTJmY2IyNjM=
13
+ YTAyMzNhNTc3ZjNiNTk1NjNiYjU5NDFkYWJjMTRhZWUxMThjZGVkNzUzYTEz
14
+ OWU5YThmZmQ0OWQzZjMxMTAxZTlhYjBmMjA5ODI2NjM3OTQwYjI1Yjg4MmI1
15
+ MmZmYzkyY2Y4MWI4MTdhYThlZWNjNWY5ZDJiNTJhMGNkZGY4NzE=
data/Gemfile ADDED
@@ -0,0 +1,2 @@
1
+ source "http://rubygems.org"
2
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,17 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ shop (0.1.3)
5
+ highline (~> 1.6.19)
6
+
7
+ GEM
8
+ remote: http://rubygems.org/
9
+ specs:
10
+ highline (1.6.19)
11
+
12
+ PLATFORMS
13
+ ruby
14
+
15
+ DEPENDENCIES
16
+ shop!
17
+ highline (~> 1.6.19)
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
- # Who
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
@@ -8,5 +8,5 @@ require 'open-uri'
8
8
  require 'shop/command'
9
9
 
10
10
  module Shop
11
- VERSION = '0.1.2'
11
+ VERSION = '0.1.3'
12
12
  end
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.2'
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.2
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