jsdj 0.0.1 → 0.0.2

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: 0a15e2e47a9d3d3f1938febd793680f95e8ee389
4
- data.tar.gz: e794d70eeed570c6ebc57af624b91dc28f0a8961
3
+ metadata.gz: 220b78e4c51d12c6b8ec887691b095835a879c8c
4
+ data.tar.gz: c5f858857686bc65a520a901fb4d3b63deeecc69
5
5
  SHA512:
6
- metadata.gz: d76932e901aa31c9071f827b036e49e332fc0c58558b780d33df2cbad12d21ca48538256b2a3b97239408e6995456b1b1f27827845e37c786a9e3e0ee6b70795
7
- data.tar.gz: cecf66eccfa7240d6ca6b7133d0f4023ecd7942f998ab45802317efba441c4aee4f73c59cb8e9e03eb077775dfd6f31629e8dd5d139fb44f64236792420859fa
6
+ metadata.gz: f4afb292aa0a8b343d1ecf6c6639aa5eed9c81bada167e43aa730552099e6821efc394e3bd71b264fd623cec219024a0a5d2fdccdf095f30a5022ed4e53c7027
7
+ data.tar.gz: 9947c5f43cdbd7a9c0c37c95ab41612492bdc797b1033cd7a3b20cd53b36fdfb2cf9f6f78079160f3611704f1b6a8249a9d388ce017a00f7d40f63eaaf540373
@@ -0,0 +1,3 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.1.2
@@ -0,0 +1,36 @@
1
+ require 'rspec/core/rake_task'
2
+ require "bundler/gem_tasks"
3
+
4
+ # Default directory to look in is `/specs`
5
+ # Run with `rake spec`
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ task :default => :spec
9
+
10
+ #Upgrade version of gem
11
+ def upgrade_version
12
+ versionf = './lib/jsdj/version.rb'
13
+ require versionf
14
+
15
+ #Upgrade version '0.0.1' => '0.0.2'
16
+ version = Jsdj::VERSION
17
+ new_version = version.split(".")
18
+ new_version[2] = new_version[2].to_i + 1
19
+ new_version = new_version.join(".")
20
+
21
+ sreg = "s/#{version}/#{new_version}/"
22
+ puts `sed #{sreg} #{versionf} > tmp; cp tmp #{versionf}`
23
+
24
+ return new_version
25
+ end
26
+
27
+ task :push do
28
+ version = upgrade_version
29
+ `git add .`
30
+ `git commit -a -m 'gem #{version}'`
31
+ `git push`
32
+ `git tag #{version}`
33
+ `git push origin #{version}`
34
+ `gem build jsdj.gemspec`
35
+ `gem push jsdj-#{version}.gem`
36
+ end
@@ -1,3 +1,3 @@
1
1
  module Jsdj
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -0,0 +1,4 @@
1
+ describe "test" do
2
+ it "Hello world" do
3
+ end
4
+ end
data/tmp ADDED
@@ -0,0 +1,3 @@
1
+ module Jsdj
2
+ VERSION = "0.0.2"
3
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsdj
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - seo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-19 00:00:00.000000000 Z
11
+ date: 2015-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: execjs
@@ -117,12 +117,16 @@ extensions: []
117
117
  extra_rdoc_files: []
118
118
  files:
119
119
  - ".gitignore"
120
+ - ".travis.yml"
120
121
  - LICENSE
121
122
  - README.md
123
+ - Rakefile
122
124
  - jsdj.gemspec
123
125
  - lib/jsdj/version.rb
124
126
  - lib/jsjd.rb
125
127
  - logo.png
128
+ - spec/hello_spec.rb
129
+ - tmp
126
130
  homepage: https://github.com/sotownsend/jsdj
127
131
  licenses:
128
132
  - MIT
@@ -147,4 +151,5 @@ rubygems_version: 2.4.7
147
151
  signing_key:
148
152
  specification_version: 4
149
153
  summary: Remix your javascript
150
- test_files: []
154
+ test_files:
155
+ - spec/hello_spec.rb