smock 0.1.209 → 0.1.210

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.
Files changed (4) hide show
  1. data/Dockerfile +62 -0
  2. data/Gemfile.lock +1 -1
  3. data/package.json +7 -0
  4. metadata +5 -3
data/Dockerfile ADDED
@@ -0,0 +1,62 @@
1
+ FROM buildpack-deps:jessie
2
+ MAINTAINER Envato Studio <studio.dev@envato.com>
3
+
4
+ # Install Node.js
5
+ RUN apt-get update && apt-get install -y ca-certificates curl
6
+
7
+ # Verify gpg and sha256: http://nodejs.org/dist/v0.10.31/SHASUMS256.txt.asc
8
+ # gpg: aka "Timothy J Fontaine (Work) <tj.fontaine@joyent.com>"
9
+ RUN gpg --keyserver pool.sks-keyservers.net --recv-keys 7937DFD2AB06298B2293C3187D33FF9D0246406D
10
+
11
+ ENV NODE_VERSION 0.10.35
12
+ ENV NPM_VERSION 2.1.18
13
+
14
+ RUN curl -SLO "http://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.gz" \
15
+ && curl -SLO "http://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" \
16
+ && gpg --verify SHASUMS256.txt.asc \
17
+ && grep " node-v$NODE_VERSION-linux-x64.tar.gz\$" SHASUMS256.txt.asc | sha256sum -c - \
18
+ && tar -xzf "node-v$NODE_VERSION-linux-x64.tar.gz" -C /usr/local --strip-components=1 \
19
+ && rm "node-v$NODE_VERSION-linux-x64.tar.gz" SHASUMS256.txt.asc \
20
+ && npm install -g npm@"$NPM_VERSION" \
21
+ && npm cache clear
22
+
23
+ # Install Ruby
24
+ RUN apt-get update && apt-get install -y curl procps && rm -rf /var/lib/apt/lists/*
25
+
26
+ ENV RUBY_MAJOR 2.2
27
+ ENV RUBY_VERSION 2.2.0
28
+
29
+ # some of ruby's build scripts are written in ruby
30
+ # we purge this later to make sure our final image uses what we just built
31
+ RUN apt-get update \
32
+ && apt-get install -y bison ruby \
33
+ && rm -rf /var/lib/apt/lists/* \
34
+ && mkdir -p /usr/src/ruby \
35
+ && curl -SL "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.bz2" \
36
+ | tar -xjC /usr/src/ruby --strip-components=1 \
37
+ && cd /usr/src/ruby \
38
+ && autoconf \
39
+ && ./configure --disable-install-doc \
40
+ && make -j"$(nproc)" \
41
+ && apt-get purge -y --auto-remove bison ruby \
42
+ && make install \
43
+ && rm -r /usr/src/ruby
44
+
45
+ # skip installing gem documentation
46
+ RUN echo 'gem: --no-rdoc --no-ri' >> "$HOME/.gemrc"
47
+
48
+ # install things globally, for great justice
49
+ ENV GEM_HOME /usr/local/bundle
50
+ ENV PATH $GEM_HOME/bin:$PATH
51
+ RUN gem install bundler \
52
+ && bundle config --global path "$GEM_HOME" \
53
+ && bundle config --global bin "$GEM_HOME/bin"
54
+
55
+ # don't create ".bundle" in all our apps
56
+ ENV BUNDLE_APP_CONFIG $GEM_HOME
57
+
58
+ # Done.
59
+ RUN mkdir -p /Code
60
+ WORKDIR /Code
61
+
62
+ CMD [ "node", "irb" ]
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- smock (0.1.209)
4
+ smock (0.1.210)
5
5
  sass (= 3.2.19)
6
6
  thor (= 0.19.1)
7
7
 
data/package.json ADDED
@@ -0,0 +1,7 @@
1
+ {
2
+ "private": true,
3
+ "devDependencies": {
4
+ "webpack": "~1.4.15"
5
+ "coffee-script": "~1.8.0"
6
+ }
7
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.209
4
+ version: 0.1.210
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -120,6 +120,7 @@ extra_rdoc_files: []
120
120
  files:
121
121
  - .gitignore
122
122
  - .ruby-version
123
+ - Dockerfile
123
124
  - Gemfile
124
125
  - Gemfile.lock
125
126
  - LICENSE
@@ -2024,6 +2025,7 @@ files:
2024
2025
  - original_svg_images/svg__description.svg
2025
2026
  - original_svg_images/svg__mail.svg
2026
2027
  - original_svg_images/svg__thumb.svg
2028
+ - package.json
2027
2029
  - smock.gemspec
2028
2030
  - webpack.config.js
2029
2031
  - webpack.config.min.js
@@ -2042,7 +2044,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
2042
2044
  version: '0'
2043
2045
  segments:
2044
2046
  - 0
2045
- hash: 1705961718274937895
2047
+ hash: -2153781534507009554
2046
2048
  required_rubygems_version: !ruby/object:Gem::Requirement
2047
2049
  none: false
2048
2050
  requirements:
@@ -2051,7 +2053,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
2051
2053
  version: '0'
2052
2054
  segments:
2053
2055
  - 0
2054
- hash: 1705961718274937895
2056
+ hash: -2153781534507009554
2055
2057
  requirements: []
2056
2058
  rubyforge_project: smock
2057
2059
  rubygems_version: 1.8.21